RSAMultiPrimePrivateCrtKey - JRE Emulation | JRE Emulation
public interface

RSAMultiPrimePrivateCrtKey

implements RSAPrivateKey
java.security.interfaces.RSAMultiPrimePrivateCrtKey

Class Overview

The interface for a Multi-Prime RSA private key. Specified by PKCS #1 v2.0 Amendment 1: Multi-Prime RSA.

Summary

Constants
long serialVersionUID the serial version identifier.
[Expand]
Inherited Constants
From interface java.security.interfaces.RSAPrivateKey
From interface java.security.PrivateKey
From interface java.security.Key
Public Methods
abstract BigInteger getCrtCoefficient()
Returns the CRT coefficient, q^-1 mod p.
abstract RSAOtherPrimeInfo[] getOtherPrimeInfo()
Returns the information for the additional primes.
abstract BigInteger getPrimeExponentP()
Returns the CRT exponent of the prime p.
abstract BigInteger getPrimeExponentQ()
Returns the CRT exponent of the prime q.
abstract BigInteger getPrimeP()
Returns the prime factor p of n.
abstract BigInteger getPrimeQ()
Returns the prime factor q of n.
abstract BigInteger getPublicExponent()
Returns the public exponent e.
Inherited Methods
[Expand]
From interface java.security.interfaces.RSAPrivateKey
From interface java.security.interfaces.RSAKey
From interface java.security.Key

Constants

public static final long serialVersionUID

the serial version identifier.

Constant Value: 618058533534628008 (0x0893c8f62dbaf8a8)

Public Methods

public abstract BigInteger getCrtCoefficient ()

Returns the CRT coefficient, q^-1 mod p.

Returns
  • the CRT coefficient.

public abstract RSAOtherPrimeInfo[] getOtherPrimeInfo ()

Returns the information for the additional primes.

Returns
  • the information for the additional primes, or null if there are only the two primes (p, q),

public abstract BigInteger getPrimeExponentP ()

Returns the CRT exponent of the prime p.

Returns
  • the CRT exponent of the prime p.

public abstract BigInteger getPrimeExponentQ ()

Returns the CRT exponent of the prime q.

Returns
  • the CRT exponent of the prime q.

public abstract BigInteger getPrimeP ()

Returns the prime factor p of n.

Returns
  • the prime factor p of n.

public abstract BigInteger getPrimeQ ()

Returns the prime factor q of n.

Returns
  • the prime factor q of n.

public abstract BigInteger getPublicExponent ()

Returns the public exponent e.

Returns
  • the public exponent e.