Share via


SSLContext Constructors

Definition

Overloads

SSLContext(IntPtr, JniHandleOwnership)

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

SSLContext(SSLContextSpi, Provider, String)

Creates an SSLContext object.

SSLContext(IntPtr, JniHandleOwnership)

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

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

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

SSLContext(SSLContextSpi, Provider, String)

Creates an SSLContext object.

[Android.Runtime.Register(".ctor", "(Ljavax/net/ssl/SSLContextSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")]
protected SSLContext (Javax.Net.Ssl.SSLContextSpi? contextSpi, Java.Security.Provider? provider, string? protocol);
[<Android.Runtime.Register(".ctor", "(Ljavax/net/ssl/SSLContextSpi;Ljava/security/Provider;Ljava/lang/String;)V", "")>]
new Javax.Net.Ssl.SSLContext : Javax.Net.Ssl.SSLContextSpi * Java.Security.Provider * string -> Javax.Net.Ssl.SSLContext

Parameters

contextSpi
SSLContextSpi

the delegate

provider
Provider

the provider

protocol
String

the protocol

Attributes

Remarks

Creates an SSLContext object.

Java documentation for javax.net.ssl.SSLContext.SSLContext(javax.net.ssl.SSLContextSpi, java.security.Provider, java.lang.String).

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