Safe Haskell | None |
---|
Cryptographic Algorithms for Keys.
- data EC = EC
- data RSA = RSA
- data Oct = Oct
- data ECKeyParameters
- = ECPrivateKeyParameters { }
- | ECPublicKeyParameters {
- ecCrv :: Crv
- ecX :: SizedBase64Integer
- ecY :: SizedBase64Integer
- data RSAPrivateKeyOthElem = RSAPrivateKeyOthElem {}
- data RSAPrivateKeyOptionalParameters = RSAPrivateKeyOptionalParameters {}
- data RSAKeyParameters
- genRSAParams :: Int -> IO (RSAKeyParameters, RSAKeyParameters)
- genRSA :: Int -> IO (KeyMaterial, KeyMaterial)
- newtype OctKeyParameters = OctKeyParameters Base64Octets
- data KeyMaterial
"kty" (Key Type) Parameter Values
Octet sequence (symmetric key) key type (Required)
Parameters for Elliptic Curve Keys
data ECKeyParameters Source
Parameters for Elliptic Curve Keys
Parameters for RSA Keys
data RSAPrivateKeyOthElem Source
"oth" (Other Primes Info) Parameter
data RSAPrivateKeyOptionalParameters Source
Optional parameters for RSA private keys
genRSAParams :: Int -> IO (RSAKeyParameters, RSAKeyParameters)Source
Generate RSA public and private key parameters.
genRSA :: Int -> IO (KeyMaterial, KeyMaterial)Source
Generate RSA public and private key material.
Parameters for Symmetric Keys
newtype OctKeyParameters Source
Symmetric key parameters data.