Search in sources :

Example 1 with SSLParser

use of org.webpieces.ssl.api.SSLParser in project webpieces by deanhiller.

the class TestSslCloseSvr method createClientParser.

private SSLParser createClientParser() {
    SSLEngineFactoryForTestOld sslFactory = new SSLEngineFactoryForTestOld();
    BufferPool pool = new TwoPools("p1", new SimpleMeterRegistry());
    SSLEngine clientSsl = sslFactory.createEngineForSocket();
    SSLMetrics sslMetrics = new SSLMetrics("", new SimpleMeterRegistry());
    SSLParser clientSslParser1 = AsyncSSLFactory.create("svr", clientSsl, pool, sslMetrics);
    return clientSslParser1;
}
Also used : SSLParser(org.webpieces.ssl.api.SSLParser) BufferPool(org.webpieces.data.api.BufferPool) TwoPools(org.webpieces.data.api.TwoPools) SSLEngine(javax.net.ssl.SSLEngine) SimpleMeterRegistry(io.micrometer.core.instrument.simple.SimpleMeterRegistry) SSLMetrics(org.webpieces.ssl.api.SSLMetrics)

Aggregations

SimpleMeterRegistry (io.micrometer.core.instrument.simple.SimpleMeterRegistry)1 SSLEngine (javax.net.ssl.SSLEngine)1 BufferPool (org.webpieces.data.api.BufferPool)1 TwoPools (org.webpieces.data.api.TwoPools)1 SSLMetrics (org.webpieces.ssl.api.SSLMetrics)1 SSLParser (org.webpieces.ssl.api.SSLParser)1