| Stability | experimental |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Crypto.WebAuthn.Metadata.UAF
Description
Types related to the FIDO UAF Protocol as defined in the relevant (spec)
Synopsis
- newtype AAID = AAID Text
- newtype KeyIdentifier = KeyIdentifier Text
- data Version = Version {}
Documentation
newtype KeyIdentifier Source #
Hex string, this value MUST be calculated according to method 1 for computing the keyIdentifier as defined in RFC5280 section 4.2.1.2.
Constructors
| KeyIdentifier Text |
Instances
| FromJSON KeyIdentifier Source # | |
Defined in Crypto.WebAuthn.Metadata.UAF Methods parseJSON :: Value -> Parser KeyIdentifier # parseJSONList :: Value -> Parser [KeyIdentifier] # | |
| ToJSON KeyIdentifier Source # | |
Defined in Crypto.WebAuthn.Metadata.UAF Methods toJSON :: KeyIdentifier -> Value # toEncoding :: KeyIdentifier -> Encoding # toJSONList :: [KeyIdentifier] -> Value # toEncodingList :: [KeyIdentifier] -> Encoding # | |
| Show KeyIdentifier Source # | |
Defined in Crypto.WebAuthn.Metadata.UAF Methods showsPrec :: Int -> KeyIdentifier -> ShowS # show :: KeyIdentifier -> String # showList :: [KeyIdentifier] -> ShowS # | |
| Eq KeyIdentifier Source # | |
Defined in Crypto.WebAuthn.Metadata.UAF Methods (==) :: KeyIdentifier -> KeyIdentifier -> Bool # (/=) :: KeyIdentifier -> KeyIdentifier -> Bool # | |
Constructors
| Version | |
Fields | |
Instances
| FromJSON Version Source # | |
| ToJSON Version Source # | |
Defined in Crypto.WebAuthn.Metadata.UAF | |
| Generic Version Source # | |
| Show Version Source # | |
| Eq Version Source # | |
| type Rep Version Source # | |
Defined in Crypto.WebAuthn.Metadata.UAF type Rep Version = D1 ('MetaData "Version" "Crypto.WebAuthn.Metadata.UAF" "webauthn-0.7.0.0-inplace" 'False) (C1 ('MetaCons "Version" 'PrefixI 'True) (S1 ('MetaSel ('Just "major") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnsignedShort) :*: S1 ('MetaSel ('Just "minor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 UnsignedShort))) | |