# RSAMultiPrimePrivateCrtKey

public interface **RSAMultiPrimePrivateCrtKey** implements [RSAPrivateKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPrivateKey.html) 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.

##### See Also

- `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/spec/RSAPrivateKeySpec.html`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/spec/RSAMultiPrimePrivateCrtKeySpec.html`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPrivateKey.html`
- `https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPrivateCrtKey.html`

### Constant Summary

|---|---|---|
| long | [serialVersionUID](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAMultiPrimePrivateCrtKey.html#serialVersionUID) | The type fingerprint that is set to indicate serialization compatibility with a previous version of the type. |

### Inherited Constant Summary

From interface [java.security.interfaces.RSAPrivateKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPrivateKey.html)

|---|---|---|
| long | [serialVersionUID](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPrivateKey.html#serialVersionUID) | The type fingerprint that is set to indicate serialization compatibility with a previous version of the type. |

From interface [java.security.PrivateKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PrivateKey.html)

|---|---|---|
| long | [serialVersionUID](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/PrivateKey.html#serialVersionUID) | The class fingerprint that is set to indicate serialization compatibility with a previous version of the class. |

From interface [java.security.Key](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html)

|---|---|---|
| long | [serialVersionUID](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html#serialVersionUID) | The class fingerprint that is set to indicate serialization compatibility with a previous version of the class. |

### Public Method Summary

|---|---|
| abstract BigInteger | [getCrtCoefficient](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAMultiPrimePrivateCrtKey.html#getCrtCoefficient())() Returns the crtCoefficient. |
| abstract [RSAOtherPrimeInfo\[\]](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/spec/RSAOtherPrimeInfo.html) | [getOtherPrimeInfo](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAMultiPrimePrivateCrtKey.html#getOtherPrimeInfo())() Returns the otherPrimeInfo or null if there are only two prime factors (p and q). |
| abstract BigInteger | [getPrimeExponentP](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAMultiPrimePrivateCrtKey.html#getPrimeExponentP())() Returns the primeExponentP. |
| abstract BigInteger | [getPrimeExponentQ](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAMultiPrimePrivateCrtKey.html#getPrimeExponentQ())() Returns the primeExponentQ. |
| abstract BigInteger | [getPrimeP](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAMultiPrimePrivateCrtKey.html#getPrimeP())() Returns the primeP. |
| abstract BigInteger | [getPrimeQ](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAMultiPrimePrivateCrtKey.html#getPrimeQ())() Returns the primeQ. |
| abstract BigInteger | [getPublicExponent](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAMultiPrimePrivateCrtKey.html#getPublicExponent())() Returns the public exponent. |

### Inherited Method Summary

From interface [java.security.interfaces.RSAPrivateKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPrivateKey.html)

|---|---|
| abstract BigInteger | [getPrivateExponent](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAPrivateKey.html#getPrivateExponent())() Returns the private exponent. |

From interface [java.security.interfaces.RSAKey](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAKey.html)

|---|---|
| abstract BigInteger | [getModulus](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/interfaces/RSAKey.html#getModulus())() Returns the modulus. |

From interface [java.security.Key](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html)

|---|---|
| abstract [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getAlgorithm](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html#getAlgorithm())() Returns the standard algorithm name for this key. |
| abstract byte\[\] | [getEncoded](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html#getEncoded())() Returns the key in its primary encoding format, or null if this key does not support encoding. |
| abstract [String](https://developers.google.com/j2objc/javadoc/jre/reference/java/lang/String.html) | [getFormat](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/Key.html#getFormat())() Returns the name of the primary encoding format of this key, or null if this key does not support encoding. |

From interface [javax.security.auth.Destroyable](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/auth/Destroyable.html)

|---|---|
| void | [destroy](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/auth/Destroyable.html#destroy())() Destroy this `Object`. |
| boolean | [isDestroyed](https://developers.google.com/j2objc/javadoc/jre/reference/javax/security/auth/Destroyable.html#isDestroyed())() Determine if this `Object` has been destroyed. |

## Constants

#### public static final long
**serialVersionUID**

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

## Public Methods

#### public abstract BigInteger
**getCrtCoefficient**
()

Returns the crtCoefficient.

##### Returns

- the crtCoefficient.

#### public abstract [RSAOtherPrimeInfo\[\]](https://developers.google.com/j2objc/javadoc/jre/reference/java/security/spec/RSAOtherPrimeInfo.html)
**getOtherPrimeInfo**
()

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

##### Returns

- the otherPrimeInfo.

#### public abstract BigInteger
**getPrimeExponentP**
()

Returns the primeExponentP.

##### Returns

- the primeExponentP.

#### public abstract BigInteger
**getPrimeExponentQ**
()

Returns the primeExponentQ.

##### Returns

- the primeExponentQ.

#### public abstract BigInteger
**getPrimeP**
()

Returns the primeP.

##### Returns

- the primeP.

#### public abstract BigInteger
**getPrimeQ**
()

Returns the primeQ.

##### Returns

- the primeQ.

#### public abstract BigInteger
**getPublicExponent**
()

Returns the public exponent.

##### Returns

- the public exponent.