Name

Interface javax.crypto.interfaces.DHPublicKey

Description

This interface represents a public key in a Diffie-Hellman key agreement protocol. The public key value, y, is calculated from the private key value, x.

Interface Definition

public abstract interface javax.crypto.interfaces.DHPublicKey
  implements javax.crypto.interfaces.DHKey, java.security.PublicKey {

  // Instance Methods
  public abstract BigInteger getY();
}

See Also

DHKey, DHPrivateKey, PublicKey

Get Java Cryptography now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.