All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class au.net.aba.security.spec.RSAPrivateCrtKeySpec

java.lang.Object
   |
   +----au.net.aba.security.spec.RSAPrivateCrtKeySpec

public class RSAPrivateCrtKeySpec
extends Object
implements KeySpec
A class that provides a specification for a RSA Private Key with components for using Chinese remainder theorem.

See Also:
Key, KeyFactory, KeySpec, PKCS8EncodedKeySpec, RSAPrivateKeySpec, RSAPublicKeySpec

Variable Index

 o ident

Constructor Index

 o RSAPrivateCrtKeySpec(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger)
basic constructor

Method Index

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

Variables

 o ident
 public static final String ident

Constructors

 o RSAPrivateCrtKeySpec
 public RSAPrivateCrtKeySpec(BigInteger modulus,
                             BigInteger publicExponent,
                             BigInteger privateExponent,
                             BigInteger primeP,
                             BigInteger primeQ,
                             BigInteger primeExponentP,
                             BigInteger primeExponentQ,
                             BigInteger crtCoefficient)
basic constructor

Parameters:
modulus - the modulus.
publicExponent - the public exponent.
privateExponent - the private exponent.
primeP - the prime P.
primeQ - the prime Q.
primeExponentP - the prime exponent for P.
primeExponentQ - the prime exponent for Q.
crtCoefficient - the CRT coefficient.

Methods

 o getModulus
 public BigInteger getModulus()
Returns the modulus.

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

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

Returns:
the private 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