| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Crypto.JOSE.Types
Description
Data types for the JOSE library.
- newtype Base64Integer = Base64Integer Integer
- data SizedBase64Integer = SizedBase64Integer Int Integer
- newtype Base64UrlString = Base64UrlString ByteString
- newtype Base64Octets = Base64Octets ByteString
- newtype Base64SHA1 = Base64SHA1 ByteString
- newtype Base64SHA256 = Base64SHA256 ByteString
- newtype Base64X509 = Base64X509 X509
- data URI :: *
Documentation
newtype Base64Integer Source
A base64url encoded octet sequence interpreted as an integer.
Constructors
| Base64Integer Integer |
data SizedBase64Integer Source
A base64url encoded octet sequence interpreted as an integer and where the number of octets carries explicit bit-length information.
Constructors
| SizedBase64Integer Int Integer |
newtype Base64UrlString Source
A base64url encoded string. This is used for the JWE Agreement PartyUInfo and Agreement PartyVInfo fields.
Constructors
| Base64UrlString ByteString |
newtype Base64Octets Source
A base64url encoded octet sequence. Used for payloads, signatures, symmetric keys, salts, initialisation vectors, etc.
Constructors
| Base64Octets ByteString |
newtype Base64SHA1 Source
A base64url encoded SHA-1 digest. Used for X.509 certificate thumbprints.
Constructors
| Base64SHA1 ByteString |
Instances
newtype Base64SHA256 Source
A base64url encoded SHA-256 digest. Used for X.509 certificate thumbprints.
Constructors
| Base64SHA256 ByteString |