Package io.netty.handler.ssl
Class SupportedCipherSuiteFilter
- java.lang.Object
-
- io.netty.handler.ssl.SupportedCipherSuiteFilter
-
- All Implemented Interfaces:
CipherSuiteFilter
public final class SupportedCipherSuiteFilter extends java.lang.Object implements CipherSuiteFilter
This class will filter all requested ciphers out that are not supported by the currentSSLEngine.
-
-
Field Summary
Fields Modifier and Type Field Description static SupportedCipherSuiteFilterINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)Filter the requestedciphersbased upon other cipher characteristics.
-
-
-
Field Detail
-
INSTANCE
public static final SupportedCipherSuiteFilter INSTANCE
-
-
Method Detail
-
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.
-
-