RSAOtherPrimeInfo
open class RSAOtherPrimeInfo
| kotlin.Any | |
| ↳ | java.security.spec.RSAOtherPrimeInfo | 
This class represents the triplet (prime, exponent, and coefficient) inside RSA's OtherPrimeInfo structure, as defined in the PKCS#1 v2.2 standard. The ASN.1 syntax of RSA's OtherPrimeInfo is as follows:
OtherPrimeInfo ::= SEQUENCE { prime INTEGER, exponent INTEGER, coefficient INTEGER }
Summary
| Public constructors | |
|---|---|
| RSAOtherPrimeInfo(prime: BigInteger!, primeExponent: BigInteger!, crtCoefficient: BigInteger!)Creates a new  | |
| Public methods | |
|---|---|
| BigInteger! | Returns the prime's crtCoefficient. | 
| BigInteger! | Returns the prime's exponent. | 
| BigInteger! | getPrime()Returns the prime. | 
Public constructors
RSAOtherPrimeInfo
RSAOtherPrimeInfo(
prime: BigInteger!,
primeExponent: BigInteger!,
crtCoefficient: BigInteger!)
Creates a new RSAOtherPrimeInfo given the prime, primeExponent, and crtCoefficient as defined in PKCS#1.
| Parameters | |
|---|---|
| prime | BigInteger!: the prime factor of n. | 
| primeExponent | BigInteger!: the exponent. | 
| crtCoefficient | BigInteger!: the Chinese Remainder Theorem coefficient. | 
| Exceptions | |
|---|---|
| java.lang.NullPointerException | if any of the parameters, i.e. prime,primeExponent,crtCoefficient, is null. | 
Public methods
getCrtCoefficient
fun getCrtCoefficient(): BigInteger!
Returns the prime's crtCoefficient.
| Return | |
|---|---|
| BigInteger! | the crtCoefficient. | 
getExponent
fun getExponent(): BigInteger!
Returns the prime's exponent.
| Return | |
|---|---|
| BigInteger! | the primeExponent. | 
getPrime
fun getPrime(): BigInteger!
Returns the prime.
| Return | |
|---|---|
| BigInteger! | the prime. | 
