java.security.spec
public class RSAKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
Since: JDK 1.3
| Field Summary | |
|---|---|
| static BigInteger | F0
Public Exponent F0 = 3 |
| static BigInteger | F4
Public Exponent F4 = 3 |
| Constructor Summary | |
|---|---|
| RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent)
Create a new RSAKeyGenParameterSpec to store the RSA key's keysize
and public exponent | |
| Method Summary | |
|---|---|
| int | getKeysize()
Return the size of the key. |
| BigInteger | getPublicExponent()
Return the public exponent. |
Parameters: keysize Modulus size of key in bits publicExponent - the exponent
Returns: the size of the key.
Returns: the public exponent.