Class DHExtendedPublicKeySpec

  • All Implemented Interfaces:
    java.security.spec.KeySpec

    public class DHExtendedPublicKeySpec
    extends javax.crypto.spec.DHPublicKeySpec
    A DHPublicKeySpec that also carries a set of DH domain parameters.
    • Constructor Summary

      Constructors 
      Constructor Description
      DHExtendedPublicKeySpec​(java.math.BigInteger y, javax.crypto.spec.DHParameterSpec params)
      Base constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.crypto.spec.DHParameterSpec getParams()
      Return the domain parameters associated with this key spec.
      • Methods inherited from class javax.crypto.spec.DHPublicKeySpec

        getG, getP, getY
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DHExtendedPublicKeySpec

        public DHExtendedPublicKeySpec​(java.math.BigInteger y,
                                       javax.crypto.spec.DHParameterSpec params)
        Base constructor.
        Parameters:
        y - the public value.
        params - the domain parameter set.
    • Method Detail

      • getParams

        public javax.crypto.spec.DHParameterSpec getParams()
        Return the domain parameters associated with this key spec.
        Returns:
        the Diffie-Hellman domain parameters.