|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.security.spec.RSAOtherPrimeInfo
public class RSAOtherPrimeInfo
An in-memory representation of the RSA triplet (prime, exponent, and coefficient) inside a PKCS#1 v2.1 OtherPrimeInfo structure.
RSAPrivateCrtKeySpec
,
RSAMultiPrimePrivateCrtKey
Constructor Summary | |
---|---|
RSAOtherPrimeInfo(BigInteger prime,
BigInteger primeExponent,
BigInteger crtCoefficient)
Constructs a new RSAOtherPrimeInfo given the PKCS#1 MPIs. |
Method Summary | |
---|---|
BigInteger |
getCrtCoefficient()
Returns the CRT Coefficient. |
BigInteger |
getExponent()
Returns the prime's exponent. |
BigInteger |
getPrime()
Returns the prime. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
RSAOtherPrimeInfo
given the PKCS#1 MPIs.
prime
- the prime factor of n.primeExponent
- the exponent.crtCoefficient
- the Chinese Remainder Theorem coefficient.
NullPointerException
- if any of the parameters is null
.Method Detail |
---|
public final BigInteger getPrime()
public final BigInteger getExponent()
public final BigInteger getCrtCoefficient()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |