Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Method Detail

      • 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.