public class RSAParameterSpec
extends java.security.spec.RSAKeyGenParameterSpec
Constructor and Description |
---|
RSAParameterSpec(int keySize,
java.math.BigInteger publicExponent)
Creates a new RSAParameterSpec with the specified parameter values.
|
Modifier and Type | Method and Description |
---|---|
int |
getKeySize()
Returns the size of the modulus in bits.
|
public RSAParameterSpec(int keySize, java.math.BigInteger publicExponent)
keySize
- The size of the modulus in bits.publicExponent
- The public exponent e. Common values
are 3, 17, and 65537. 65537 is recommended.