Android APIs
public interface

DHPrivateKey

implements DHKey PrivateKey
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.PrivateKey
From interface java.security.Key
Public Methods
abstract BigInteger getX()
Returns this key's private value x.
[Expand]
Inherited Methods
From interface javax.crypto.interfaces.DHKey
From interface java.security.Key

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
BigInteger this key's private value x.