webauthn-0.5.0.1: Relying party (server) implementation of the WebAuthn 2 specification
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Crypto.WebAuthn.Model.Identifier

Description

This module concerns identification of authenticatiors, notably AAGUID, SubjectKeyIdentifier and a generic identifier type AuthenticatorIdentifier

Synopsis

Documentation

data AuthenticatorIdentifier (p :: ProtocolKind) where Source #

A way to identify an authenticator

Constructors

AuthenticatorIdentifierFido2

(spec) A known FIDO2 authenticator, identified by a AAGUID. Note that the AAGUID may be zero, meaning that we were able to verify that the public key credential. was generated by a trusted authenticator, but we don't know which model it is.

Fields

AuthenticatorIdentifierFidoU2F

(spec) A known FIDO U2F authenticator, identified by a SubjectKeyIdentifier. Clients that don't implement CTAP2 (which is used to communicate with FIDO2 authenticators) will use U2F to communicate with the authenticator instead, which doesn't have support for AAGUIDs.

newtype AAGUID Source #

Constructors

AAGUID 

Fields

Instances

Instances details
ToJSON AAGUID Source # 
Instance details

Defined in Crypto.WebAuthn.Model.Identifier

Show AAGUID Source # 
Instance details

Defined in Crypto.WebAuthn.Model.Identifier

Eq AAGUID Source # 
Instance details

Defined in Crypto.WebAuthn.Model.Identifier

Methods

(==) :: AAGUID -> AAGUID -> Bool #

(/=) :: AAGUID -> AAGUID -> Bool #

Hashable AAGUID Source # 
Instance details

Defined in Crypto.WebAuthn.Model.Identifier

Methods

hashWithSalt :: Int -> AAGUID -> Int #

hash :: AAGUID -> Int #