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 :: forall (b :: Type -> Type) p. (HasParams b, ProtectionIndicator p) => Proxy b -> Maybe Object -> Maybe Object -> Parser (JWEHeader p) Source #
showsPrec :: Int -> JWEHeader p -> ShowS #
show :: JWEHeader p -> String #
showList :: [JWEHeader p] -> ShowS #
(==) :: JWEHeader p -> JWEHeader p -> Bool #
(/=) :: JWEHeader p -> JWEHeader p -> Bool #
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] #