Stability | experimental |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Type definitions directly corresponding to the FIDO Metadata Service specification.
Synopsis
- newtype AAGUID = AAGUID DOMString
- data CodeAccuracyDescriptor = CodeAccuracyDescriptor {}
- data BiometricAccuracyDescriptor = BiometricAccuracyDescriptor {}
- data PatternAccuracyDescriptor = PatternAccuracyDescriptor {}
- data VerificationMethodDescriptor = VerificationMethodDescriptor {}
- newtype VerificationMethodANDCombinations = VerificationMethodANDCombinations (NonEmpty VerificationMethodDescriptor)
- data RgbPaletteEntry = RgbPaletteEntry {
- r :: UnsignedShort
- g :: UnsignedShort
- b :: UnsignedShort
- data DisplayPNGCharacteristicsDescriptor = DisplayPNGCharacteristicsDescriptor {
- width :: UnsignedLong
- height :: UnsignedLong
- bitDepth :: Octet
- colorType :: Octet
- compression :: Octet
- filter :: Octet
- interlace :: Octet
- plte :: Maybe (NonEmpty RgbPaletteEntry)
- data EcdaaTrustAnchor = EcdaaTrustAnchor {}
- data ExtensionDescriptor = ExtensionDescriptor {}
- newtype AlternativeDescriptions = AlternativeDescriptions (Map Text DOMString)
- newtype AuthenticatorGetInfo = AuthenticatorGetInfo (Map Text Value)
- data ProtocolFamily
- data MetadataStatement = MetadataStatement {
- legalHeader :: DOMString
- aaid :: Maybe AAID
- aaguid :: Maybe AAGUID
- attestationCertificateKeyIdentifiers :: Maybe (NonEmpty KeyIdentifier)
- description :: DOMString
- alternativeDescriptions :: Maybe AlternativeDescriptions
- authenticatorVersion :: UnsignedLong
- protocolFamily :: ProtocolFamily
- schema :: UnsignedShort
- upv :: NonEmpty Version
- authenticationAlgorithms :: NonEmpty AuthenticationAlgorithm
- publicKeyAlgAndEncodings :: NonEmpty PublicKeyRepresentationFormat
- attestationTypes :: NonEmpty AuthenticatorAttestationType
- userVerificationDetails :: NonEmpty VerificationMethodANDCombinations
- keyProtection :: NonEmpty KeyProtectionType
- isKeyRestricted :: Maybe Boolean
- isFreshUserVerificationRequired :: Maybe Boolean
- matcherProtection :: NonEmpty MatcherProtectionType
- cryptoStrength :: Maybe UnsignedShort
- attachmentHint :: NonEmpty AuthenticatorAttachmentHint
- tcDisplay :: [TransactionConfirmationDisplayType]
- tcDisplayContentType :: Maybe DOMString
- tcDisplayPNGCharacteristics :: Maybe (NonEmpty DisplayPNGCharacteristicsDescriptor)
- attestationRootCertificates :: [DOMString]
- ecdaaTrustAnchors :: Maybe (NonEmpty EcdaaTrustAnchor)
- icon :: Maybe DOMString
- supportedExtensions :: Maybe (NonEmpty ExtensionDescriptor)
- authenticatorGetInfo :: Maybe AuthenticatorGetInfo
Types
data CodeAccuracyDescriptor Source #
Instances
data BiometricAccuracyDescriptor Source #
Instances
data PatternAccuracyDescriptor Source #
PatternAccuracyDescriptor | |
|
Instances
data VerificationMethodDescriptor Source #
Instances
newtype VerificationMethodANDCombinations Source #
data RgbPaletteEntry Source #
Instances
data DisplayPNGCharacteristicsDescriptor Source #
Instances
data EcdaaTrustAnchor Source #
Instances
data ExtensionDescriptor Source #
Instances
newtype AlternativeDescriptions Source #
(spec) TODO: Replace Text with https://hackage.haskell.org/package/aeson-2.0.2.0/docs/Data-Aeson-Key.html#t:Key when updating aeson. Updating aeson is currently blocked by https://github.com/fumieval/deriving-aeson/issues/16.
Instances
newtype AuthenticatorGetInfo Source #
Instances
FromJSON AuthenticatorGetInfo Source # | |
Defined in Crypto.WebAuthn.Metadata.Statement.WebIDL parseJSON :: Value -> Parser AuthenticatorGetInfo # parseJSONList :: Value -> Parser [AuthenticatorGetInfo] # | |
ToJSON AuthenticatorGetInfo Source # | |
Defined in Crypto.WebAuthn.Metadata.Statement.WebIDL toJSON :: AuthenticatorGetInfo -> Value # toEncoding :: AuthenticatorGetInfo -> Encoding # toJSONList :: [AuthenticatorGetInfo] -> Value # toEncodingList :: [AuthenticatorGetInfo] -> Encoding # | |
Show AuthenticatorGetInfo Source # | |
Defined in Crypto.WebAuthn.Metadata.Statement.WebIDL showsPrec :: Int -> AuthenticatorGetInfo -> ShowS # show :: AuthenticatorGetInfo -> String # showList :: [AuthenticatorGetInfo] -> ShowS # | |
Eq AuthenticatorGetInfo Source # | |
Defined in Crypto.WebAuthn.Metadata.Statement.WebIDL (==) :: AuthenticatorGetInfo -> AuthenticatorGetInfo -> Bool # (/=) :: AuthenticatorGetInfo -> AuthenticatorGetInfo -> Bool # |
data ProtocolFamily Source #
Possible FIDO protocol families for $sel:protocolFamily:MetadataStatement
Instances
Metadata Statement
data MetadataStatement Source #