RSAPrivateCrtKeySpecpublic 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 for
efficiency. |
Fields Summary |
---|
private final BigInteger | publicExponent | private final BigInteger | primeP | private final BigInteger | primeQ | private final BigInteger | primeExponentP | private final BigInteger | primeExponentQ | private final BigInteger | crtCoefficient |
Constructors 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.
super(modulus, privateExponent);
this.publicExponent = publicExponent;
this.primeP = primeP;
this.primeQ = primeQ;
this.primeExponentP = primeExponentP;
this.primeExponentQ = primeExponentQ;
this.crtCoefficient = crtCoefficient;
|
|