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
Modifier and Type Method Description BigIntegergetY()Returns this key's public value Y.Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
-
Field Details
-
serialVersionUID
static final long serialVersionUIDThe serial version identifier.- See Also:
- Constant Field Values
-
-
Method Details
-
getY
BigInteger getY()Returns this key's public value Y.- Returns:
- this key's public value Y.
-