public class RSAOtherPrimeInfo extends Object
OtherPrimeInfo ::= SEQUENCE {
prime INTEGER,
exponent INTEGER,
coefficient INTEGER
}
RSAPrivateCrtKeySpec,
RSAMultiPrimePrivateCrtKey| 构造器 | 说明 |
|---|---|
RSAOtherPrimeInfo(BigInteger prime,
BigInteger primeExponent,
BigInteger crtCoefficient) |
Creates a new
RSAOtherPrimeInfo
given the prime, primeExponent, and
crtCoefficient as defined in PKCS#1. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
BigInteger |
getCrtCoefficient() |
Returns the prime's crtCoefficient.
|
BigInteger |
getExponent() |
Returns the prime's exponent.
|
BigInteger |
getPrime() |
Returns the prime.
|
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
RSAOtherPrimeInfo
given the prime, primeExponent, and
crtCoefficient as defined in PKCS#1.prime - the prime factor of n.primeExponent - the exponent.crtCoefficient - the Chinese Remainder Theorem
coefficient.NullPointerException - if any of the parameters, i.e.
prime, primeExponent,
crtCoefficient, is null.public final BigInteger getPrime()
public final BigInteger getExponent()
public final BigInteger getCrtCoefficient()