jose-0.11: JSON Object Signing and Encryption (JOSE) and JSON Web Token (JWT) library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Crypto.JOSE.JWA.JWE.Alg

Description

JSON Web Encryption algorithms.

Synopsis

Documentation

data Alg Source #

RFC 7518 §4.1. "alg" (Algorithm) Header Parameter Values for JWE

This section is shuffled off into its own module to avoid circular import via Crypto.JOSE.JWK, which needs Alg.

Instances

Instances details
FromJSON Alg Source # 
Instance details

Defined in Crypto.JOSE.JWA.JWE.Alg

ToJSON Alg Source # 
Instance details

Defined in Crypto.JOSE.JWA.JWE.Alg

Show Alg Source # 
Instance details

Defined in Crypto.JOSE.JWA.JWE.Alg

Methods

showsPrec :: Int -> Alg -> ShowS #

show :: Alg -> String #

showList :: [Alg] -> ShowS #

Eq Alg Source # 
Instance details

Defined in Crypto.JOSE.JWA.JWE.Alg

Methods

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

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

Ord Alg Source # 
Instance details

Defined in Crypto.JOSE.JWA.JWE.Alg

Methods

compare :: Alg -> Alg -> Ordering #

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

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

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

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

max :: Alg -> Alg -> Alg #

min :: Alg -> Alg -> Alg #