public static final class RSA.KeyGenParameters extends GeneralParameters<GeneralAlgorithm>
| Constructor and Description |
|---|
KeyGenParameters(java.math.BigInteger publicExponent,
int keySize)
Base constructor.
|
KeyGenParameters(java.math.BigInteger publicExponent,
int keySize,
int certainty)
Base constructor with certainty.
|
KeyGenParameters(RSA.SignatureParameters parameters,
java.math.BigInteger publicExponent,
int keySize)
Constructor for a key targeted to a specific signature algorithm.
|
KeyGenParameters(RSA.WrapParameters parameters,
java.math.BigInteger publicExponent,
int keySize)
Constructor for a key targeted to a specific wrap algorithm.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCertainty() |
int |
getKeySize() |
java.math.BigInteger |
getPublicExponent() |
getAlgorithmpublic KeyGenParameters(java.math.BigInteger publicExponent,
int keySize)
publicExponent - the public exponent to use.keySize - the key size (in bits).public KeyGenParameters(java.math.BigInteger publicExponent,
int keySize,
int certainty)
publicExponent - the public exponent to use.keySize - the key size (in bits).certainty - certainty to use for prime number calculation.public KeyGenParameters(RSA.SignatureParameters parameters, java.math.BigInteger publicExponent, int keySize)
parameters - the signature parameter set containing the algorithm.publicExponent - the public exponent to use.keySize - the key size (in bits).public KeyGenParameters(RSA.WrapParameters parameters, java.math.BigInteger publicExponent, int keySize)
parameters - the wrap parameter set containing the algorithm.publicExponent - the public exponent to use.keySize - the key size (in bits).