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

Crypto.WebAuthn.AttestationStatementFormat.FidoU2F

Description

This module implements the FIDO U2F Attestation Statement Format.

Synopsis

Documentation

format :: SomeAttestationStatementFormat Source #

Helper function that wraps the Fido U2F format into the general SomeAttestationStatementFormat type.

data VerificationError Source #

Verification errors specific to Fido U2F attestation

Constructors

InvalidCertificatePublicKey PubKey

The public key in the certificate was not an EC Key or the curve was not the p256 curve

NonECDSACredentialPublicKey PublicKey

The credential public key is not an ECDSA key

WrongCoordinateSize Int Int

The x and/or y coordinates of the credential public key don't have a length of 32 bytes

InvalidSignature SignatureFailure

The provided public key cannot validate the signature over the verification data