Expand description
PKCS#1 v1.5 support as described in RFC8017 Β§ 8.2.
Β§Usage
ModulesΒ§
- decrypting_
key π - encrypting_
key π - oid π
- signature π
- signing_
key π - verifying_
key π
StructsΒ§
- Decrypting
Key - Decryption key for PKCS#1 v1.5 decryption as described in RFC8017 Β§ 7.2.
- Encrypting
Key - Encryption key for PKCS#1 v1.5 encryption as described in RFC8017 Β§ 7.2.
- Pkcs1v15
Encrypt - Encryption using PKCS#1 v1.5 padding.
- Pkcs1v15
Sign RSASSA-PKCS1-v1_5: digital signatures using PKCS#1 v1.5 padding.- Signature
RSASSA-PKCS1-v1_5signatures as described in RFC8017 Β§ 8.2.- Signing
Key - Signing key for
RSASSA-PKCS1-v1_5signatures as described in RFC8017 Β§ 8.2. - Verifying
Key - Verifying key for
RSASSA-PKCS1-v1_5signatures as described in RFC8017 Β§ 8.2.
TraitsΒ§
- RsaSignature
Associated Oid - A trait which associates an RSA-specific OID with a type.
FunctionsΒ§
- decrypt π
- Decrypts a plaintext using RSA and the padding scheme from PKCS#1 v1.5.
- encrypt π
- Encrypts the given message with RSA and the padding scheme from PKCS#1 v1.5. The message must be no longer than the length of the public modulus minus 11 bytes.
- sign π
- Calculates the signature of hashed using
RSASSA-PKCS1-V1_5-SIGN from RSA PKCS#1 v1.5. Note that
hashedmust be the result of hashing the input message using the given hash function. If hash isNone, hashed is signed directly. This isnβt advisable except for interoperability. - verify π
- Verifies an RSA PKCS#1 v1.5 signature.