java.security.spec
Class RSAPrivateCrtKeySpec
java.lang.Object
|
+--java.security.spec.RSAPrivateKeySpec
|
+--java.security.spec.RSAPrivateCrtKeySpec
RSA Private Certificate Key class Specification. Used to
maintain the RSA Private Certificate Keys with the
Chinese Remainder Theorem(CRT) as specified by PKCS#1.
Since:Author: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)
Constructs a new RSAPrivateKeySpec with the specified
variables.
Parameters:
getCrtCoefficient
public BigInteger getCrtCoefficient()
Gets the RSA CRT coefficient.
Returns:
getPrimeExponentP
public BigInteger getPrimeExponentP()
Gets the RSA prime exponent P.
Returns:
getPrimeExponentQ
public BigInteger getPrimeExponentQ()
Gets the RSA prime exponent P.
Returns:
getPrimeP
public BigInteger getPrimeP()
Gets the RSA prime P.
Returns:
getPrimeQ
public BigInteger getPrimeQ()
Gets the RSA prime Q.
Returns:
getPublicExponent
public BigInteger getPublicExponent()
Gets the RSA public exponent.
Returns: