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