public class RSAKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
F0
The value of the public exponent
F0 = 3. |
static BigInteger |
F4
The value of the public exponent
F4 = 65537. |
| Constructor and Description |
|---|
RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent)
Creates a new
RSAKeyGenParameterSpec with the specified key size
and public exponent. |
| Modifier and Type | Method and Description |
|---|---|
int |
getKeysize()
Returns the size of the modulus (number of bits).
|
BigInteger |
getPublicExponent()
Returns the value of the public exponent.
|
public static final BigInteger F0
F0 = 3.public static final BigInteger F4
F4 = 65537.public RSAKeyGenParameterSpec(int keysize,
BigInteger publicExponent)
RSAKeyGenParameterSpec with the specified key size
and public exponent.keysize - the size of the modulus (number of bits).publicExponent - the value of the public exponent.public int getKeysize()
public BigInteger getPublicExponent()