Top Description Fields Constructors Methods
io.netty5.handler.ssl

public final Class SupportedCipherSuiteFilter

extends Object
implements CipherSuiteFilter
Class Inheritance
All Implemented Interfaces
io.netty5.handler.ssl.CipherSuiteFilter
Imports
io.netty5.util.internal.EmptyArrays, javax.net.ssl.SSLEngine, java.util.ArrayList, .List, .Set

This class will filter all requested ciphers out that are not supported by the current SSLEngine.

Field Summary

Modifier and TypeField and Description
public static final SupportedCipherSuiteFilter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String[]
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
)

Implements io.netty5.handler.ssl.CipherSuiteFilter.filterCipherSuites.

Filter the requested ciphers based upon other cipher characteristics.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final SupportedCipherSuiteFilter INSTANCE

Constructor Detail

SupportedCipherSuiteFilterback to summary
private SupportedCipherSuiteFilter()

Method Detail

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

Implements io.netty5.handler.ssl.CipherSuiteFilter.filterCipherSuites.

Doc from io.netty5.handler.ssl.CipherSuiteFilter.filterCipherSuites.

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.

Annotations
@Override