Stay organized with collections
Save and categorize content based on your preferences.
RSAPublicKey
interface RSAPublicKey : PublicKey, RSAKey
The interface to an RSA public key.
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 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: -8727434096241101194L
Public methods
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,["# RSAPublicKey\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nRSAPublicKey\n============\n\n```\ninterface RSAPublicKey : PublicKey, RSAKey\n```\n\n|--------------------------------------------|\n| [java.security.interfaces.RSAPublicKey](#) |\n\nThe interface to an RSA public key.\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#)! | [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\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: -8727434096241101194L\n\nPublic methods\n--------------\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 |"]]