java.security.spec
public class RSAPrivateKeySpec extends Object implements KeySpec
Since: JDK 1.2
Constructor Summary | |
---|---|
RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
Constructs a new RSAPrivateKeySpec with the specified
modulus and privateExponent. |
Method Summary | |
---|---|
BigInteger | getModulus()
Gets the RSA modulus. |
BigInteger | getPrivateExponent()
Gets the RSA private exponent. |
Parameters: modulus the RSA modulus privateExponent the private key exponent
Returns: the RSA modulus
Returns: the RSA private exponent