All Packages Class Hierarchy This Package Previous Next Index
Class javax.crypto.spec.RSAPrivateKeySpec
java.lang.Object
|
+----javax.crypto.spec.RSAPrivateKeySpec
- public class RSAPrivateKeySpec
- extends Object
- implements KeySpec
This class specifies an RSA private key.
- See Also:
- Key, KeyFactory, KeySpec, PKCS8EncodedKeySpec, RSAPublicKeySpec, RSAPrivateKeyCrtSpec
-
RSAPrivateKeySpec(BigInteger, BigInteger)
-
-
getModulus()
- Returns the modulus.
-
getPrivateExponent()
- Returns the private exponent.
RSAPrivateKeySpec
public RSAPrivateKeySpec(BigInteger modulus,
BigInteger privateExponent)
getModulus
public BigInteger getModulus()
- Returns the modulus.
- Returns:
- the modulus
getPrivateExponent
public BigInteger getPrivateExponent()
- Returns the private exponent.
- Returns:
- the private exponent
All Packages Class Hierarchy This Package Previous Next Index