public class RSAKeyGenerationParameters extends GenericKeyGenerationParameters implements KeyGenerationParameters
| Constructor and Description |
|---|
RSAKeyGenerationParameters()
Build a new instance with all defaults.
|
RSAKeyGenerationParameters(int strength)
Build a new instance with the given strength.
|
RSAKeyGenerationParameters(int strength,
BigInteger publicExponent)
Build a new instance with all custom parameters.
|
RSAKeyGenerationParameters(int strength,
BigInteger publicExponent,
int certainty)
Build a new instance with all custom parameters.
|
RSAKeyGenerationParameters(int strength,
int certainty)
Build a new instance with all custom parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCertainty() |
BigInteger |
getPublicExponent() |
getStrengthpublic RSAKeyGenerationParameters()
public RSAKeyGenerationParameters(int strength)
strength - the strength in bits.public RSAKeyGenerationParameters(int strength,
BigInteger publicExponent)
strength - the key strength.publicExponent - the public exponent.public RSAKeyGenerationParameters(int strength,
int certainty)
strength - the key strength.certainty - certainty for prime evaluation.public RSAKeyGenerationParameters(int strength,
BigInteger publicExponent,
int certainty)
strength - the key strength.publicExponent - the public exponent.certainty - certainty for prime evaluation.public BigInteger getPublicExponent()
public int getCertainty()
Copyright © 2004–2015 XWiki. All rights reserved.