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

Safe HaskellNone
LanguageHaskell98

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
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