javax.crypto.interfaces

Interface DHPrivateKey

All Superinterfaces:
DHKey, java.security.Key, java.security.PrivateKey, java.io.Serializable

  1. public interface DHPrivateKey
  2. extends DHKey, java.security.PrivateKey
The interface to a Diffie-Hellman private key.
Since:
1.4
Version:
1.12, 01/14/04
Author:
Jan Luehe
See Also:
DHKey, DHPublicKey

Field Summary

Modifier and Type Field and Description
  1. static
  2. long
serialVersionUID
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.

Method Summary

Modifier and Type Method and Description
  1. java.math.BigInteger
getX()
Returns the private value, x.
Methods inherited from interface javax.crypto.interfaces.DHKey
getParams
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat

Field Detail

serialVersionUID

  1. static final long serialVersionUID
The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
See Also:

Method Detail

getX

  1. java.math.BigInteger getX()
Returns the private value, x.
Returns:
the private value, x