Stay organized with collections
Save and categorize content based on your preferences.
DSAPublicKey
interface DSAPublicKey : DSAKey, PublicKey
The interface to a DSA public 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 public key, y .
|
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: 1234526332779022332L
Public methods
getY
abstract fun getY(): BigInteger!
Returns the value of the public key, y
.
Return |
BigInteger! |
the value of the public key, y . |
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.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# DSAPublicKey\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDSAPublicKey\n============\n\n```\ninterface DSAPublicKey : DSAKey, PublicKey\n```\n\n|--------------------------------------------|\n| [java.security.interfaces.DSAPublicKey](#) |\n\nThe interface to a DSA public 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#)! | [getY](#getY())`()` Returns the value of the public key, `y`. |\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: 1234526332779022332L\n\nPublic methods\n--------------\n\n### getY\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nabstract fun getY(): BigInteger!\n```\n\nReturns the value of the public key, `y`.\n\n| Return ||\n|--------------------------------------------|-----------------------------------|\n| [BigInteger](../../math/BigInteger.html#)! | the value of the public key, `y`. |"]]