Stability | experimental |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module concerns identification of authenticatiors, notably AAGUID
,
SubjectKeyIdentifier
and a generic identifier type AuthenticatorIdentifier
Synopsis
- data AuthenticatorIdentifier (p :: ProtocolKind) where
- newtype AAGUID = AAGUID {}
- newtype SubjectKeyIdentifier = SubjectKeyIdentifier {}
Documentation
data AuthenticatorIdentifier (p :: ProtocolKind) where Source #
A way to identify an authenticator
AuthenticatorIdentifierFido2 | (spec) A known FIDO2 authenticator,
identified by a |
| |
AuthenticatorIdentifierFidoU2F | (spec) A known FIDO U2F authenticator,
identified by a |
Instances
ToJSON (AuthenticatorIdentifier p) Source # | |
Defined in Crypto.WebAuthn.Model.Identifier toJSON :: AuthenticatorIdentifier p -> Value # toEncoding :: AuthenticatorIdentifier p -> Encoding # toJSONList :: [AuthenticatorIdentifier p] -> Value # toEncodingList :: [AuthenticatorIdentifier p] -> Encoding # | |
Show (AuthenticatorIdentifier p) Source # | |
Defined in Crypto.WebAuthn.Model.Identifier showsPrec :: Int -> AuthenticatorIdentifier p -> ShowS # show :: AuthenticatorIdentifier p -> String # showList :: [AuthenticatorIdentifier p] -> ShowS # | |
Eq (AuthenticatorIdentifier p) Source # | |
Defined in Crypto.WebAuthn.Model.Identifier (==) :: AuthenticatorIdentifier p -> AuthenticatorIdentifier p -> Bool # (/=) :: AuthenticatorIdentifier p -> AuthenticatorIdentifier p -> Bool # |
newtype SubjectKeyIdentifier Source #
(spec) This type represents method 1 of computing the identifier, as used in the attestationCertificateKeyIdentifiers field of the Metadata Service
Instances
ToJSON SubjectKeyIdentifier Source # | |
Defined in Crypto.WebAuthn.Model.Identifier toJSON :: SubjectKeyIdentifier -> Value # toEncoding :: SubjectKeyIdentifier -> Encoding # toJSONList :: [SubjectKeyIdentifier] -> Value # toEncodingList :: [SubjectKeyIdentifier] -> Encoding # | |
Show SubjectKeyIdentifier Source # | |
Defined in Crypto.WebAuthn.Model.Identifier showsPrec :: Int -> SubjectKeyIdentifier -> ShowS # show :: SubjectKeyIdentifier -> String # showList :: [SubjectKeyIdentifier] -> ShowS # | |
Eq SubjectKeyIdentifier Source # | |
Defined in Crypto.WebAuthn.Model.Identifier (==) :: SubjectKeyIdentifier -> SubjectKeyIdentifier -> Bool # (/=) :: SubjectKeyIdentifier -> SubjectKeyIdentifier -> Bool # | |
Hashable SubjectKeyIdentifier Source # | |
Defined in Crypto.WebAuthn.Model.Identifier hashWithSalt :: Int -> SubjectKeyIdentifier -> Int # hash :: SubjectKeyIdentifier -> Int # |