Stability | internal |
---|---|
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Internal utilities
Synopsis
- jsonEncodingOptions :: Options
- enumJSONEncodingOptions :: String -> Options
- failure :: e -> Validation (NonEmpty e) a
- certificateSubjectKeyIdentifier :: Certificate -> SubjectKeyIdentifier
- newtype IdFidoGenCeAAGUID = IdFidoGenCeAAGUID AAGUID
Documentation
jsonEncodingOptions :: Options Source #
Custom Aeson Options for use in the library. We add a "lit" prefix to every field that would otherwise be a Haskell keyword.
enumJSONEncodingOptions :: String -> Options Source #
Custom JSON Encoding for enumerations, strips the given prefix and maps all constructors to lowercase.
failure :: e -> Validation (NonEmpty e) a Source #
A convenience function for creating a Validation
failure of a single
NonEmpty
value
certificateSubjectKeyIdentifier :: Certificate -> SubjectKeyIdentifier Source #
(spec) Computes the SubjectKeyIdentifier
from a Certificate
according to
method 1 in the above specification.
Note that this function only fails if the ASN1Object
instance of
PubKey
has a bug
newtype IdFidoGenCeAAGUID Source #
The `id-fido-gen-ce-aaguid` contains the AAGUID of the authenticator.
Instances
Show IdFidoGenCeAAGUID Source # | |
Defined in Crypto.WebAuthn.Internal.Utils showsPrec :: Int -> IdFidoGenCeAAGUID -> ShowS # show :: IdFidoGenCeAAGUID -> String # showList :: [IdFidoGenCeAAGUID] -> ShowS # | |
Eq IdFidoGenCeAAGUID Source # | |
Defined in Crypto.WebAuthn.Internal.Utils (==) :: IdFidoGenCeAAGUID -> IdFidoGenCeAAGUID -> Bool # (/=) :: IdFidoGenCeAAGUID -> IdFidoGenCeAAGUID -> Bool # | |
Extension IdFidoGenCeAAGUID Source # | |
Defined in Crypto.WebAuthn.Internal.Utils extOID :: IdFidoGenCeAAGUID -> OID # extHasNestedASN1 :: Proxy IdFidoGenCeAAGUID -> Bool # extEncode :: IdFidoGenCeAAGUID -> [ASN1] # extDecode :: [ASN1] -> Either String IdFidoGenCeAAGUID # extDecodeBs :: ByteString -> Either String IdFidoGenCeAAGUID # |