java.security.spec
public class: RSAPrivateKeySpec [javadoc |
source]
java.lang.Object
java.security.spec.RSAPrivateKeySpec
All Implemented Interfaces:
KeySpec
Direct Known Subclasses:
RSAPrivateCrtKeySpec, RSAMultiPrimePrivateCrtKeySpec
This class specifies an RSA private key.
| Constructor: |
public RSAPrivateKeySpec(BigInteger modulus,
BigInteger privateExponent) {
this.modulus = modulus;
this.privateExponent = privateExponent;
}
Creates a new RSAPrivateKeySpec. Parameters:
modulus - the modulus
privateExponent - the private exponent
|
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |