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.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.
[Expand]
Inherited Methods
From interface java.security.interfaces.RSAPrivateKey
From interface java.security.interfaces.RSAKey
From interface java.security.Key

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
BigInteger the CRT coefficient.

public abstract RSAOtherPrimeInfo[] getOtherPrimeInfo ()

Added in API level 1

Returns the information for the additional primes.

Returns
RSAOtherPrimeInfo[] 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
BigInteger 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
BigInteger the CRT exponent of the prime q.

public abstract BigInteger getPrimeP ()

Added in API level 1

Returns the prime factor p of n.

Returns
BigInteger the prime factor p of n.

public abstract BigInteger getPrimeQ ()

Added in API level 1

Returns the prime factor q of n.

Returns
BigInteger the prime factor q of n.

public abstract BigInteger getPublicExponent ()

Added in API level 1

Returns the public exponent e.

Returns
BigInteger the public exponent e.