SSLSocketFactory Constructors

Definition

Overloads

SSLSocketFactory(KeyStore)

Creates the default SSL socket factory.

SSLSocketFactory(KeyStore, String)

Creates the default SSL socket factory.

SSLSocketFactory(IntPtr, JniHandleOwnership)

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

SSLSocketFactory(KeyStore, String, KeyStore)

Creates the default SSL socket factory.

SSLSocketFactory(String, KeyStore, String, KeyStore, SecureRandom, IHostNameResolver)

Creates the default SSL socket factory.

SSLSocketFactory(KeyStore)

Creates the default SSL socket factory.

C#
[Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;)V", "")]
public SSLSocketFactory(Java.Security.KeyStore? truststore);

Parameters

truststore
KeyStore
Attributes

Exceptions

Remarks

Java documentation for org.apache.http.conn.ssl.SSLSocketFactory.SSLSocketFactory().

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

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Proizvod Verzije
.NET for Android .NET for Android API 34, .NET for Android API 35

SSLSocketFactory(KeyStore, String)

Creates the default SSL socket factory.

C#
[Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;Ljava/lang/String;)V", "")]
public SSLSocketFactory(Java.Security.KeyStore? keystore, string? keystorePassword);

Parameters

keystore
KeyStore
keystorePassword
String
Attributes

Exceptions

Remarks

Java documentation for org.apache.http.conn.ssl.SSLSocketFactory.SSLSocketFactory().

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

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Proizvod Verzije
.NET for Android .NET for Android API 34, .NET for Android API 35

SSLSocketFactory(IntPtr, JniHandleOwnership)

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

C#
protected SSLSocketFactory(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);

Parameters

javaReference
IntPtr

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

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Proizvod Verzije
.NET for Android .NET for Android API 34, .NET for Android API 35

SSLSocketFactory(KeyStore, String, KeyStore)

Creates the default SSL socket factory.

C#
[Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;Ljava/lang/String;Ljava/security/KeyStore;)V", "")]
public SSLSocketFactory(Java.Security.KeyStore? keystore, string? keystorePassword, Java.Security.KeyStore? truststore);

Parameters

keystore
KeyStore
keystorePassword
String
truststore
KeyStore
Attributes

Exceptions

Remarks

Java documentation for org.apache.http.conn.ssl.SSLSocketFactory.SSLSocketFactory().

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

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Proizvod Verzije
.NET for Android .NET for Android API 34, .NET for Android API 35

SSLSocketFactory(String, KeyStore, String, KeyStore, SecureRandom, IHostNameResolver)

Creates the default SSL socket factory.

C#
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/security/KeyStore;Ljava/lang/String;Ljava/security/KeyStore;Ljava/security/SecureRandom;Lorg/apache/http/conn/scheme/HostNameResolver;)V", "")]
public SSLSocketFactory(string? algorithm, Java.Security.KeyStore? keystore, string? keystorePassword, Java.Security.KeyStore? truststore, Java.Security.SecureRandom? random, Org.Apache.Http.Conn.Schemes.IHostNameResolver? nameResolver);

Parameters

algorithm
String
keystore
KeyStore
keystorePassword
String
truststore
KeyStore
random
SecureRandom
nameResolver
IHostNameResolver
Attributes

Exceptions

Remarks

Java documentation for org.apache.http.conn.ssl.SSLSocketFactory.SSLSocketFactory().

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

.NET for Android .NET for Android API 35 i .NET for Android .NET for Android API 34
Proizvod Verzije
.NET for Android .NET for Android API 34, .NET for Android API 35