java.security.interfaces

Interface RSAMultiPrimePrivateCrtKey

public interface RSAMultiPrimePrivateCrtKey extends RSAPrivateKey

The interface to an RSA multi-prime private key, as defined in the PKCS#1 v2.1, using the Chinese Remainder Theorem (CRT) information values.

Since: 1.4

See Also: RSAPrivateKeySpec RSAMultiPrimePrivateCrtKeySpec RSAPrivateKey RSAPrivateCrtKey

Field Summary
longserialVersionUID
Method Summary
BigIntegergetCrtCoefficient()
Returns the CRT Coefficient.
RSAOtherPrimeInfo[]getOtherPrimeInfo()
Returns the OtherPrimeInfo triplet MPIs or null if there are only two known prime factors (p and q).
BigIntegergetPrimeExponentP()
Returns the prime's exponent p.
BigIntegergetPrimeExponentQ()
Returns the prime's exponent q.
BigIntegergetPrimeP()
Returns the prime p.
BigIntegergetPrimeQ()
Returns the prime q.
BigIntegergetPublicExponent()
Returns the public exponent.

Field Detail

serialVersionUID

public long serialVersionUID

Method Detail

getCrtCoefficient

public BigInteger getCrtCoefficient()
Returns the CRT Coefficient.

Returns: the CRT Coefficient.

getOtherPrimeInfo

public RSAOtherPrimeInfo[] getOtherPrimeInfo()
Returns the OtherPrimeInfo triplet MPIs or null if there are only two known prime factors (p and q).

Returns: the OtherPrimeInfo INTEGERs.

getPrimeExponentP

public BigInteger getPrimeExponentP()
Returns the prime's exponent p.

Returns: the prime's exponent p.

getPrimeExponentQ

public BigInteger getPrimeExponentQ()
Returns the prime's exponent q.

Returns: the prime's exponent q.

getPrimeP

public BigInteger getPrimeP()
Returns the prime p.

Returns: the prime p.

getPrimeQ

public BigInteger getPrimeQ()
Returns the prime q.

Returns: the prime q.

getPublicExponent

public BigInteger getPublicExponent()
Returns the public exponent.

Returns: the public exponent.