java.security.interfaces
Interface RSAMultiPrimePrivateCrtKey

All Superinterfaces:
Key sample code for java.security.Key definition code for java.security.Key , PrivateKey sample code for java.security.PrivateKey definition code for java.security.PrivateKey , RSAKey sample code for java.security.interfaces.RSAKey definition code for java.security.interfaces.RSAKey , RSAPrivateKey sample code for java.security.interfaces.RSAPrivateKey definition code for java.security.interfaces.RSAPrivateKey , Serializable sample code for java.io.Serializable definition code for java.io.Serializable

public interface RSAMultiPrimePrivateCrtKey
extends RSAPrivateKey sample code for java.security.interfaces.RSAPrivateKey definition code for java.security.interfaces.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 sample code for java.security.spec.RSAPrivateKeySpec definition code for java.security.spec.RSAPrivateKeySpec , RSAMultiPrimePrivateCrtKeySpec sample code for java.security.spec.RSAMultiPrimePrivateCrtKeySpec definition code for java.security.spec.RSAMultiPrimePrivateCrtKeySpec , RSAPrivateKey sample code for java.security.interfaces.RSAPrivateKey definition code for java.security.interfaces.RSAPrivateKey , RSAPrivateCrtKey sample code for java.security.interfaces.RSAPrivateCrtKey definition code for java.security.interfaces.RSAPrivateCrtKey

Field Summary
static long serialVersionUID sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.serialVersionUID definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.serialVersionUID
           
 
Method Summary
 BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger getCrtCoefficient sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getCrtCoefficient() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getCrtCoefficient() ()
          Returns the crtCoefficient.
 RSAOtherPrimeInfo sample code for java.security.spec.RSAOtherPrimeInfo definition code for java.security.spec.RSAOtherPrimeInfo [] getOtherPrimeInfo sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getOtherPrimeInfo() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getOtherPrimeInfo() ()
          Returns the otherPrimeInfo or null if there are only two prime factors (p and q).
 BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger getPrimeExponentP sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeExponentP() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeExponentP() ()
          Returns the primeExponentP.
 BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger getPrimeExponentQ sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeExponentQ() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeExponentQ() ()
          Returns the primeExponentQ.
 BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger getPrimeP sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeP() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeP() ()
          Returns the primeP.
 BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger getPrimeQ sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeQ() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeQ() ()
          Returns the primeQ.
 BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger getPublicExponent sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPublicExponent() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPublicExponent() ()
          Returns the public exponent.
 
Methods inherited from interface java.security.interfaces.RSAPrivateKey sample code for java.security.interfaces.RSAPrivateKey definition code for java.security.interfaces.RSAPrivateKey
getPrivateExponent sample code for java.security.interfaces.RSAPrivateKey.getPrivateExponent() definition code for java.security.interfaces.RSAPrivateKey.getPrivateExponent()
 
Methods inherited from interface java.security.Key sample code for java.security.Key definition code for java.security.Key
getAlgorithm sample code for java.security.Key.getAlgorithm() definition code for java.security.Key.getAlgorithm() , getEncoded sample code for java.security.Key.getEncoded() definition code for java.security.Key.getEncoded() , getFormat sample code for java.security.Key.getFormat() definition code for java.security.Key.getFormat()
 
Methods inherited from interface java.security.interfaces.RSAKey sample code for java.security.interfaces.RSAKey definition code for java.security.interfaces.RSAKey
getModulus sample code for java.security.interfaces.RSAKey.getModulus() definition code for java.security.interfaces.RSAKey.getModulus()
 

Field Detail

serialVersionUID sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.serialVersionUID

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

getPublicExponent sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPublicExponent() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPublicExponent()

BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  getPublicExponent()
Returns the public exponent.

Returns:
the public exponent.

getPrimeP sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeP() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeP()

BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  getPrimeP()
Returns the primeP.

Returns:
the primeP.

getPrimeQ sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeQ() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeQ()

BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  getPrimeQ()
Returns the primeQ.

Returns:
the primeQ.

getPrimeExponentP sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeExponentP() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeExponentP()

BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  getPrimeExponentP()
Returns the primeExponentP.

Returns:
the primeExponentP.

getPrimeExponentQ sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeExponentQ() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getPrimeExponentQ()

BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  getPrimeExponentQ()
Returns the primeExponentQ.

Returns:
the primeExponentQ.

getCrtCoefficient sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getCrtCoefficient() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getCrtCoefficient()

BigInteger sample code for java.math.BigInteger definition code for java.math.BigInteger  getCrtCoefficient()
Returns the crtCoefficient.

Returns:
the crtCoefficient.

getOtherPrimeInfo sample code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getOtherPrimeInfo() definition code for java.security.interfaces.RSAMultiPrimePrivateCrtKey.getOtherPrimeInfo()

RSAOtherPrimeInfo sample code for java.security.spec.RSAOtherPrimeInfo definition code for java.security.spec.RSAOtherPrimeInfo [] getOtherPrimeInfo()
Returns the otherPrimeInfo or null if there are only two prime factors (p and q).

Returns:
the otherPrimeInfo.