Top Description Methods
io.netty.handler.ssl

public Interface CipherSuiteFilter

Known Direct Implementers
io.netty.handler.ssl.SupportedCipherSuiteFilter, io.netty.handler.ssl.IdentityCipherSuiteFilter
Imports
javax.net.ssl.SSLEngine, java.util.List, .Set

Provides a means to filter the supplied cipher suite based upon the supported and default cipher suites.

Method Summary

Modifier and TypeMethod and Description
public String[]

Returns:

The filter list of ciphers. Must not return null.
filterCipherSuites
(Iterable<String>
The requested ciphers
ciphers
,
List<String>
The default recommended ciphers for the current SSLEngine as determined by Netty
defaultCiphers
,
Set<String>
The supported ciphers for the current SSLEngine
supportedCiphers
)

Filter the requested ciphers based upon other cipher characteristics.

Method Detail

filterCipherSuitesback to summary
public String[] filterCipherSuites(Iterable<String> ciphers, List<String> defaultCiphers, Set<String> supportedCiphers)

Filter the requested ciphers based upon other cipher characteristics.

Parameters
ciphers:Iterable<String>

The requested ciphers

defaultCiphers:List<String>

The default recommended ciphers for the current SSLEngine as determined by Netty

supportedCiphers:Set<String>

The supported ciphers for the current SSLEngine

Returns:String[]

The filter list of ciphers. Must not return null.