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

All Implemented Interfaces:
    KeySpec

Direct Known Subclasses:
    RSAMultiPrimePrivateCrtKeySpec, RSAPrivateCrtKeySpec

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