webauthn-0.6.0.1: Relying party (server) implementation of the WebAuthn 2 specification
Stabilityexperimental
Safe HaskellSafe-Inferred
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

AlgorithmMismatch

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

Fields

InvalidSignature Text

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

VerificationFailure SignatureFailure

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

CertificateRequirementsUnmet

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

CertificateAAGUIDMismatch

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

Fields