to top
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

Since: API Level 1

The serialization version identifier.

Constant Value: 2211791113380396553 (0x1eb1dc4c8e677e09)

Public Methods

public abstract BigInteger getX ()

Since: API Level 1

Returns this key's private value x.

Returns
  • this key's private value x.