Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

Class javax.crypto.spec.RSAPrivateKeySpec

java.lang.Object
    |
    +----javax.crypto.spec.RSAPrivateKeySpec
Subclasses:
RSAPrivateKeyCrtSpec

public class RSAPrivateKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
This class specifies an RSA private key.

See Also:
java.security.Key, java.security.KeyFactory, java.security.spec.KeySpec, java.security.spec.PKCS8EncodedKeySpec, RSAPublicKeySpec, RSAPrivateKeyCrtSpec

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
 

Constructor Detail

RSAPrivateKeySpec

public RSAPrivateKeySpec(java.math.BigInteger modulus,
                         java.math.BigInteger privateExponent)
Method Detail

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

Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS