Class RSAOtherPrimeInfo

java.lang.Object
java.security.spec.RSAOtherPrimeInfo

public class RSAOtherPrimeInfo
extends Object
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.

  • Constructor Details

    • RSAOtherPrimeInfo

      public RSAOtherPrimeInfo​(BigInteger prime, BigInteger primeExponent, BigInteger crtCoefficient)
      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.
  • Method Details

    • getCrtCoefficient

      public final BigInteger getCrtCoefficient()
      Returns the CRT coefficient.
      Returns:
      the CRT coefficient.
    • getPrime

      public final BigInteger getPrime()
      Returns the prime factor.
      Returns:
      the prime factor.
    • getExponent

      public final BigInteger getExponent()
      Returns the exponent.
      Returns:
      the exponent.