java.security.interfaces
Interface RSAMultiPrimePrivateCrtKey

All Superinterfaces:
Key, PrivateKey, RSAKey, RSAPrivateKey, Serializable

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
static long serialVersionUID
           
 
Method Summary
 BigInteger getCrtCoefficient()
          Returns the CRT Coefficient.
 RSAOtherPrimeInfo[] getOtherPrimeInfo()
          Returns the OtherPrimeInfo triplet MPIs or null if there are only two known prime factors (p and q).
 BigInteger getPrimeExponentP()
          Returns the prime's exponent p.
 BigInteger getPrimeExponentQ()
          Returns the prime's exponent q.
 BigInteger getPrimeP()
          Returns the prime p.
 BigInteger getPrimeQ()
          Returns the prime q.
 BigInteger getPublicExponent()
          Returns the public exponent.
 
Methods inherited from interface java.security.interfaces.RSAPrivateKey
getPrivateExponent
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 
Methods inherited from interface java.security.interfaces.RSAKey
getModulus
 

Field Detail

serialVersionUID

static final long serialVersionUID
See Also:
Constant Field Values
Method Detail

getPublicExponent

BigInteger getPublicExponent()
Returns the public exponent.

Returns:
the public exponent.

getPrimeP

BigInteger getPrimeP()
Returns the prime p.

Returns:
the prime p.

getPrimeQ

BigInteger getPrimeQ()
Returns the prime q.

Returns:
the prime q.

getPrimeExponentP

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

Returns:
the prime's exponent p.

getPrimeExponentQ

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

Returns:
the prime's exponent q.

getCrtCoefficient

BigInteger getCrtCoefficient()
Returns the CRT Coefficient.

Returns:
the CRT Coefficient.

getOtherPrimeInfo

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

Returns:
the OtherPrimeInfo INTEGERs.