Skip to content

Most visited

Recently visited

navigation
Added in API level 1

DHPrivateKey

public interface DHPrivateKey
implements DHKey, PrivateKey

javax.crypto.interfaces.DHPrivateKey


The interface for a private key in the Diffie-Hellman key exchange protocol.

Summary

Constants

long serialVersionUID

The serialization version identifier.

Inherited constants

From interface java.security.PrivateKey
From interface java.security.Key

Public methods

abstract BigInteger getX()

Returns this key's private value x.

Inherited methods

From interface javax.crypto.interfaces.DHKey
From interface java.security.Key

Constants

serialVersionUID

Added in API level 1
long serialVersionUID

The serialization version identifier.

Constant Value: 2211791113380396553 (0x1eb1dc4c8e677e09)

Public methods

getX

Added in API level 1
BigInteger getX ()

Returns this key's private value x.

Returns
BigInteger this key's private value x.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.