All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class javax.crypto.spec.RSAPrivateKeySpec

java.lang.Object
    |
    +----javax.crypto.spec.RSAPrivateKeySpec

public class RSAPrivateKeySpec
extends Object
implements 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 Index

 o RSAPrivateKeySpec(BigInteger, BigInteger)

Method Index

 o getModulus()
Returns the modulus.
 o getPrivateExponent()
Returns the private exponent.

Constructors

 o RSAPrivateKeySpec
public RSAPrivateKeySpec(BigInteger modulus,
                         BigInteger privateExponent)

Methods

 o getModulus
public BigInteger getModulus()
Returns the modulus.

Returns:
the modulus
 o getPrivateExponent
public BigInteger getPrivateExponent()
Returns the private exponent.

Returns:
the private exponent

All Packages  Class Hierarchy  This Package  Previous  Next  Index