Package io.netty.handler.ssl
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 -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
-
-
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 requestedciphers
based upon other cipher characteristics.- Specified by:
filterCipherSuites
in interfaceCipherSuiteFilter
- Parameters:
ciphers
- The requested ciphersdefaultCiphers
- The default recommended ciphers for the currentSSLEngine
as determined by NettysupportedCiphers
- The supported ciphers for the currentSSLEngine
- Returns:
- The filter list of ciphers. Must not return
null
.
-