to top
Android APIs
public class

RSAOtherPrimeInfo

extends Object
java.lang.Object
   ↳ java.security.spec.RSAOtherPrimeInfo

Class Overview

The additional prime information specified as triplet of primes, a prime exponent, and a Chinese Remainder Theorem (CRT) coefficient.

Defined in the PKCS #1 v2.1 standard.

Summary

Public Constructors
RSAOtherPrimeInfo(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
Creates a new RSAOtherPrimeInfo with the specified prime, exponent, and CRT coefficient.
Public Methods
final BigInteger getCrtCoefficient()
Returns the CRT coefficient.
final BigInteger getExponent()
Returns the exponent.
final BigInteger getPrime()
Returns the prime factor.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RSAOtherPrimeInfo (BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)

Added in API level 1

Creates a new RSAOtherPrimeInfo with the specified prime, exponent, and CRT coefficient.

Parameters
prime the prime factor.
primeExponent the prime exponent.
crtCoefficient the CRT coefficient.

Public Methods

public final BigInteger getCrtCoefficient ()

Added in API level 1

Returns the CRT coefficient.

Returns
  • the CRT coefficient.

public final BigInteger getExponent ()

Added in API level 1

Returns the exponent.

Returns
  • the exponent.

public final BigInteger getPrime ()

Added in API level 1

Returns the prime factor.

Returns
  • the prime factor.