public class RSAParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
| 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.
|
java.math.BigInteger |
getPublicExponent()
Returns the public exponent e.
|
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.