jose-jwt-0.9.0: JSON Object Signing and Encryption Library
Safe HaskellNone
LanguageHaskell2010

Jose.Jwa

Synopsis

Documentation

data Alg Source #

General representation of the alg JWT header value.

Constructors

Signed JwsAlg 
Encrypted JweAlg 

Instances

Instances details
Eq Alg Source # 
Instance details

Defined in Jose.Jwa

Methods

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

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

Show Alg Source # 
Instance details

Defined in Jose.Jwa

Methods

showsPrec :: Int -> Alg -> ShowS #

show :: Alg -> String #

showList :: [Alg] -> ShowS #

ToJSON Alg Source # 
Instance details

Defined in Jose.Jwa

FromJSON Alg Source # 
Instance details

Defined in Jose.Jwa

data JwsAlg Source #

A subset of the signature algorithms from the JWA Spec.

Instances

Instances details
Eq JwsAlg Source # 
Instance details

Defined in Jose.Jwa

Methods

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

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

Read JwsAlg Source # 
Instance details

Defined in Jose.Jwa

Show JwsAlg Source # 
Instance details

Defined in Jose.Jwa

ToJSON JwsAlg Source # 
Instance details

Defined in Jose.Jwa

FromJSON JwsAlg Source # 
Instance details

Defined in Jose.Jwa

data JweAlg Source #

A subset of the key management algorithms from the JWA Spec.

Instances

Instances details
Eq JweAlg Source # 
Instance details

Defined in Jose.Jwa

Methods

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

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

Read JweAlg Source # 
Instance details

Defined in Jose.Jwa

Show JweAlg Source # 
Instance details

Defined in Jose.Jwa

ToJSON JweAlg Source # 
Instance details

Defined in Jose.Jwa

FromJSON JweAlg Source # 
Instance details

Defined in Jose.Jwa

data Enc Source #

Content encryption algorithms from the JWA Spec.

Instances

Instances details
Eq Enc Source # 
Instance details

Defined in Jose.Jwa

Methods

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

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

Show Enc Source # 
Instance details

Defined in Jose.Jwa

Methods

showsPrec :: Int -> Enc -> ShowS #

show :: Enc -> String #

showList :: [Enc] -> ShowS #

ToJSON Enc Source # 
Instance details

Defined in Jose.Jwa

FromJSON Enc Source # 
Instance details

Defined in Jose.Jwa