DHPublicKey

  • DHPublicKey provides an interface for Diffie-Hellman public keys in Java Cryptography Architecture (JCA).

  • It extends the DHKey and PublicKey interfaces for key management and public key operations.

  • The core functionality is to retrieve the public value (y) and key parameters using getY() and getParams() methods.

  • It includes serialVersionUID to ensure serialization compatibility.

public interface DHPublicKey implements DHKey PublicKey

The interface to a Diffie-Hellman public key.

Constant Summary

long serialVersionUID The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.

Inherited Constant Summary

Public Method Summary

abstract BigInteger
getY()
Returns the public value, y.

Inherited Method Summary

Constants

public static final long serialVersionUID

The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.

Constant Value: -6628103563352519193

Public Methods

public abstract BigInteger getY ()

Returns the public value, y.

Returns
  • the public value, y