io.muserver.SSLCipherFilter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mu-server Show documentation
Show all versions of mu-server Show documentation
A simple but powerful web server framework
package io.muserver;
import java.util.List;
import java.util.Set;
/**
* A filter allowing the selection of SSL certificates
*/
public interface SSLCipherFilter {
/**
* A method that returns the ciphers desired in the preferred order of use.
* @param supportedCiphers All the ciphers supported, including insecure ones.
* @param defaultCiphers The default ciphers, as determined by the JDK.
* @return A list of ciphers to use.
*/
List selectCiphers(Set supportedCiphers, List defaultCiphers);
}