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

Safe HaskellNone
LanguageHaskell98

Crypto.JOSE.JWK

Contents

Description

A JSON Web Key (JWK) is a JavaScript Object Notation (JSON) data structure that represents a cryptographic key. This module also defines a JSON Web Key Set (JWK Set) JSON data structure for representing a set of JWKs.

Synopsis

Documentation

data JWK Source

JWK §3. JSON Web Key (JWK) Format

newtype JWKSet Source

JWK §4. JSON Web Key Set (JWK Set) Format

Constructors

JWKSet [JWK] 

"kty" (Key Type) Parameter Values

data EC Source

Elliptic Curve key type (Recommeded+)

Constructors

EC 

Instances

data RSA Source

RSA key type (Required)

Constructors

RSA 

data Oct Source

Octet sequence (symmetric key) key type (Required)

Constructors

Oct 

Parameters for Elliptic Curve Keys

Parameters for RSA Keys

Parameters for Symmetric Keys

data KeyMaterialGenParam Source

Keygen parameters.