@Override
        public SSLEngine newServerEngine(String cipher, boolean useAlpn) {
            if (useAlpn) {
                throw new UnsupportedOperationException("ALPN not supported for JDK");
            }
            return initEngine(serverContext.createSSLEngine(), cipher, false);
        }
Enumeration of various types of engines for use with engine-based benchmarks.
benchmark-jmh/src/jmh/java/org/conscrypt/OpenJdkEngineFactory.java