|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--java.security.spec.RSAPrivateKeySpec
RSA private key specification.
Attention: This is not a SUN implementation!
This class has been developed by IAIK according to the documentation publically available.
For SUNīs documentation of this class see
http://java.sun.com/security/JCE1.2/earlyaccess/javax.crypto.spec.RSAPrivateKeySpec.html
RSA private key specification, extended by RSAPrivateKeyCrtSpec for supporting RSA private key specifications using the Chinese Remainder Theorem(CRT) A key specification is a transparent representation of the key material constituting the key.
This class specifies the modulus n and private exponent d
constituting a RSAPrivateKey according to PKCS#1 when not considering additional
parameter values for implementing a Chinese Remainder Theorem supporting
key representation.
KeySpec,
RSAPrivateKeyCrtSpec,
RSAPublicKeySpec| Constructor Summary | |
RSAPrivateKeySpec(java.math.BigInteger modulus,
java.math.BigInteger privateExponent)
Creates RSA private key specification from given modulus and private exponent. |
|
| 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 |
| Constructor Detail |
public RSAPrivateKeySpec(java.math.BigInteger modulus,
java.math.BigInteger privateExponent)
modulus - the modulusprivateExponent - the private exponent| Method Detail |
public java.math.BigInteger getModulus()
public java.math.BigInteger getPrivateExponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||