Interface
RSAKeyGen
access this type via:
sec.crypto.RSAKeyGen
(provides, requires or uses)
Key generator for RSA key pairs.
Functions
RSAKey
generateKey(int keyLength)
RSAKey
convertKey(
RSAKey
current, byte toType)
RSAKey
generateKey(int keyLength)
Generate an RSA public/private key pair.
keyLength
Desired length, in bits, of the generated key.
RSAKey
convertKey(
RSAKey
current, byte toType)
Convert an RSA public/private key pair to a different format.
current
The current RSA key pair.
toType
The key encoding type to return (one of the types available on RSAKey).