public class JsslutilsSslContextFactory extends SslContextFactory
Constructor and Description |
---|
JsslutilsSslContextFactory(org.jsslutils.sslcontext.SSLContextFactory sslContextFactory)
Builds JsslutilsSslContextFactory that wraps an instance of
jsslutils.sslcontext.SSLContextFactory.
|
Modifier and Type | Method and Description |
---|---|
SSLContext |
createSslContext()
Creates a configured and initialised SSLContext by delegating the call to
the SSLContextFactory with which the target instance was built.
|
org.jsslutils.sslcontext.SSLContextFactory |
getSslContextFactory()
Returns the wrapped SSLContextFactory with which this instance was built.
|
void |
init(Series<Parameter> parameters)
Initialize the factory with the given connector parameters.
|
public JsslutilsSslContextFactory(org.jsslutils.sslcontext.SSLContextFactory sslContextFactory)
sslContextFactory
- SSLContextFactory (from jSSLutils) to wrap.public SSLContext createSslContext() throws Exception
createSslContext
in class SslContextFactory
Exception
SSLContextFactory.buildSSLContext()
public org.jsslutils.sslcontext.SSLContextFactory getSslContextFactory()
public void init(Series<Parameter> parameters)
SslContextFactory
init
in class SslContextFactory
parameters
- The connector parameters.Copyright © 2005–2013. All rights reserved.