com.ibm.security12.java.security.spec
Class RSAPrivateCrtKeySpec

java.lang.Object
  |
  +--com.ibm.security12.java.security.spec.RSAPrivateKeySpec
        |
        +--com.ibm.security12.java.security.spec.RSAPrivateCrtKeySpec

public class RSAPrivateCrtKeySpec
extends RSAPrivateKeySpec

This class specifies an RSA private key, as defined in the PKCS#1 standard, using the Chinese Remainder Theorem (CRT) information values.

Version:
1.4, 98/12/01
Author:
Jan Luehe
See Also:
Key, java.security.KeyFactory, KeySpec, PKCS8EncodedKeySpec, RSAPrivateKeySpec, RSAPublicKeySpec

Constructor Summary
RSAPrivateCrtKeySpec(java.math.BigInteger modulus, java.math.BigInteger publicExponent, java.math.BigInteger privateExponent, java.math.BigInteger primeP, java.math.BigInteger primeQ, java.math.BigInteger primeExponentP, java.math.BigInteger primeExponentQ, java.math.BigInteger crtCoefficient)
           
 
Method Summary
 java.math.BigInteger getCrtCoefficient()
          Returns the crtCoefficient.
 java.math.BigInteger getPrimeExponentP()
          Returns the primeExponentP.
 java.math.BigInteger getPrimeExponentQ()
          Returns the primeExponentQ.
 java.math.BigInteger getPrimeP()
          Returns the primeP.
 java.math.BigInteger getPrimeQ()
          Returns the primeQ.
 java.math.BigInteger getPublicExponent()
          Returns the public exponent.
 
Methods inherited from class com.ibm.security12.java.security.spec.RSAPrivateKeySpec
getModulus, getPrivateExponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPrivateCrtKeySpec

public RSAPrivateCrtKeySpec(java.math.BigInteger modulus,
                            java.math.BigInteger publicExponent,
                            java.math.BigInteger privateExponent,
                            java.math.BigInteger primeP,
                            java.math.BigInteger primeQ,
                            java.math.BigInteger primeExponentP,
                            java.math.BigInteger primeExponentQ,
                            java.math.BigInteger crtCoefficient)
Method Detail

getPublicExponent

public java.math.BigInteger getPublicExponent()
Returns the public exponent.
Returns:
the public exponent

getPrimeP

public java.math.BigInteger getPrimeP()
Returns the primeP.
Returns:
the primeP

getPrimeQ

public java.math.BigInteger getPrimeQ()
Returns the primeQ.
Returns:
the primeQ

getPrimeExponentP

public java.math.BigInteger getPrimeExponentP()
Returns the primeExponentP.
Returns:
the primeExponentP

getPrimeExponentQ

public java.math.BigInteger getPrimeExponentQ()
Returns the primeExponentQ.
Returns:
the primeExponentQ

getCrtCoefficient

public java.math.BigInteger getCrtCoefficient()
Returns the crtCoefficient.
Returns:
the crtCoefficient