Stay organized with collections Save and categorize content based on your preferences.
RSAMultiPrimePrivateCrtKey
interface RSAMultiPrimePrivateCrtKey : RSAPrivateKey
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.
Summary
Constants |
static Long | The type fingerprint that is set to indicate serialization compatibility with a previous version of the type. |
Public methods |
abstract BigInteger! | Returns the crtCoefficient. |
abstract Array<RSAOtherPrimeInfo!>! | Returns the otherPrimeInfo or null if there are only two prime factors (p and q). |
abstract BigInteger! | Returns the primeExponentP. |
abstract BigInteger! | Returns the primeExponentQ. |
abstract BigInteger! | Returns the primeP. |
abstract BigInteger! | Returns the primeQ. |
abstract BigInteger! | Returns the public exponent. |
Constants
serialVersionUID
static val serialVersionUID: Long
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.
Value: 618058533534628008L
Public methods
getCrtCoefficient
abstract fun getCrtCoefficient(): BigInteger!
Returns the crtCoefficient.
getOtherPrimeInfo
abstract fun getOtherPrimeInfo(): Array<RSAOtherPrimeInfo!>!
Returns the otherPrimeInfo or null if there are only two prime factors (p and q).
getPrimeExponentP
abstract fun getPrimeExponentP(): BigInteger!
Returns the primeExponentP.
getPrimeExponentQ
abstract fun getPrimeExponentQ(): BigInteger!
Returns the primeExponentQ.
getPrimeP
abstract fun getPrimeP(): BigInteger!
Returns the primeP.
getPrimeQ
abstract fun getPrimeQ(): BigInteger!
Returns the primeQ.
getPublicExponent
abstract fun getPublicExponent(): BigInteger!
Returns the public exponent.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# RSAMultiPrimePrivateCrtKey\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nRSAMultiPrimePrivateCrtKey\n==========================\n\n```\ninterface RSAMultiPrimePrivateCrtKey : RSAPrivateKey\n```\n\n|----------------------------------------------------------|\n| [java.security.interfaces.RSAMultiPrimePrivateCrtKey](#) |\n\nThe interface to an RSA multi-prime private key, as defined in the [PKCS#1 v2.2](https://tools.ietf.org/rfc/rfc8017.txt) standard, using the *Chinese Remainder Theorem* (CRT) information values.\n\nSummary\n-------\n\n| Constants ||\n|-------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| static [Long](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html) | [serialVersionUID](#serialVersionUID:kotlin.Long) The type fingerprint that is set to indicate serialization compatibility with a previous version of the type. |\n\n| Public methods ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getCrtCoefficient](#getCrtCoefficient())`()` Returns the crtCoefficient. |\n| abstract [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\\\u003c[RSAOtherPrimeInfo](../spec/RSAOtherPrimeInfo.html#)!\\\u003e! | [getOtherPrimeInfo](#getOtherPrimeInfo())`()` Returns the otherPrimeInfo or null if there are only two prime factors (p and q). |\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getPrimeExponentP](#getPrimeExponentP())`()` Returns the primeExponentP. |\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getPrimeExponentQ](#getPrimeExponentQ())`()` Returns the primeExponentQ. |\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getPrimeP](#getPrimeP())`()` Returns the primeP. |\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getPrimeQ](#getPrimeQ())`()` Returns the primeQ. |\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getPublicExponent](#getPublicExponent())`()` Returns the public exponent. |\n\n| Inherited functions ||\n|---|---|\n| From class [RSAKey](/reference/kotlin/java/security/interfaces/RSAKey) |-----------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [BigInteger](../../math/BigInteger.html#)! | [getModulus](/reference/kotlin/java/security/interfaces/RSAKey#getModulus())`()` Returns the modulus. \u003cbr /\u003e | | [AlgorithmParameterSpec](../spec/AlgorithmParameterSpec.html#)! | [getParams](/reference/kotlin/java/security/interfaces/RSAKey#getParams())`()` Returns the parameters associated with this key. The parameters are optional and may be either explicitly specified or implicitly created during key pair generation. \u003cbr /\u003e | ||\n| From class [RSAPrivateKey](/reference/kotlin/java/security/interfaces/RSAPrivateKey) |--------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------| | [BigInteger](../../math/BigInteger.html#)! | [getPrivateExponent](/reference/kotlin/java/security/interfaces/RSAPrivateKey#getPrivateExponent())`()` Returns the private exponent. \u003cbr /\u003e | ||\n\nConstants\n---------\n\n### serialVersionUID\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \nDeprecated in [API level 35](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nstatic val serialVersionUID: Long\n```\n\n**Deprecated:** *A `serialVersionUID` field in an interface is ineffectual. Do not use; no replacement.*\n\nThe type fingerprint that is set to indicate serialization compatibility with a previous version of the type. \n\n Value: 618058533534628008L\n\nPublic methods\n--------------\n\n### getCrtCoefficient\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getCrtCoefficient(): BigInteger!\n```\n\nReturns the crtCoefficient.\n\n| Return ||\n|--------------------------------------------|---------------------|\n| [BigInteger](../../math/BigInteger.html#)! | the crtCoefficient. |\n\n### getOtherPrimeInfo\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getOtherPrimeInfo(): Array\u003cRSAOtherPrimeInfo!\u003e!\n```\n\nReturns the otherPrimeInfo or null if there are only two prime factors (p and q).\n\n| Return ||\n|----------------------------------------------------------------------------------------------------------------------------------------|---------------------|\n| [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)\u003c[RSAOtherPrimeInfo](../spec/RSAOtherPrimeInfo.html#)!\u003e! | the otherPrimeInfo. |\n\n### getPrimeExponentP\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getPrimeExponentP(): BigInteger!\n```\n\nReturns the primeExponentP.\n\n| Return ||\n|--------------------------------------------|---------------------|\n| [BigInteger](../../math/BigInteger.html#)! | the primeExponentP. |\n\n### getPrimeExponentQ\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getPrimeExponentQ(): BigInteger!\n```\n\nReturns the primeExponentQ.\n\n| Return ||\n|--------------------------------------------|---------------------|\n| [BigInteger](../../math/BigInteger.html#)! | the primeExponentQ. |\n\n### getPrimeP\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getPrimeP(): BigInteger!\n```\n\nReturns the primeP.\n\n| Return ||\n|--------------------------------------------|-------------|\n| [BigInteger](../../math/BigInteger.html#)! | the primeP. |\n\n### getPrimeQ\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getPrimeQ(): BigInteger!\n```\n\nReturns the primeQ.\n\n| Return ||\n|--------------------------------------------|-------------|\n| [BigInteger](../../math/BigInteger.html#)! | the primeQ. |\n\n### getPublicExponent\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getPublicExponent(): BigInteger!\n```\n\nReturns the public exponent.\n\n| Return ||\n|--------------------------------------------|----------------------|\n| [BigInteger](../../math/BigInteger.html#)! | the public exponent. |"]]