SSLContextSpi

This class defines the <i>Service Provider Interface</i> (<b>SPI</b>) for the <code>SSLContext</code> class.

<p> All the abstract methods in this class must be implemented by each cryptographic service provider who wishes to supply the implementation of a particular SSL context.

@see SSLContext

Members

Functions

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.

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.

engineGetClientSessionContext
SSLSessionContext engineGetClientSessionContext()

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

engineGetServerSessionContext
SSLSessionContext engineGetServerSessionContext()

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

engineInit
void engineInit(KeyCertOptions options)

Initializes this context.

Meta