All Packages  Class Hierarchy  This Package  Previous  Next  Index  

Class javax.crypto.spec.RSAPrivateKeyCrtSpec

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

public class RSAPrivateKeyCrtSpec
extends RSAPrivateKeySpec
This class specifies an RSA private key using the Chinese Remainder Theorem (CRT) representation.

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

Constructor Index

 o RSAPrivateKeyCrtSpec(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger)

Method Index

 o getCrtCoefficient()
Returns the crtCoefficient.
 o getPrimeExponentP()
Returns the primeExponentP.
 o getPrimeExponentQ()
Returns the primeExponentQ.
 o getPrimeP()
Returns the primeP.
 o getPrimeQ()
Returns the primeQ.
 o getPublicExponent()
Returns the public exponent.

Constructors

 o RSAPrivateKeyCrtSpec
public RSAPrivateKeyCrtSpec(BigInteger modulus,
                            BigInteger publicExponent,
                            BigInteger privateExponent,
                            BigInteger primeP,
                            BigInteger primeQ,
                            BigInteger primeExponentP,
                            BigInteger primeExponentQ,
                            BigInteger crtCoefficient)

Methods

 o getPublicExponent
public BigInteger getPublicExponent()
Returns the public exponent.

Returns:
the public exponent
 o getPrimeP
public BigInteger getPrimeP()
Returns the primeP.

Returns:
the primeP
 o getPrimeQ
public BigInteger getPrimeQ()
Returns the primeQ.

Returns:
the primeQ
 o getPrimeExponentP
public BigInteger getPrimeExponentP()
Returns the primeExponentP.

Returns:
the primeExponentP
 o getPrimeExponentQ
public BigInteger getPrimeExponentQ()
Returns the primeExponentQ.

Returns:
the primeExponentQ
 o getCrtCoefficient
public BigInteger getCrtCoefficient()
Returns the crtCoefficient.

Returns:
the crtCoefficient

All Packages  Class Hierarchy  This Package  Previous  Next  Index