Package io.netty.handler.ssl
Class IdentityCipherSuiteFilter
java.lang.Object
io.netty.handler.ssl.IdentityCipherSuiteFilter
- All Implemented Interfaces:
CipherSuiteFilter
This class will not do any filtering of ciphers suites.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
static final IdentityCipherSuiteFilter
Defaults to default ciphers when provided ciphers are nullstatic final IdentityCipherSuiteFilter
Defaults to supported ciphers when provided ciphers are null -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
Defaults to default ciphers when provided ciphers are null -
INSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERS
Defaults to supported ciphers when provided ciphers are null -
defaultToDefaultCiphers
private final boolean defaultToDefaultCiphers
-
-
Constructor Details
-
IdentityCipherSuiteFilter
private IdentityCipherSuiteFilter(boolean defaultToDefaultCiphers)
-
-
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
.
-