Stay organized with collections
Save and categorize content based on your preferences.
DSAPrivateKey
interface DSAPrivateKey : DSAKey, PrivateKey
The standard interface to a DSA private key. DSA (Digital Signature Algorithm) is defined in NIST's FIPS-186.
Summary
Constants |
static Long |
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
|
Public methods |
abstract BigInteger! |
Returns the value of the private key, x .
|
Constants
serialVersionUID
static val serialVersionUID: Long
Deprecated: A serialVersionUID
field in an interface is ineffectual. Do not use; no replacement.
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
Value: 7776497482533790279L
Public methods
getX
abstract fun getX(): BigInteger!
Returns the value of the private key, x
.
Return |
BigInteger! |
the value of the private key, x . |
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,["# DSAPrivateKey\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDSAPrivateKey\n=============\n\n```\ninterface DSAPrivateKey : DSAKey, PrivateKey\n```\n\n|---------------------------------------------|\n| [java.security.interfaces.DSAPrivateKey](#) |\n\nThe standard interface to a DSA private key. DSA (Digital Signature Algorithm) is defined in NIST's FIPS-186.\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 class fingerprint that is set to indicate serialization compatibility with a previous version of the class. |\n\n| Public methods ||\n|-----------------------------------------------------|----------------------------------------------------------------|\n| abstract [BigInteger](../../math/BigInteger.html#)! | [getX](#getX())`()` Returns the value of the private key, `x`. |\n\n| Inherited functions ||\n|---|---|\n| From class [DSAKey](/reference/kotlin/java/security/interfaces/DSAKey) |--------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [DSAParams](/reference/kotlin/java/security/interfaces/DSAParams)! | [getParams](/reference/kotlin/java/security/interfaces/DSAKey#getParams())`()` Returns the DSA-specific key parameters. These parameters are never secret. \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 class fingerprint that is set to indicate serialization compatibility with a previous version of the class. \n\n Value: 7776497482533790279L\n\nPublic methods\n--------------\n\n### getX\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getX(): BigInteger!\n```\n\nReturns the value of the private key, `x`.\n\n| Return ||\n|--------------------------------------------|------------------------------------|\n| [BigInteger](../../math/BigInteger.html#)! | the value of the private key, `x`. |"]]