Save This Page
Home » openjdk-7 » java » security » spec » [javadoc | source]
public class: RSAPrivateKeySpec [javadoc | source]

All Implemented Interfaces:

Direct Known Subclasses:
    RSAMultiPrimePrivateCrtKeySpec, RSAPrivateCrtKeySpec

This class specifies an RSA private key.
 public RSAPrivateKeySpec(BigInteger modulus,
    BigInteger privateExponent) 
    Creates a new RSAPrivateKeySpec.
    modulus - the modulus
    privateExponent - the private exponent
Method from Summary:
getModulus,   getPrivateExponent
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from Detail:
 public BigInteger getModulus() 
    Returns the modulus.
 public BigInteger getPrivateExponent() 
    Returns the private exponent.