public class RSAKeyGenParameterSpec extends java.lang.Object implements AlgorithmParameterSpec
| Modifier and Type | Field and Description |
|---|---|
static java.math.BigInteger |
F0
Public Exponent F0 = 3
|
static java.math.BigInteger |
F4
Public Exponent F4 = 3
|
| Constructor and Description |
|---|
RSAKeyGenParameterSpec(int keysize,
java.math.BigInteger publicExponent)
Create a new RSAKeyGenParameterSpec to store the RSA key's keysize
and public exponent
|
| Modifier and Type | Method and Description |
|---|---|
int |
getKeysize()
Return the size of the key.
|
java.math.BigInteger |
getPublicExponent()
Return the public exponent.
|
public static final java.math.BigInteger F0
public static final java.math.BigInteger F4
public RSAKeyGenParameterSpec(int keysize, java.math.BigInteger publicExponent)
keysize - Modulus size of key in bitspublicExponent - - the exponentpublic int getKeysize()
public java.math.BigInteger getPublicExponent()