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 booleanstatic final IdentityCipherSuiteFilterDefaults to default ciphers when provided ciphers are nullstatic final IdentityCipherSuiteFilterDefaults to supported ciphers when provided ciphers are null -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjava.lang.String[]filterCipherSuites(java.lang.Iterable<java.lang.String> ciphers, java.util.List<java.lang.String> defaultCiphers, java.util.Set<java.lang.String> supportedCiphers) Filter the requestedciphersbased upon other cipher characteristics.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 java.lang.String[] filterCipherSuites(java.lang.Iterable<java.lang.String> ciphers, java.util.List<java.lang.String> defaultCiphers, java.util.Set<java.lang.String> supportedCiphers) Description copied from interface:CipherSuiteFilterFilter the requestedciphersbased upon other cipher characteristics.- Specified by:
filterCipherSuitesin interfaceCipherSuiteFilter- Parameters:
ciphers- The requested ciphersdefaultCiphers- The default recommended ciphers for the currentSSLEngineas determined by NettysupportedCiphers- The supported ciphers for the currentSSLEngine- Returns:
- The filter list of ciphers. Must not return
null.
-