PKCS1
RSA with PKCS#1 v1.5 padding as defined in RFC 8017 Sections 7.2 and 8.2.
Provides both encryption and digital signatures using the legacy PKCS#1 v1.5 padding scheme.
val keys = provider.get(RSA.PKCS1).keyPairGenerator().generateKey()
val signature = keys.privateKey.signatureGenerator().generateSignature(data)
keys.publicKey.signatureVerifier().verifySignature(data, signature)Prefer OAEP for encryption and PSS for signatures in new applications.
Types
An RSA-PKCS1 private key that provides signature generation via signatureGenerator and decryption via decryptor.
An RSA-PKCS1 public key that provides signature verification via signatureVerifier and encryption via encryptor.
Properties
The typed identifier that uniquely distinguishes this algorithm and is used to look it up from a CryptographyProvider.
Functions
Returns a KeyGenerator that generates RSA key pairs with the given parameters.
Returns a Decoder that decodes RSA private keys for the given digest from the specified PrivateKey.Format.
Returns a Decoder that decodes RSA public keys for the given digest from the specified PublicKey.Format.