public static final class FipsRSA.KeyGenParameters extends FipsParameters
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(FipsRSA.KTSParameters parameters,
java.math.BigInteger publicExponent,
int keySize)
Constructor for a key targeted to a specific KTS algorithm.
|
KeyGenParameters(FipsRSA.SignatureParameters parameters,
java.math.BigInteger publicExponent,
int keySize)
Constructor for a key targeted to a specific signature algorithm.
|
KeyGenParameters(FipsRSA.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() |
getAlgorithm
public 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(FipsRSA.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(FipsRSA.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).public KeyGenParameters(FipsRSA.KTSParameters parameters, java.math.BigInteger publicExponent, int keySize)
parameters
- the KTS parameter set containing the algorithm.publicExponent
- the public exponent to use.keySize
- the key size (in bits).