to top
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

Since: API Level 1

the serial version identifier.

Constant Value: 618058533534628008 (0x0893c8f62dbaf8a8)

Public Methods

public abstract BigInteger getCrtCoefficient ()

Since: API Level 1

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

Returns
  • the CRT coefficient.

public abstract RSAOtherPrimeInfo[] getOtherPrimeInfo ()

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

Since: API Level 1

Returns the CRT exponent of the prime p.

Returns
  • the CRT exponent of the prime p.

public abstract BigInteger getPrimeExponentQ ()

Since: API Level 1

Returns the CRT exponent of the prime q.

Returns
  • the CRT exponent of the prime q.

public abstract BigInteger getPrimeP ()

Since: API Level 1

Returns the prime factor p of n.

Returns
  • the prime factor p of n.

public abstract BigInteger getPrimeQ ()

Since: API Level 1

Returns the prime factor q of n.

Returns
  • the prime factor q of n.

public abstract BigInteger getPublicExponent ()

Since: API Level 1

Returns the public exponent e.

Returns
  • the public exponent e.