Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

DHPrivateKey

implements PrivateKey DHKey
javax.crypto.interfaces.DHPrivateKey

Class Overview

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

Summary

Constants
long serialVersionUID The serialization version identifier.
[Expand]
Inherited Constants
From interface java.security.Key
From interface java.security.PrivateKey
Public Methods
abstract BigInteger getX ()
Returns this key's private value x.
[Expand]
Inherited Methods
From interface java.security.Key
From interface javax.crypto.interfaces.DHKey

Constants

public static final long serialVersionUID

Added in API level 1

The serialization version identifier.

Constant Value: 2211791113380396553 (0x1eb1dc4c8e677e09)

Public Methods

public abstract BigInteger getX ()

Added in API level 1

Returns this key's private value x.

Returns
  • this key's private value x.