Crate rsa_oaep_pss
Source - RsaOaep
- An Optimal Asymmetric Encryption Padding scheme object used for encryption or decryption.
- RsaPrivateKey
- An RSA private key.
Contains the modulus (n) and the private exponent (d).
- RsaPss
- A Probabilistic Signature Scheme object used for signature and verification.
- RsaPublicKey
- An RSA public key.
Contains the modulus (n) and the public exponent(e).
- RsaError
- An RSA error object.
- FromDer
- FromPem
- ToDer
- ToPem
- generate_rsa_keys
- Generate a pair of RSA keys using the provided RNG and modulus length in bits.
Acceptable modulus lengths are 2048, 3072 or 4096.