Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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.Key
From interface java.security.PrivateKey
From interface java.security.interfaces.RSAPrivateKey
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 .
[Expand]
Inherited Methods
From interface java.security.Key
From interface java.security.interfaces.RSAKey
From interface java.security.interfaces.RSAPrivateKey

Constants

public static final long serialVersionUID

Added in API level 1

the serial version identifier.

Constant Value: 618058533534628008 (0x0893c8f62dbaf8a8)

Public Methods

public abstract BigInteger getCrtCoefficient ()

Added in API level 1

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

Returns
  • the CRT coefficient.

public abstract RSAOtherPrimeInfo[] getOtherPrimeInfo ()

Added in API level 1

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 ()

Added in API level 1

Returns the CRT exponent of the prime p .

Returns
  • the CRT exponent of the prime p .

public abstract BigInteger getPrimeExponentQ ()

Added in API level 1

Returns the CRT exponent of the prime q .

Returns
  • the CRT exponent of the prime q .

public abstract BigInteger getPrimeP ()

Added in API level 1

Returns the prime factor p of n .

Returns
  • the prime factor p of n .

public abstract BigInteger getPrimeQ ()

Added in API level 1

Returns the prime factor q of n .

Returns
  • the prime factor q of n .

public abstract BigInteger getPublicExponent ()

Added in API level 1

Returns the public exponent e .

Returns
  • the public exponent e .