Class RSAKeyPairGenerator
java.lang.Object
org.gudy.bouncycastle.crypto.generators.RSAKeyPairGenerator
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
an RSA key pair generator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreturn an AsymmetricCipherKeyPair containing the generated keys.voidinit(KeyGenerationParameters param) intialise the key pair generator.
-
Field Details
-
ONE
-
param
-
-
Constructor Details
-
RSAKeyPairGenerator
public RSAKeyPairGenerator()
-
-
Method Details
-
init
Description copied from interface:AsymmetricCipherKeyPairGeneratorintialise the key pair generator.- Specified by:
initin interfaceAsymmetricCipherKeyPairGenerator
-
generateKeyPair
Description copied from interface:AsymmetricCipherKeyPairGeneratorreturn an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPairin interfaceAsymmetricCipherKeyPairGenerator- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-