webauthn-0.1.0.0: Relying party (server) implementation of the WebAuthn 2 specification
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Crypto.WebAuthn.AttestationStatementFormat.Packed

Description

This module implements the Packed Attestation Statement Format.

Synopsis

Documentation

format :: SomeAttestationStatementFormat Source #

Helper function that wraps the Packed format into the general SomeAttestationStatementFormat type.

data VerificationError Source #

Verification errors specific to Packed attestation

Constructors

VerificationErrorAlgorithmMismatch

The Algorithm from the attestation format does not match the algorithm of the key in the credential data

VerificationErrorInvalidSignature Text

The statement key cannot verify the signature over the attested credential data and client data for self attestation

VerificationErrorVerificationFailure SignatureFailure

The statement certificate cannot verify the signature over the attested credential data and client data for nonself attestation

VerificationErrorCertificateRequirementsUnmet

The certificate does not meet the requirements layed out in the webauthn specification https://www.w3.org/TR/webauthn-2/#sctn-packed-attestation-cert-requirements

VerificationErrorASN1Error ASN1Error

The (supposedly) ASN1 encoded certificate extension could not be decoded

VerificationErrorCredentialAAGUIDMissing

The certificate extension does not contain a AAGUID

VerificationErrorCertificateAAGUIDMismatch

The AAGUID in the certificate extension does not match the AAGUID in the authenticator data