Class SupportedCipherSuiteFilter

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

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

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    java.lang.String[]
    filterCipherSuites(java.lang.Iterable<java.lang.String> ciphers, java.util.List<java.lang.String> defaultCiphers, java.util.Set<java.lang.String> supportedCiphers)
    Filter the requested ciphers based upon other cipher characteristics.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SupportedCipherSuiteFilter

      private SupportedCipherSuiteFilter()
  • Method Details

    • filterCipherSuites

      public java.lang.String[] filterCipherSuites(java.lang.Iterable<java.lang.String> ciphers, java.util.List<java.lang.String> defaultCiphers, java.util.Set<java.lang.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.