Class JdkSSLOptions.Builder

    • Field Detail

      • cipherSuites

        protected String[] cipherSuites
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withCipherSuites

        public JdkSSLOptions.Builder withCipherSuites​(String[] cipherSuites)
        Set the cipher suites to use.

        If this method isn't called, the default is to present all the eligible client ciphers to the server.

        Parameters:
        cipherSuites - the cipher suites to use.
        Returns:
        this builder.
      • build

        public JdkSSLOptions build()
        Builds a new instance based on the parameters provided to this builder.
        Returns:
        the new instance.