Class SupportedCipherSuiteFilter
java.lang.Object
io.netty.handler.ssl.SupportedCipherSuiteFilter
- All Implemented Interfaces:
CipherSuiteFilter
This class will filter all requested ciphers out that are not supported by the current
SSLEngine.-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
filterCipherSuites
public String[] filterCipherSuites(Iterable<String> ciphers, List<String> defaultCiphers, Set<String> supportedCiphers) Description copied from interface:CipherSuiteFilterFilter the requestedciphersbased upon other cipher characteristics.- Specified by:
filterCipherSuitesin interfaceCipherSuiteFilter- Parameters:
ciphers- The requested ciphersdefaultCiphers- The default recommended ciphers for the currentSSLEngineas determined by NettysupportedCiphers- The supported ciphers for the currentSSLEngine- Returns:
- The filter list of ciphers. Must not return
null.
-