public class RSAOtherPrimeInfo extends Object
OtherPrimeInfo ::= SEQUENCE { prime INTEGER, exponent INTEGER, coefficient INTEGER }
Constructor | Description |
---|---|
RSAOtherPrimeInfo |
Creates a new RSAOtherPrimeInfo given the prime, primeExponent, and crtCoefficient as defined in PKCS#1. |
Modifier and Type | Method | Description |
---|---|---|
final BigInteger |
getCrtCoefficient() |
Returns the prime's crtCoefficient. |
final BigInteger |
getExponent() |
Returns the prime's exponent. |
final 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()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/security/spec/RSAOtherPrimeInfo.html