public class RSAOtherPrimeInfo extends Object
OtherPrimeInfo ::= SEQUENCE {
prime INTEGER,
exponent INTEGER,
coefficient INTEGER
}
RSAPrivateCrtKeySpec,
RSAMultiPrimePrivateCrtKey| Constructor and Description |
|---|
RSAOtherPrimeInfo(BigInteger prime,
BigInteger primeExponent,
BigInteger crtCoefficient)
Creates a new
RSAOtherPrimeInfo
given the prime, primeExponent, and
crtCoefficient as defined in PKCS#1. |
| Modifier and Type | Method and Description |
|---|---|
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.NullPointerException - if any of the parameters, i.e.
prime, primeExponent,
crtCoefficient, is null.prime - the prime factor of n.primeExponent - the exponent.crtCoefficient - the Chinese Remainder Theorem
coefficient.public final BigInteger getPrime()
public final BigInteger getExponent()
public final BigInteger getCrtCoefficient()
aicas GmbH, Karlsruhe, Germany —www.aicas.com
Copyright © 2001-2016 aicas GmbH. All Rights Reserved.