# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

Summary: Constants | Inherited Constants | Methods | Inherited Methods

# DHPrivateKey

`public interface DHPrivateKey`
`implements DHKey, PrivateKey`

javax.crypto.interfaces.DHPrivateKey

The interface to a Diffie-Hellman private key.

See also:

- `DHKey`
- `DHPublicKey`

## Summary

### Constants
`long` | `serialVersionUID` The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.

### Inherited constants
From interface `java.security.PrivateKey`
`long` | `serialVersionUID` The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
From interface `java.security.Key`
`long` | `serialVersionUID` The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

### Public methods
`abstract BigInteger` | `getX()` Returns the private value, `x`.

### Inherited methods
From interface `javax.crypto.interfaces.DHKey`
`abstract DHParameterSpec` | `getParams()` Returns the key parameters.
From interface `java.security.Key`
`abstract String` | `getAlgorithm()` Returns the standard algorithm name for this key.
`abstract byte[]` | `getEncoded()` Returns the key in its primary encoding format, or null if this key does not support encoding.
`abstract String` | `getFormat()` Returns the name of the primary encoding format of this key, or null if this key does not support encoding.
From interface `javax.security.auth.Destroyable`
`default void` | `destroy()` Destroy this `Object`.
`default boolean` | `isDestroyed()` Determine if this `Object` has been destroyed.

## Constants

### serialVersionUID

    public static final long serialVersionUID

The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.

Constant Value: 2211791113380396553 (0x1eb1dc4c8e677e09)

## Public methods

### getX

    public abstract BigInteger getX ()

Returns the private value, `x`.

Returns
`BigInteger` | the private value, `x`

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*