com.ibm.security12.java.security.spec
Class RSAPrivateKeySpec
java.lang.Object
|
+--com.ibm.security12.java.security.spec.RSAPrivateKeySpec
- Direct Known Subclasses:
- RSAPrivateCrtKeySpec
- public class RSAPrivateKeySpec
- extends Object
- implements KeySpec
This class specifies an RSA private key.
- Version:
- 1.3, 98/12/01
- Author:
- Jan Luehe
- See Also:
Key
,
java.security.KeyFactory
,
KeySpec
,
PKCS8EncodedKeySpec
,
RSAPublicKeySpec
,
RSAPrivateCrtKeySpec
Constructor Summary |
RSAPrivateKeySpec(java.math.BigInteger modulus,
java.math.BigInteger privateExponent)
|
Method Summary |
java.math.BigInteger |
getModulus()
Returns the modulus. |
java.math.BigInteger |
getPrivateExponent()
Returns the private exponent. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RSAPrivateKeySpec
public RSAPrivateKeySpec(java.math.BigInteger modulus,
java.math.BigInteger privateExponent)
getModulus
public java.math.BigInteger getModulus()
- Returns the modulus.
- Returns:
- the modulus
getPrivateExponent
public java.math.BigInteger getPrivateExponent()
- Returns the private exponent.
- Returns:
- the private exponent