APIdia Launch Partner
Top Description Fields Methods
java.security.interfaces

public Interface RSAMultiPrimePrivateCrtKey

extends RSAPrivateKey
Imports
java.math.BigInteger, java.security.spec.RSAOtherPrimeInfo

The interface to an RSA multi-prime private key, as defined in the PKCS#1 v2.2 standard, using the Chinese Remainder Theorem (CRT) information values.
Author
Valerie Peng
Since
1.4
External Specification
https://www.rfc-editor.org/info/rfc8017
See Also
java.security.spec.RSAPrivateKeySpec, java.security.spec.RSAMultiPrimePrivateCrtKeySpec, RSAPrivateKey, RSAPrivateCrtKey

Field Summary

Modifier and TypeField and Description
public static final long
serialVersionUID

Hides java.security.interfaces.RSAPrivateKey.serialVersionUID.

Deprecated A serialVersionUID field in an interface is ineffectual. Do not use; no replacement.
The type fingerprint that is set to indicate serialization compatibility with a previous version of the type.

Method Summary

Modifier and TypeMethod and Description
public BigInteger

Returns:

the crtCoefficient.
getCrtCoefficient
()

Returns the crtCoefficient.

public RSAOtherPrimeInfo[]

Returns:

the otherPrimeInfo.
getOtherPrimeInfo
()

Returns the otherPrimeInfo or null if there are only two prime factors (p and q).

public BigInteger

Returns:

the primeExponentP.
getPrimeExponentP
()

Returns the primeExponentP.

public BigInteger

Returns:

the primeExponentQ.
getPrimeExponentQ
()

Returns the primeExponentQ.

public BigInteger

Returns:

the primeP.
getPrimeP
()

Returns the primeP.

public BigInteger

Returns:

the primeQ.
getPrimeQ
()

Returns the primeQ.

public BigInteger

Returns:

the public exponent.
getPublicExponent
()

Returns the public exponent.

Inherited from java.security.interfaces.RSAPrivateKey:
getParamsgetPrivateExponent

Field Detail

serialVersionUIDback to summary
public static final long serialVersionUID

Hides java.security.interfaces.RSAPrivateKey.serialVersionUID.

Deprecated

A serialVersionUID field in an interface is ineffectual. Do not use; no replacement.

The type fingerprint that is set to indicate serialization compatibility with a previous version of the type.

Annotations
@Deprecated
@Serial

Method Detail

getCrtCoefficientback to summary
public BigInteger getCrtCoefficient()

Returns the crtCoefficient.

Returns:BigInteger

the crtCoefficient.

getOtherPrimeInfoback to summary
public RSAOtherPrimeInfo[] getOtherPrimeInfo()

Returns the otherPrimeInfo or null if there are only two prime factors (p and q).

Returns:RSAOtherPrimeInfo[]

the otherPrimeInfo.

getPrimeExponentPback to summary
public BigInteger getPrimeExponentP()

Returns the primeExponentP.

Returns:BigInteger

the primeExponentP.

getPrimeExponentQback to summary
public BigInteger getPrimeExponentQ()

Returns the primeExponentQ.

Returns:BigInteger

the primeExponentQ.

getPrimePback to summary
public BigInteger getPrimeP()

Returns the primeP.

Returns:BigInteger

the primeP.

getPrimeQback to summary
public BigInteger getPrimeQ()

Returns the primeQ.

Returns:BigInteger

the primeQ.

getPublicExponentback to summary
public BigInteger getPublicExponent()

Returns the public exponent.

Returns:BigInteger

the public exponent.