Class ServerDHParams


  • public class ServerDHParams
    extends java.lang.Object
    • Method Detail

      • encode

        public void encode​(java.io.OutputStream output)
                    throws java.io.IOException
        Encode this ServerDHParams to an OutputStream.
        Parameters:
        output - the OutputStream to encode to.
        Throws:
        java.io.IOException
      • parse

        public static ServerDHParams parse​(java.io.InputStream input)
                                    throws java.io.IOException
        Parse a ServerDHParams from an InputStream.
        Parameters:
        input - the InputStream to parse from.
        Returns:
        a ServerDHParams object.
        Throws:
        java.io.IOException