Interface CipherSuiteFilter
- All Known Implementing Classes:
IdentityCipherSuiteFilter, SupportedCipherSuiteFilter
public interface CipherSuiteFilter
Provides a means to filter the supplied cipher suite based upon the supported and default cipher suites.
-
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.
-
Method Details
-
filterCipherSuites
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.- 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.
-