java.security.Key , java.security.KeyFactory , KeySpec, PKCS8EncodedKeySpec, RSAPrivateKeySpec, RSAPublicKeySpec, RSAOtherPrimeInfo
| Modifier and Type | Field and Description |
|---|---|
| private final BigInteger | |
| private final RSAOtherPrimeInfo[] | |
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger | |
| private final BigInteger |
| Access | Constructor and Description |
|---|---|
| public | RSAMultiPrimePrivateCrtKeySpec(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, RSAOtherPrimeInfo[] triplets of the rest of primes, null can be
specified if there are only two prime factors
(p and q) otherPrimeInfo)Creates a new |
| public | RSAMultiPrimePrivateCrtKeySpec(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, RSAOtherPrimeInfo[] triplets of the rest of primes, null can be
specified if there are only two prime factors
(p and q) otherPrimeInfo, AlgorithmParameterSpec the parameters associated with key keyParams)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public BigInteger | |
| public RSAOtherPrimeInfo[] | Returns: the otherPrimeInfo. Returns a new array each time this method is called.Returns a copy of the otherPrimeInfo or null if there are only two prime factors (p and q). |
| public BigInteger | |
| public BigInteger | |
| public BigInteger | |
| public BigInteger | |
| public BigInteger |
| crtCoefficient | back to summary |
|---|---|
| private final BigInteger crtCoefficient | |
| otherPrimeInfo | back to summary |
|---|---|
| private final RSAOtherPrimeInfo[] otherPrimeInfo | |
| 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 | |
| RSAMultiPrimePrivateCrtKeySpec | back to summary |
|---|---|
| public RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo) Creates a new Note that the contents of
| |
| RSAMultiPrimePrivateCrtKeySpec | back to summary |
|---|---|
| public RSAMultiPrimePrivateCrtKeySpec(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger primeP, BigInteger primeQ, BigInteger primeExponentP, BigInteger primeExponentQ, BigInteger crtCoefficient, RSAOtherPrimeInfo[] otherPrimeInfo, AlgorithmParameterSpec keyParams) Creates a new Note that the contents of
| |
| getCrtCoefficient | back to summary |
|---|---|
| public BigInteger getCrtCoefficient() Returns the crtCoefficient.
| |
| getOtherPrimeInfo | back to summary |
|---|---|
| public RSAOtherPrimeInfo[] getOtherPrimeInfo() Returns a copy of the otherPrimeInfo or null if there are only two prime factors (p and q).
| |
| 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.
| |