jose-0.1.27.0: Javascript Object Signing and Encryption

Safe HaskellNone

Crypto.JOSE.Types

Description

Data types for the JOSE library.

Synopsis

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.

newtype Base64UrlString Source

A base64url encoded string. This is used for the JWE Agreement PartyUInfo and Agreement PartyVInfo fields.

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 

newtype Base64SHA256 Source

A base64url encoded SHA-256 digest. Used for X.509 certificate thumbprints.

Constructors

Base64SHA256 ByteString 

newtype Base64X509 Source

A base64 encoded X.509 certificate.

Constructors

Base64X509 X509 

newtype URI Source

A URI. Used for X.509 certificate and JWK Set URLs.

Constructors

URI URI