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

Crypto.WebAuthn.Metadata.Statement.Types

Description

This module contains additional Haskell-specific type definitions for the FIDO Metadata Statement specification

Synopsis

Documentation

data MetadataStatement Source #

Instances

Instances details
ToJSON MetadataStatement Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

Generic MetadataStatement Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

Associated Types

type Rep MetadataStatement :: Type -> Type #

Show MetadataStatement Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

Eq MetadataStatement Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

type Rep MetadataStatement Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

type Rep MetadataStatement = D1 ('MetaData "MetadataStatement" "Crypto.WebAuthn.Metadata.Statement.Types" "webauthn-0.4.1.2-inplace" 'False) (C1 ('MetaCons "MetadataStatement" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "msLegalHeader") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "msDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "msAlternativeDescriptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AlternativeDescriptions)) :*: (S1 ('MetaSel ('Just "msAuthenticatorVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word32) :*: S1 ('MetaSel ('Just "msUpv") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty Version))))) :*: ((S1 ('MetaSel ('Just "msAuthenticationAlgorithms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty AuthenticationAlgorithm)) :*: (S1 ('MetaSel ('Just "msPublicKeyAlgAndEncodings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty PublicKeyRepresentationFormat)) :*: S1 ('MetaSel ('Just "msAttestationTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty WebauthnAttestationType)))) :*: (S1 ('MetaSel ('Just "msUserVerificationDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty VerificationMethodANDCombinations)) :*: (S1 ('MetaSel ('Just "msKeyProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty KeyProtectionType)) :*: S1 ('MetaSel ('Just "msIsKeyRestricted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)))))) :*: (((S1 ('MetaSel ('Just "msIsFreshUserVerificationRequired") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "msMatcherProtection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty MatcherProtectionType))) :*: (S1 ('MetaSel ('Just "msCryptoStrength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Word16)) :*: (S1 ('MetaSel ('Just "msAttachmentHint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty AuthenticatorAttachmentHint)) :*: S1 ('MetaSel ('Just "msTcDisplay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [TransactionConfirmationDisplayType])))) :*: ((S1 ('MetaSel ('Just "msTcDisplayContentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "msTcDisplayPNGCharacteristics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty DisplayPNGCharacteristicsDescriptor))) :*: S1 ('MetaSel ('Just "msAttestationRootCertificates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (NonEmpty SignedCertificate)))) :*: (S1 ('MetaSel ('Just "msIcon") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe ByteString)) :*: (S1 ('MetaSel ('Just "msSupportedExtensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (NonEmpty ExtensionDescriptor))) :*: S1 ('MetaSel ('Just "msAuthenticatorGetInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe AuthenticatorGetInfo))))))))

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

Instances

Instances details
ToJSON WebauthnAttestationType Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

Generic WebauthnAttestationType Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

Associated Types

type Rep WebauthnAttestationType :: Type -> Type #

Show WebauthnAttestationType Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

Eq WebauthnAttestationType Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

type Rep WebauthnAttestationType Source # 
Instance details

Defined in Crypto.WebAuthn.Metadata.Statement.Types

type Rep WebauthnAttestationType = D1 ('MetaData "WebauthnAttestationType" "Crypto.WebAuthn.Metadata.Statement.Types" "webauthn-0.4.1.2-inplace" 'False) (C1 ('MetaCons "WebauthnAttestationBasic" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "WebauthnAttestationAttCA" 'PrefixI 'False) (U1 :: Type -> Type))