java.security.spec
public class RSAKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
Modifier and Type | Field and Description |
---|---|
static BigInteger |
F0
Public Exponent F0 = 3
|
static BigInteger |
F4
Public Exponent F4 = 3
|
Constructor and Description |
---|
RSAKeyGenParameterSpec(int keysize,
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.
|
BigInteger |
getPublicExponent()
Return the public exponent.
|
public static final BigInteger F0
public static final BigInteger F4
public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
keysize
- Modulus size of key in bitspublicExponent
- - the exponentpublic int getKeysize()
public BigInteger getPublicExponent()