Safe Haskell | None |
---|---|
Language | Haskell98 |
JSON Web Encryption data types specified under JSON Web Algorithms.
- data AlgWithParams
- = RSA1_5
- | RSA_OAEP
- | RSA_OAEP_256
- | A128KW
- | A192KW
- | A256KW
- | Dir
- | ECDH_ES ECDHParameters
- | ECDH_ES_A128KW ECDHParameters
- | ECDH_ES_A192KW ECDHParameters
- | ECDH_ES_A256KW ECDHParameters
- | A128GCMKW AESGCMParameters
- | A192GCMKW AESGCMParameters
- | A256GCMKW AESGCMParameters
- | PBES2_HS256_A128KW PBES2Parameters
- | PBES2_HS384_A192KW PBES2Parameters
- | PBES2_HS512_A256KW PBES2Parameters
- algObject :: Value -> Value
- algWithParamsObject :: ToJSON a => a -> Value -> Value
- data ECDHParameters = ECDHParameters {
- _epk :: JWK
- _apu :: Maybe Base64Octets
- _apv :: Maybe Base64Octets
- data AESGCMParameters = AESGCMParameters {
- _iv :: Base64Octets
- _tag :: Base64Octets
- data PBES2Parameters = PBES2Parameters {
- _p2s :: Base64Octets
- _p2c :: Int
- data Enc
Documentation
data AlgWithParams Source #
RFC 7518 §4. Cryptographic Algorithms for Key Management
data ECDHParameters Source #
RFC 7518 §4.6.1. Header Parameters Used for ECDH Key Agreement
ECDHParameters | |
|
data AESGCMParameters Source #
RFC 7518 §4.7.1. Header Parameters Used for AES GCM Key Encryption
AESGCMParameters | |
|
data PBES2Parameters Source #
RFC 7518 §4.8.1. Header Parameters Used for PBES2 Key Encryption
PBES2Parameters | |
|