Stay organized with collections
Save and categorize content based on your preferences.
DHPublicKey
interface DHPublicKey : DHKey, PublicKey
The interface to a Diffie-Hellman public key.
Summary
Constants |
static Long |
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.
|
Public methods |
abstract BigInteger! |
Returns the public value, y .
|
Constants
serialVersionUID
static val serialVersionUID: Long
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
Value: -6628103563352519193L
Public methods
getY
abstract fun getY(): BigInteger!
Returns the public value, 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,["# DHPublicKey\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nDHPublicKey\n===========\n\n```\ninterface DHPublicKey : DHKey, PublicKey\n```\n\n|------------------------------------------|\n| [javax.crypto.interfaces.DHPublicKey](#) |\n\nThe interface to a Diffie-Hellman 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 class fingerprint that is set to indicate serialization compatibility since J2SE 1. |\n\n| Public methods ||\n|-------------------------------------------------------------|----------------------------------------------------|\n| abstract [BigInteger](../../../java/math/BigInteger.html#)! | [getY](#getY())`()` Returns the public value, `y`. |\n\n| Inherited functions ||\n|---|---|\n| From class [DHKey](/reference/kotlin/javax/crypto/interfaces/DHKey) |---------------------------------------------------|-----------------------------------------------------------------------------------------------------------------| | [DHParameterSpec](../spec/DHParameterSpec.html#)! | [getParams](/reference/kotlin/javax/crypto/interfaces/DHKey#getParams())`()` Returns the key parameters. \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) \n\n```\nstatic val serialVersionUID: Long\n```\n\nThe class fingerprint that is set to indicate serialization compatibility since J2SE 1.4. \n\n Value: -6628103563352519193L\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 public value, `y`.\n\n| Return ||\n|----------------------------------------------------|-----------------------|\n| [BigInteger](../../../java/math/BigInteger.html#)! | the public value, `y` |"]]