OpenSSLContextImpl

OpenSSL-backed SSLContext service provider interface.

<p>Public to allow contruction via the provider framework.

Constructors

this
this(KeyCertOptions options)

Allows outside callers to get the preferred SSLContext.

Members

Functions

engineCreateSSLEngine
SSLEngine engineCreateSSLEngine(bool clientMode)
Undocumented in source. Be warned that the author may not have intended to support it.
engineCreateSSLEngine
SSLEngine engineCreateSSLEngine(bool clientMode, string host, int port)
Undocumented in source. Be warned that the author may not have intended to support it.
engineGetClientSessionContext
ClientSessionContext engineGetClientSessionContext()
Undocumented in source. Be warned that the author may not have intended to support it.
engineGetServerSessionContext
ServerSessionContext engineGetServerSessionContext()
Undocumented in source. Be warned that the author may not have intended to support it.
engineInit
void engineInit(KeyCertOptions options)

Initializes this {@code SSLContext} instance. All of the arguments are optional, and the security providers will be searched for the required implementations of the needed algorithms.

Variables

sslParameters
SSLParametersImpl sslParameters;
Undocumented in source.

Inherited Members

From SSLContextSpi

engineInit
void engineInit(KeyCertOptions options)

Initializes this context.

engineCreateSSLEngine
SSLEngine engineCreateSSLEngine(bool clientMode)

Creates a new <code>SSLEngine</code> using this context. <P> Applications using this factory method are providing no hints for an internal session reuse strategy. If hints are desired, {@link #engineCreateSSLEngine(string, int)} should be used instead. <P> Some cipher suites (such as Kerberos) require remote hostname information, in which case this factory method should not be used.

engineCreateSSLEngine
SSLEngine engineCreateSSLEngine(bool clientMode, string host, int port)

Creates a <code>SSLEngine</code> using this context. <P> Applications using this factory method are providing hints for an internal session reuse strategy. <P> Some cipher suites (such as Kerberos) require remote hostname information, in which case peerHost needs to be specified.

engineGetServerSessionContext
SSLSessionContext engineGetServerSessionContext()

Returns a server <code>SSLSessionContext</code> object for this context.

engineGetClientSessionContext
SSLSessionContext engineGetClientSessionContext()

Returns a client <code>SSLSessionContext</code> object for this context.

Meta