| java.lang.Object java.security.spec.RSAPrivateKeySpec java.security.spec.RSAPrivateCrtKeySpec
Constructor Summary | |
public | RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient) Creates a new RSAPrivateCrtKeySpec
given the modulus, publicExponent, privateExponent,
primeP, primeQ, primeExponentP, primeExponentQ, and
crtCoefficient as defined in PKCS#1. |
RSAPrivateCrtKeySpec | public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)(Code) | | Creates a new RSAPrivateCrtKeySpec
given the modulus, publicExponent, privateExponent,
primeP, primeQ, primeExponentP, primeExponentQ, and
crtCoefficient as defined in PKCS#1.
Parameters: modulus - the modulus n Parameters: publicExponent - the public exponent e Parameters: privateExponent - the private exponent d Parameters: primeP - the prime factor p of n Parameters: primeQ - the prime factor q of n Parameters: primeExponentP - this is d mod (p-1) Parameters: primeExponentQ - this is d mod (q-1) Parameters: crtCoefficient - the Chinese Remainder Theoremcoefficient q-1 mod p |
getCrtCoefficient | public BigInteger getCrtCoefficient()(Code) | | Returns the crtCoefficient.
the crtCoefficient |
getPrimeExponentP | public BigInteger getPrimeExponentP()(Code) | | Returns the primeExponentP.
the primeExponentP |
getPrimeExponentQ | public BigInteger getPrimeExponentQ()(Code) | | Returns the primeExponentQ.
the primeExponentQ |
getPublicExponent | public BigInteger getPublicExponent()(Code) | | Returns the public exponent.
the public exponent |
|
|