SSLContextSpi.engineCreateSSLEngine

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.

@param host the non-authoritative name of the host @param port the non-authoritative port @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(string, int)

@since 1.5

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

Meta