Class DHExtendedPublicKeySpec

  • All Implemented Interfaces:
    KeySpec

    public class DHExtendedPublicKeySpec
    extends DHPublicKeySpec
    A DHPublicKeySpec that also carries a set of DH domain parameters.
    • Constructor Detail

      • DHExtendedPublicKeySpec

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

      • getParams

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