Stability | experimental |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
This module contains additional Haskell-specific type definitions for the FIDO Metadata Statement specification
Synopsis
- data MetadataStatement = MetadataStatement {
- msLegalHeader :: Text
- msDescription :: Text
- msAlternativeDescriptions :: Maybe AlternativeDescriptions
- msAuthenticatorVersion :: Word32
- msUpv :: NonEmpty Version
- msAuthenticationAlgorithms :: NonEmpty AuthenticationAlgorithm
- msPublicKeyAlgAndEncodings :: NonEmpty PublicKeyRepresentationFormat
- msAttestationTypes :: NonEmpty WebauthnAttestationType
- msUserVerificationDetails :: NonEmpty VerificationMethodANDCombinations
- msKeyProtection :: NonEmpty KeyProtectionType
- msIsKeyRestricted :: Maybe Bool
- msIsFreshUserVerificationRequired :: Maybe Bool
- msMatcherProtection :: NonEmpty MatcherProtectionType
- msCryptoStrength :: Maybe Word16
- msAttachmentHint :: NonEmpty AuthenticatorAttachmentHint
- msTcDisplay :: [TransactionConfirmationDisplayType]
- msTcDisplayContentType :: Maybe Text
- msTcDisplayPNGCharacteristics :: Maybe (NonEmpty DisplayPNGCharacteristicsDescriptor)
- msAttestationRootCertificates :: NonEmpty SignedCertificate
- msIcon :: Maybe PNGBytes
- msSupportedExtensions :: Maybe (NonEmpty ExtensionDescriptor)
- msAuthenticatorGetInfo :: Maybe AuthenticatorGetInfo
- newtype PNGBytes = PNGBytes {}
- data WebauthnAttestationType
Documentation
data MetadataStatement Source #
Instances
A wrapper for the bytes of a PNG images.
data WebauthnAttestationType Source #
Values of AuthenticatorAttestationType
but limited to the ones possible with Webauthn, see https://www.w3.org/TR/webauthn-2/#sctn-attestation-types