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