java.security.spec
Class RSAPrivateKeySpec
java.lang.Object
|
+--java.security.spec.RSAPrivateKeySpec
All Implemented Interfaces:
KeySpec
RSA Private Key class Specification. Used to maintain the RSA
Private Keys.
Since:Author:RSAPrivateKeySpec
public RSAPrivateKeySpec(java.math.BigInteger modulus, java.math.BigInteger privateExponent)
Constructs a new RSAPrivateKeySpec with the specified
modulus and privateExponent.
Parameters:
getModulus
public BigInteger getModulus()
Gets the RSA modulus.
Returns:
getPrivateExponent
public BigInteger getPrivateExponent()
Gets the RSA private exponent.
Returns: