Class SupportedCipherSuiteFilter

java.lang.Object
io.netty.handler.ssl.SupportedCipherSuiteFilter
All Implemented Interfaces:
CipherSuiteFilter

public final class SupportedCipherSuiteFilter extends Object implements CipherSuiteFilter
This class will filter all requested ciphers out that are not supported by the current SSLEngine.
  • Field Details

  • Constructor Details

    • SupportedCipherSuiteFilter

      private SupportedCipherSuiteFilter()
  • Method Details

    • filterCipherSuites

      public String[] filterCipherSuites(Iterable<String> ciphers, List<String> defaultCiphers, Set<String> supportedCiphers)
      Description copied from interface: CipherSuiteFilter
      Filter the requested ciphers based upon other cipher characteristics.
      Specified by:
      filterCipherSuites in interface CipherSuiteFilter
      Parameters:
      ciphers - The requested ciphers
      defaultCiphers - The default recommended ciphers for the current SSLEngine as determined by Netty
      supportedCiphers - The supported ciphers for the current SSLEngine
      Returns:
      The filter list of ciphers. Must not return null.