jose-0.9: JSON Object Signing and Encryption (JOSE) and JSON Web Token (JWT) library
Safe HaskellNone
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
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 #

Show Alg Source # 
Instance details

Defined in Crypto.JOSE.JWA.JWE.Alg

Methods

showsPrec :: Int -> Alg -> ShowS #

show :: Alg -> String #

showList :: [Alg] -> ShowS #

ToJSON Alg Source # 
Instance details

Defined in Crypto.JOSE.JWA.JWE.Alg

FromJSON Alg Source # 
Instance details

Defined in Crypto.JOSE.JWA.JWE.Alg