All Packages Class Hierarchy This Package Previous Next Index
Class javax.crypto.spec.RSAPrivateKeyCrtSpec
java.lang.Object
|
+----javax.crypto.spec.RSAPrivateKeyCrtSpec
- public class RSAPrivateKeyCrtSpec
- extends Object
- implements KeySpec
This class specifies an RSA private key using the
Chinese Remainder Theorem (CRT) representation.
- See Also:
- Key, KeyFactory, KeySpec, PKCS8EncodedKeySpec, RSAPrivateKeySpec, RSAPublicKeySpec
-
RSAPrivateKeyCrtSpec(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger)
-
-
getCrtCoefficient()
- Returns the crtCoefficient.
-
getModulus()
- Returns the modulus.
-
getPrimeExponentP()
- Returns the primeExponentP.
-
getPrimeExponentQ()
- Returns the primeExponentQ.
-
getPrimeP()
- Returns the primeP.
-
getPrimeQ()
- Returns the primeQ.
-
getPrivateExponent()
- Returns the private exponent.
-
getPublicExponent()
- Returns the public exponent.
RSAPrivateKeyCrtSpec
public RSAPrivateKeyCrtSpec(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient)
getModulus
public BigInteger getModulus()
- Returns the modulus.
- Returns:
- the modulus
getPublicExponent
public BigInteger getPublicExponent()
- Returns the public exponent.
- Returns:
- the public exponent
getPrivateExponent
public BigInteger getPrivateExponent()
- Returns the private exponent.
- Returns:
- the private exponent
getPrimeP
public BigInteger getPrimeP()
- Returns the primeP.
- Returns:
- the primeP
getPrimeQ
public BigInteger getPrimeQ()
- Returns the primeQ.
- Returns:
- the primeQ
getPrimeExponentP
public BigInteger getPrimeExponentP()
- Returns the primeExponentP.
- Returns:
- the primeExponentP
getPrimeExponentQ
public BigInteger getPrimeExponentQ()
- Returns the primeExponentQ.
- Returns:
- the primeExponentQ
getCrtCoefficient
public BigInteger getCrtCoefficient()
- Returns the crtCoefficient.
- Returns:
- the crtCoefficient
All Packages Class Hierarchy This Package Previous Next Index