Stay organized with collections
Save and categorize content based on your preferences.
RSAPrivateCrtKey
interface RSAPrivateCrtKey : RSAPrivateKey
The interface to an RSA 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.
|
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: -5682214253527700368L
Public methods
getCrtCoefficient
abstract fun getCrtCoefficient(): BigInteger!
Returns the crtCoefficient.
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,["# RSAPrivateCrtKey\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nRSAPrivateCrtKey\n================\n\n```\ninterface RSAPrivateCrtKey : RSAPrivateKey\n```\n\n|------------------------------------------------|\n| [java.security.interfaces.RSAPrivateCrtKey](#) |\n\nThe interface to an RSA 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 [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: -5682214253527700368L\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### 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 |"]]