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

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 Summary
 RSAPrivateKeyCrtSpec(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 javax.crypto.spec.RSAPrivateKeySpec
 getModulus, getPrivateExponent
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPrivateKeyCrtSpec

public RSAPrivateKeyCrtSpec(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

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