jose-0.8.4: Javascript Object Signing and Encryption and JSON Web Token library
Crypto.JOSE.JWE
data JWEHeader p Source #
Constructors
Fields
Content Type (of object)
Content Type (of payload)
Defined in Crypto.JOSE.JWE
Methods
params :: ProtectionIndicator p => JWEHeader p -> [(Bool, Pair)] Source #
extensions :: Proxy JWEHeader -> [Text] Source #
parseParamsFor :: (HasParams b, ProtectionIndicator p) => Proxy b -> Maybe Object -> Maybe Object -> Parser (JWEHeader p) Source #
(==) :: JWEHeader p -> JWEHeader p -> Bool #
(/=) :: JWEHeader p -> JWEHeader p -> Bool #
showsPrec :: Int -> JWEHeader p -> ShowS #
show :: JWEHeader p -> String #
showList :: [JWEHeader p] -> ShowS #
data JWE a p Source #
Encoded protected header, if available
JWE Initialization Vector
JWE AAD
JWE Ciphertext
JWE Authentication Tag
parseJSON :: Value -> Parser (JWE a p) #
parseJSONList :: Value -> Parser [JWE a p] #