*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: fido_assert_verify | Section: 3 | Source: OpenBSD | File: fido_assert_verify.3
FIDO_ASSERT_VERIFY(3) FreeBSD Library Functions Manual FIDO_ASSERT_VERIFY(3) NAME fido_assert_verify - verifies the signature of a FIDO2 assertion statement SYNOPSIS #include <fido.h> int fido_assert_verify(const fido_assert_t *assert, size_t idx, int cose_alg, const void *pk); DESCRIPTION The fido_assert_verify() function verifies whether the signature contained in statement index idx of assert matches the parameters of the assertion. Before using fido_assert_verify() in a sensitive context, the reader is strongly encouraged to make herself familiar with the FIDO2 assertion statement process as defined in the Web Authentication (webauthn) standard. A brief description follows: The fido_assert_verify() function verifies whether the client data hash, relying party ID, user presence and user verification attributes of assert have been attested by the holder of the private counterpart of the public key pk of COSE type cose_alg, where cose_alg is COSE_ES256, COSE_RS256, or COSE_EDDSA, and pk points to a es256_pk_t, rs256_pk_t, or eddsa_pk_t type accordingly. Please note that the first statement in assert has an idx of 0. RETURN VALUES The error codes returned by fido_assert_verify() are defined in <fido/err.h>. If statement idx of assert passes verification with pk, then FIDO_OK is returned. SEE ALSO fido_assert_new(3), fido_assert_set_authdata(3) FreeBSD 14.1-RELEASE-p8 August 29, 2022 FreeBSD 14.1-RELEASE-p8

Navigation Options