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

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.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.