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 long serialVersionUID
    The serial version identifier.
  • Method Summary

    Modifier and Type Method Description
    BigInteger getY()
    Returns this key's public value Y.

    Methods inherited from interface javax.crypto.interfaces.DHKey

    getParams

    Methods inherited from interface java.security.Key

    getAlgorithm, getEncoded, getFormat
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      The 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.