Skip to content

Most visited

Recently visited

navigation
Added in API level 1

RSAMultiPrimePrivateCrtKey

public interface RSAMultiPrimePrivateCrtKey
implements RSAPrivateKey

java.security.interfaces.RSAMultiPrimePrivateCrtKey


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.

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.

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: 618058533534628008 (0x0893c8f62dbaf8a8)

Public methods

getCrtCoefficient

Added in API level 1
BigInteger getCrtCoefficient ()

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

Returns
BigInteger the CRT coefficient.

getOtherPrimeInfo

Added in API level 1
RSAOtherPrimeInfo[] getOtherPrimeInfo ()

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

getPrimeExponentP

Added in API level 1
BigInteger getPrimeExponentP ()

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