Skip to content

Most visited

Recently visited

navigation
Added in API level 1

RSAPrivateCrtKey

public interface RSAPrivateCrtKey
implements RSAPrivateKey

java.security.interfaces.RSAPrivateCrtKey


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

Summary

Constants

long serialVersionUID

The serial version identifier.

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 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.

Inherited methods

From interface java.security.interfaces.RSAPrivateKey
From interface java.security.interfaces.RSAKey
From interface java.security.Key

Constants

serialVersionUID

Added in API level 1
long serialVersionUID

The serial version identifier.

Constant Value: -5682214253527700368 (0xb124b83df8d1ec70)

Public methods

getCrtCoefficient

Added in API level 1
BigInteger getCrtCoefficient ()

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

Returns
BigInteger the CRT coefficient.

getPrimeExponentP

Added in API level 1
BigInteger getPrimeExponentP ()

Returns the CRT exponent of the primet p.

Returns
BigInteger the CRT exponent of the prime p.

getPrimeExponentQ

Added in API level 1
BigInteger getPrimeExponentQ ()

Returns the CRT exponent of the prime q.

Returns
BigInteger the CRT exponent of the prime q.

getPrimeP

Added in API level 1
BigInteger getPrimeP ()

Returns the prime factor p of n.

Returns
BigInteger the prime factor p of n.

getPrimeQ

Added in API level 1
BigInteger getPrimeQ ()

Returns the prime factor q of n.

Returns
BigInteger the prime factor q of n.

getPublicExponent

Added in API level 1
BigInteger getPublicExponent ()

Returns the public exponent e.

Returns
BigInteger the public exponent e.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.