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

public final Class IdentityCipherSuiteFilter

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

This class will not do any filtering of ciphers suites.

Field Summary

Modifier and TypeField and Description
private final boolean
public static final IdentityCipherSuiteFilter
INSTANCE

Defaults to default ciphers when provided ciphers are null

public static final IdentityCipherSuiteFilter
INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS

Defaults to supported ciphers when provided ciphers are null

Constructor Summary

AccessConstructor and Description
private
IdentityCipherSuiteFilter(boolean defaultToDefaultCiphers)

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

defaultToDefaultCiphersback to summary
private final boolean defaultToDefaultCiphers
INSTANCEback to summary
public static final IdentityCipherSuiteFilter INSTANCE

Defaults to default ciphers when provided ciphers are null

INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERSback to summary
public static final IdentityCipherSuiteFilter INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS

Defaults to supported ciphers when provided ciphers are null

Constructor Detail

IdentityCipherSuiteFilterback to summary
private IdentityCipherSuiteFilter(boolean defaultToDefaultCiphers)

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