DHPublicKey (Java SE 15 & JDK 15) (original) (raw)

All Superinterfaces:

[DHKey](DHKey.html "interface in javax.crypto.interfaces"), [Key](../../../java/security/Key.html "interface in java.security"), [PublicKey](../../../java/security/PublicKey.html "interface in java.security"), [Serializable](../../../java/io/Serializable.html "interface in java.io")


public interface DHPublicKey extends DHKey, PublicKey

The interface to a Diffie-Hellman public key.

Since:

1.4

See Also:

DHKey, DHPrivateKey

Fields

Modifier and Type Field Description
static long serialVersionUID Deprecated.
Modifier and Type Method Description
BigInteger getY() Returns the public value, y.