- 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 IdentityCipherSuiteFilterINSTANCEDefaults to default ciphers when provided ciphers are nullstatic IdentityCipherSuiteFilterINSTANCE_DEFAULTING_TO_SUPPORTED_CIPHERSDefaults 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 requestedciphersbased 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: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.
-
-