Share via


SSLEngine Constructors

Definition

Overloads

SSLEngine()

Constructor for an SSLEngine providing no hints for an internal session reuse strategy.

SSLEngine(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SSLEngine(String, Int32)

Constructor for an SSLEngine.

SSLEngine()

Constructor for an SSLEngine providing no hints for an internal session reuse strategy.

[Android.Runtime.Register(".ctor", "()V", "")]
protected SSLEngine ();
Attributes

Remarks

Constructor for an SSLEngine providing no hints for an internal session reuse strategy.

Java documentation for javax.net.ssl.SSLEngine.SSLEngine().

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

SSLEngine(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected SSLEngine (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Net.Ssl.SSLEngine : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Net.Ssl.SSLEngine

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

SSLEngine(String, Int32)

Constructor for an SSLEngine.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
protected SSLEngine (string? peerHost, int peerPort);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Javax.Net.Ssl.SSLEngine : string * int -> Javax.Net.Ssl.SSLEngine

Parameters

peerHost
String

the name of the peer host

peerPort
Int32

the port number of the peer

Attributes

Remarks

Constructor for an SSLEngine.

SSLEngine implementations may use the peerHost and peerPort parameters as hints for their internal session reuse strategy.

Some cipher suites (such as Kerberos) require remote hostname information. Implementations of this class should use this constructor to use Kerberos.

The parameters are not authenticated by the SSLEngine.

Java documentation for javax.net.ssl.SSLEngine.SSLEngine(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