- java.lang.Object
-
- io.netty5.handler.ssl.IdentityCipherSuiteFilter
-
- All Implemented Interfaces:
CipherSuiteFilter
public final class IdentityCipherSuiteFilter extends Object implements CipherSuiteFilter
This class will not do any filtering of ciphers suites.
-
-
Field Summary
Fields Modifier and Type Field Description static IdentityCipherSuiteFilter
INSTANCE
Defaults to default ciphers when provided ciphers are nullstatic IdentityCipherSuiteFilter
INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS
Defaults to supported ciphers when provided ciphers are null
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
filterCipherSuites(Iterable<String> ciphers, List<String> defaultCiphers, Set<String> supportedCiphers)
Filter the requestedciphers
based upon other cipher characteristics.
-
-
-
Field Detail
-
INSTANCE
public static final IdentityCipherSuiteFilter INSTANCE
Defaults to default ciphers when provided ciphers are null
-
INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS
public static final IdentityCipherSuiteFilter INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS
Defaults to supported ciphers when provided ciphers are null
-
-
Method Detail
-
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
.
-
-