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)
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
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)
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