javax.crypto.interfaces

Interface DHPrivateKey

  • All Superinterfaces:
    javax.security.auth.Destroyable, DHKey, java.security.Key, java.security.PrivateKey, java.io.Serializable


    public interface DHPrivateKey
    extends DHKey, java.security.PrivateKey
    The interface to a Diffie-Hellman private key.
    Since:
    1.4
    Version:
    1.12, 01/14/04
    Author:
    Jan Luehe
    See Also:
    DHKey, DHPublicKey
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static long serialVersionUID
      The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.math.BigInteger getX()
      Returns the private value, x.
      • Methods inherited from interface javax.crypto.interfaces.DHKey

        getParams
      • Methods inherited from interface java.security.Key

        getAlgorithm, getEncoded, getFormat
      • Methods inherited from interface javax.security.auth.Destroyable

        destroy, isDestroyed
    • Field Detail

      • serialVersionUID

        static final long serialVersionUID
        The class fingerprint that is set to indicate serialization compatibility since J2SE 1.4.
        See Also:
        Constant Field Values
    • Method Detail

      • getX

        java.math.BigInteger getX()
        Returns the private value, x.
        Returns:
        the private value, x

© Portions Copyright 2003, 2023 IBM Corporation. All rights reserved.
© Portions Copyright 2003, 2023 Oracle and/or its affiliates. All rights reserved.