jose-0.7.0.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 # 

Methods

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

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

Ord Alg Source # 

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 # 

Methods

showsPrec :: Int -> Alg -> ShowS #

show :: Alg -> String #

showList :: [Alg] -> ShowS #

ToJSON Alg Source # 

Methods

toJSON :: Alg -> Value #

toEncoding :: Alg -> Encoding #

FromJSON Alg Source # 

Methods

parseJSON :: Value -> Parser Alg #