GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FIDO_CRED_VERIFY(3) FreeBSD Library Functions Manual FIDO_CRED_VERIFY(3)

fido_cred_verify, fido_cred_verify_selfverify the attestation signature of a FIDO2 credential

#include <fido.h>

int
fido_cred_verify(const fido_cred_t *cred);

int
fido_cred_verify_self(const fido_cred_t *cred);

The () and fido_cred_verify_self() functions verify whether the attestation signature contained in cred matches the attributes of the credential. Before using fido_cred_verify() or fido_cred_verify_self() in a sensitive context, the reader is strongly encouraged to make herself familiar with the FIDO2 credential attestation process as defined in the Web Authentication (webauthn) standard.

The () function verifies whether the client data hash, relying party ID, credential ID, type, protection policy, minimum PIN length, and resident/discoverable key and user verification attributes of cred have been attested by the holder of the private counterpart of the public key contained in the credential's x509 certificate.

Please note that the x509 certificate itself is not verified.

The attestation statement formats supported by () are packed, fido-u2f, and . The attestation type implemented by fido_cred_verify() is .

The () function verifies whether the client data hash, relying party ID, credential ID, type, protection policy, minimum PIN length, and resident/discoverable key and user verification attributes of cred have been attested by the holder of the credential's private key.

The attestation statement formats supported by () are packed and fido-u2f. The attestation type implemented by fido_cred_verify_self() is .

Other attestation formats and types are not supported.

The error codes returned by fido_cred_verify() and fido_cred_verify_self() are defined in <fido/err.h>. If cred passes verification, then FIDO_OK is returned.

fido_cred_new(3), fido_cred_set_authdata(3)

May 23, 2018 FreeBSD 14.3-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.