public class RSAPrivateCrtKeySpec extends RSAPrivateKeySpec
| Constructor and Description |
|---|
RSAPrivateCrtKeySpec(BigInteger modulus,
BigInteger publicExponent,
BigInteger privateExponent,
BigInteger primeP,
BigInteger primeQ,
BigInteger primeExponentP,
BigInteger primeExponentQ,
BigInteger crtCoefficient)
Constructs a new RSAPrivateKeySpec with the specified
variables.
|
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getCrtCoefficient()
Gets the RSA CRT coefficient.
|
BigInteger |
getPrimeExponentP()
Gets the RSA prime exponent P.
|
BigInteger |
getPrimeExponentQ()
Gets the RSA prime exponent P.
|
BigInteger |
getPrimeP()
Gets the RSA prime P.
|
BigInteger |
getPrimeQ()
Gets the RSA prime Q.
|
BigInteger |
getPublicExponent()
Gets the RSA public exponent.
|
getModulus, getPrivateExponentpublic RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient)
modulus - the RSA moduluspublicExponent - the public key exponentprivateExponent - the private key exponentprimeP - the prime PprimeQ - the prime QprimeExponentP - the prime exponent PprimeExponentQ - the prime exponent PcrtCoefficient - the CRT coefficientpublic BigInteger getPublicExponent()
public BigInteger getPrimeP()
public BigInteger getPrimeQ()
public BigInteger getPrimeExponentP()
public BigInteger getPrimeExponentQ()
public BigInteger getCrtCoefficient()