|
NAMEfido_cred_verify —
verifies the attestation signature of a FIDO 2 credential
SYNOPSIS#include <fido.h>
int
DESCRIPTIONThefido_cred_verify () function verifies whether the
attestation signature contained in cred matches the
attributes of the credential. Before using
fido_cred_verify () in a sensitive context, the reader
is strongly encouraged to make herself familiar with the FIDO 2 credential
attestation process as defined in the Web Authentication (webauthn) standard.
A brief description follows: The Please note that the x509 certificate itself is not verified. The attestation statement formats supported by
RETURN VALUESThe error codes returned byfido_cred_verify () are
defined in <fido/err.h> . If
cred does not contain attestation data, then
FIDO_ERR_INVALID_ARGUMENT is returned. If
cred passes verification, then
FIDO_OK is returned.
SEE ALSOfido_cred_new(3), fido_cred_set_authdata(3)
Visit the GSP FreeBSD Man Page Interface. |