jose-0.3.41.1: Javascript Object Signing and Encryption and JSON Web Token library

Safe HaskellNone
LanguageHaskell98

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.

data URI :: *

Represents a general universal resource identifier using its component parts.

For example, for the URI

  foo://anonymous@www.haskell.org:42/ghc?query#frag

the components are: