Module java.base

Interface DHPublicKey

所有超接口:
DHKey, Key, PublicKey, Serializable

public interface DHPublicKey extends DHKey, PublicKey
Diffie-Hellman公钥的接口。
自版本:
1.4
参见:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
    已弃用。
    接口中的serialVersionUID字段是无效的。
  • Method Summary

    Modifier and Type
    Method
    Description
    getY()
    返回公共值y

    Methods declared in interface javax.crypto.interfaces.DHKey

    getParams

    Methods declared in interface java.security.Key

    getAlgorithm, getEncoded, getFormat
  • Field Details

    • serialVersionUID

      @Deprecated static final long serialVersionUID
      Deprecated.
      A serialVersionUID field in an interface is ineffectual. Do not use; no replacement.
      自J2SE 1.4以来用于指示序列化兼容性的类指纹。
      参见:
  • Method Details

    • getY

      BigInteger getY()
      返回公共值y
      返回:
      公共值y