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

Safe HaskellNone
LanguageHaskell98

Crypto.JOSE.JWA.JWE

Description

JSON Web Encryption data types specified under JSON Web Algorithms.

Synopsis

Documentation

data ECDHParameters Source #

RFC 7518 §4.6.1. Header Parameters Used for ECDH Key Agreement

Constructors

ECDHParameters 

Fields

data AESGCMParameters Source #

RFC 7518 §4.7.1. Header Parameters Used for AES GCM Key Encryption

Constructors

AESGCMParameters 

Fields

data PBES2Parameters Source #

RFC 7518 §4.8.1. Header Parameters Used for PBES2 Key Encryption

Constructors

PBES2Parameters 

Fields

data Enc Source #

RFC 7518 §5 Cryptographic Algorithms for Content Encryption

Instances

Eq Enc Source # 

Methods

(==) :: Enc -> Enc -> Bool #

(/=) :: Enc -> Enc -> Bool #

Ord Enc Source # 

Methods

compare :: Enc -> Enc -> Ordering #

(<) :: Enc -> Enc -> Bool #

(<=) :: Enc -> Enc -> Bool #

(>) :: Enc -> Enc -> Bool #

(>=) :: Enc -> Enc -> Bool #

max :: Enc -> Enc -> Enc #

min :: Enc -> Enc -> Enc #

Show Enc Source # 

Methods

showsPrec :: Int -> Enc -> ShowS #

show :: Enc -> String #

showList :: [Enc] -> ShowS #

ToJSON Enc Source # 

Methods

toJSON :: Enc -> Value #

toEncoding :: Enc -> Encoding #

FromJSON Enc Source # 

Methods

parseJSON :: Value -> Parser Enc #