SSLContextSpi.engineCreateSSLEngine

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.

@return the <code>SSLEngine</code> Object @throws IllegalStateException if the SSLContextImpl requires initialization and the <code>engineInit()</code> has not been called

@see SSLContext#createSSLEngine()

@since 1.5

  1. SSLEngine engineCreateSSLEngine(bool clientMode)
    class SSLContextSpi
    abstract
    engineCreateSSLEngine
    ()
  2. SSLEngine engineCreateSSLEngine(bool clientMode, string host, int port)

Meta