public class RSAOtherPrimeInfo extends java.lang.Object
RSAPrivateCrtKeySpec,
RSAMultiPrimePrivateCrtKey| Constructor and Description |
|---|
RSAOtherPrimeInfo(java.math.BigInteger prime,
java.math.BigInteger primeExponent,
java.math.BigInteger crtCoefficient)
Constructs a new
RSAOtherPrimeInfo given the PKCS#1 MPIs. |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getCrtCoefficient()
Returns the CRT Coefficient.
|
java.math.BigInteger |
getExponent()
Returns the prime's exponent.
|
java.math.BigInteger |
getPrime()
Returns the prime.
|
public RSAOtherPrimeInfo(java.math.BigInteger prime, java.math.BigInteger primeExponent, java.math.BigInteger crtCoefficient)
RSAOtherPrimeInfo given the PKCS#1 MPIs.prime - the prime factor of n.primeExponent - the exponent.crtCoefficient - the Chinese Remainder Theorem coefficient.java.lang.NullPointerException - if any of the parameters is null.public final java.math.BigInteger getPrime()
public final java.math.BigInteger getExponent()
public final java.math.BigInteger getCrtCoefficient()