|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bouncycastle.crypto.generators.RSAKeyPairGenerator
public class RSAKeyPairGenerator
an RSA key pair generator.
Field Summary | |
---|---|
private static java.math.BigInteger |
ONE
|
private RSAKeyGenerationParameters |
param
|
Constructor Summary | |
---|---|
RSAKeyPairGenerator()
|
Method Summary | |
---|---|
AsymmetricCipherKeyPair |
generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys. |
void |
init(KeyGenerationParameters param)
intialise the key pair generator. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final java.math.BigInteger ONE
private RSAKeyGenerationParameters param
Constructor Detail |
---|
public RSAKeyPairGenerator()
Method Detail |
---|
public void init(KeyGenerationParameters param)
AsymmetricCipherKeyPairGenerator
init
in interface AsymmetricCipherKeyPairGenerator
param
- the parameters the key pair is to be initialised with.public AsymmetricCipherKeyPair generateKeyPair()
AsymmetricCipherKeyPairGenerator
generateKeyPair
in interface AsymmetricCipherKeyPairGenerator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |