public class RSAPrivateCrtKeySpec extends RSAPrivateKeySpec
| Constructor and Description |
|---|
RSAPrivateCrtKeySpec(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)
Constructs a new RSAPrivateKeySpec with the specified
variables.
|
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getCrtCoefficient()
Gets the RSA CRT coefficient.
|
java.math.BigInteger |
getPrimeExponentP()
Gets the RSA prime exponent P.
|
java.math.BigInteger |
getPrimeExponentQ()
Gets the RSA prime exponent P.
|
java.math.BigInteger |
getPrimeP()
Gets the RSA prime P.
|
java.math.BigInteger |
getPrimeQ()
Gets the RSA prime Q.
|
java.math.BigInteger |
getPublicExponent()
Gets the RSA public exponent.
|
getModulus, getPrivateExponentpublic RSAPrivateCrtKeySpec(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)
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 java.math.BigInteger getPublicExponent()
public java.math.BigInteger getPrimeP()
public java.math.BigInteger getPrimeQ()
public java.math.BigInteger getPrimeExponentP()
public java.math.BigInteger getPrimeExponentQ()
public java.math.BigInteger getCrtCoefficient()