|
JSS 3.1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.mozilla.jss.crypto.RSAParameterSpec
This class specifies the parameters used for generating an RSA key pair.
Field Summary | |
private int |
keySize
|
private java.math.BigInteger |
publicExponent
|
Constructor Summary | |
RSAParameterSpec(int keySize,
java.math.BigInteger publicExponent)
Creates a new RSAParameterSpec with the specified parameter values. |
Method Summary | |
int |
getKeySize()
Returns the size of the modulus in bits. |
java.math.BigInteger |
getPublicExponent()
Returns the public exponent e. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int keySize
private java.math.BigInteger publicExponent
Constructor Detail |
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.Method Detail |
public int getKeySize()
public java.math.BigInteger getPublicExponent()
|
JSS 3.1.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |