public class RSAKeyGenParameterSpec extends Object implements AlgorithmParameterSpec
KeyPairGenerator.initialize(java.security.spec.AlgorithmParameterSpec)| Modifier and Type | Field and Description | 
|---|---|
static int | 
F0
The public-exponent value F0 = 3. 
 | 
static int | 
F4
The public exponent-value F4 = 65537. 
 | 
| Constructor and Description | 
|---|
RSAKeyGenParameterSpec(int keysize,
                      int publicExponent)
Constructs a new  
RSAKeyGenParameterSpec object from the given keysize, public-exponent value, and null
 key parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getKeysize()
Returns the keysize. 
 | 
int | 
getPublicExponent()
Returns the public-exponent value. 
 | 
public static final int F0
public static final int F4
public RSAKeyGenParameterSpec(int keysize,
                              int publicExponent)
RSAKeyGenParameterSpec object from the given keysize, public-exponent value, and null
 key parameters.keysize - the modulus size (specified in number of bits)publicExponent - the public exponent