Package javax.crypto.interfaces
Interface DHPrivateKey
-
- All Superinterfaces:
DHKey,Key,PrivateKey,Serializable
- All Known Implementing Classes:
BCDHPrivateKey,JCEDHPrivateKey
public interface DHPrivateKey extends DHKey, PrivateKey
The interface for a private key in the Diffie-Hellman key exchange protocol.
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUIDThe serialization version identifier.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BigIntegergetX()Returns this key's private value x.-
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
The serialization version identifier.- See Also:
- Constant Field Values
-
-
Method Detail
-
getX
BigInteger getX()
Returns this key's private value x.- Returns:
- this key's private value x.
-
-