Android APIs
public interface

RSAPrivateCrtKey

implements RSAPrivateKey
java.security.interfaces.RSAPrivateCrtKey

Class Overview

The interface for a PKCS#1 RSA private key using CRT information values.

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 BigInteger getPrimeExponentP()
Returns the CRT exponent of the primet 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: -5682214253527700368 (0xb124b83df8d1ec70)

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

Added in API level 1

Returns the CRT exponent of the primet 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.