jose-jwt-0.10.0: JSON Object Signing and Encryption Library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Jose.Jwa

Synopsis

Documentation

data Alg Source #

General representation of the alg JWT header value.

Constructors

Signed JwsAlg 
Encrypted JweAlg 

Instances

Instances details
FromJSON Alg Source # 
Instance details

Defined in Jose.Jwa

ToJSON Alg Source # 
Instance details

Defined in Jose.Jwa

Show Alg Source # 
Instance details

Defined in Jose.Jwa

Methods

showsPrec :: Int -> Alg -> ShowS #

show :: Alg -> String #

showList :: [Alg] -> ShowS #

Eq Alg Source # 
Instance details

Defined in Jose.Jwa

Methods

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

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

data JwsAlg Source #

A subset of the signature algorithms from the JWA Spec.

Instances

Instances details
FromJSON JwsAlg Source # 
Instance details

Defined in Jose.Jwa

ToJSON JwsAlg Source # 
Instance details

Defined in Jose.Jwa

Read JwsAlg Source # 
Instance details

Defined in Jose.Jwa

Show JwsAlg Source # 
Instance details

Defined in Jose.Jwa

Eq JwsAlg Source # 
Instance details

Defined in Jose.Jwa

Methods

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

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

data JweAlg Source #

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

Instances

Instances details
FromJSON JweAlg Source # 
Instance details

Defined in Jose.Jwa

ToJSON JweAlg Source # 
Instance details

Defined in Jose.Jwa

Read JweAlg Source # 
Instance details

Defined in Jose.Jwa

Show JweAlg Source # 
Instance details

Defined in Jose.Jwa

Eq JweAlg Source # 
Instance details

Defined in Jose.Jwa

Methods

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

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

data Enc Source #

Content encryption algorithms from the JWA Spec.

Instances

Instances details
FromJSON Enc Source # 
Instance details

Defined in Jose.Jwa

ToJSON Enc Source # 
Instance details

Defined in Jose.Jwa

Show Enc Source # 
Instance details

Defined in Jose.Jwa

Methods

showsPrec :: Int -> Enc -> ShowS #

show :: Enc -> String #

showList :: [Enc] -> ShowS #

Eq Enc Source # 
Instance details

Defined in Jose.Jwa

Methods

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

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