java.security.Key , java.security.KeyFactory , KeySpec, PKCS8EncodedKeySpec, RSAPrivateKeySpec, RSAPublicKeySpec
| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger |
| Access | Constructor and Description |
|---|---|
| public | RSAPrivateCrtKeySpec(BigInteger
the modulus n modulus, BigInteger the public exponent e publicExponent, BigInteger the private exponent d privateExponent, BigInteger the prime factor p of n primeP, BigInteger the prime factor q of n primeQ, BigInteger this is d mod (p-1) primeExponentP, BigInteger this is d mod (q-1) primeExponentQ, BigInteger the Chinese Remainder Theorem
coefficient q-1 mod p crtCoefficient)Creates a new |
| public | RSAPrivateCrtKeySpec(BigInteger
the modulus n modulus, BigInteger the public exponent e publicExponent, BigInteger the private exponent d privateExponent, BigInteger the prime factor p of n primeP, BigInteger the prime factor q of n primeQ, BigInteger this is d mod (p-1) primeExponentP, BigInteger this is d mod (q-1) primeExponentQ, BigInteger the Chinese Remainder Theorem
coefficient q-1 mod p crtCoefficient, AlgorithmParameterSpec the parameters associated with key keyParams)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | |
| public BigInteger | |
| public BigInteger | |
| public BigInteger | |
| public BigInteger | |
| public BigInteger |
| crtCoefficient | back to summary |
|---|---|
| private final BigInteger crtCoefficient | |
| primeExponentP | back to summary |
|---|---|
| private final BigInteger primeExponentP | |
| primeExponentQ | back to summary |
|---|---|
| private final BigInteger primeExponentQ | |
| primeP | back to summary |
|---|---|
| private final BigInteger primeP | |
| primeQ | back to summary |
|---|---|
| private final BigInteger primeQ | |
| publicExponent | back to summary |
|---|---|
| private final BigInteger publicExponent | |
| RSAPrivateCrtKeySpec | back to summary |
|---|---|
| public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient) Creates a new
| |
| RSAPrivateCrtKeySpec | back to summary |
|---|---|
| public RSAPrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, AlgorithmParameterSpec keyParams) Creates a new
| |
| getCrtCoefficient | back to summary |
|---|---|
| public BigInteger getCrtCoefficient() Returns the crtCoefficient.
| |
| getPrimeExponentP | back to summary |
|---|---|
| public BigInteger getPrimeExponentP() Returns the primeExponentP.
| |
| getPrimeExponentQ | back to summary |
|---|---|
| public BigInteger getPrimeExponentQ() Returns the primeExponentQ.
| |
| getPrimeP | back to summary |
|---|---|
| public BigInteger getPrimeP() Returns the primeP.
| |
| getPrimeQ | back to summary |
|---|---|
| public BigInteger getPrimeQ() Returns the primeQ.
| |
| getPublicExponent | back to summary |
|---|---|
| public BigInteger getPublicExponent() Returns the public exponent.
| |