Sdílet prostřednictvím


SSLContextSpi.EngineCreateSSLEngine Method

Definition

Overloads

EngineCreateSSLEngine()

Creates a new SSLEngine using this context.

EngineCreateSSLEngine(String, Int32)

Creates a SSLEngine using this context.

EngineCreateSSLEngine()

Creates a new SSLEngine using this context.

[Android.Runtime.Register("engineCreateSSLEngine", "()Ljavax/net/ssl/SSLEngine;", "GetEngineCreateSSLEngineHandler")]
protected abstract Javax.Net.Ssl.SSLEngine? EngineCreateSSLEngine ();
[<Android.Runtime.Register("engineCreateSSLEngine", "()Ljavax/net/ssl/SSLEngine;", "GetEngineCreateSSLEngineHandler")>]
abstract member EngineCreateSSLEngine : unit -> Javax.Net.Ssl.SSLEngine

Returns

the SSLEngine Object

Attributes

Exceptions

if the provider does not support the operation.

Remarks

Creates a new SSLEngine using this context.

Applications using this factory method are providing no hints for an internal session reuse strategy. If hints are desired, #engineCreateSSLEngine(String, int) should be used instead.

Some cipher suites (such as Kerberos) require remote hostname information, in which case this factory method should not be used.

Added in 1.5.

Java documentation for javax.net.ssl.SSLContextSpi.engineCreateSSLEngine().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

EngineCreateSSLEngine(String, Int32)

Creates a SSLEngine using this context.

[Android.Runtime.Register("engineCreateSSLEngine", "(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;", "GetEngineCreateSSLEngine_Ljava_lang_String_IHandler")]
protected abstract Javax.Net.Ssl.SSLEngine? EngineCreateSSLEngine (string? host, int port);
[<Android.Runtime.Register("engineCreateSSLEngine", "(Ljava/lang/String;I)Ljavax/net/ssl/SSLEngine;", "GetEngineCreateSSLEngine_Ljava_lang_String_IHandler")>]
abstract member EngineCreateSSLEngine : string * int -> Javax.Net.Ssl.SSLEngine

Parameters

host
String

the non-authoritative name of the host

port
Int32

the non-authoritative port

Returns

the SSLEngine Object

Attributes

Exceptions

if the provider does not support the operation.

Remarks

Creates a SSLEngine using this context.

Applications using this factory method are providing hints for an internal session reuse strategy.

Some cipher suites (such as Kerberos) require remote hostname information, in which case peerHost needs to be specified.

Added in 1.5.

Java documentation for javax.net.ssl.SSLContextSpi.engineCreateSSLEngine(java.lang.String, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to