Sdílet prostřednictvím


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.

[Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;)V", "")]
public SSLSocketFactory (Java.Security.KeyStore? truststore);
[<Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;)V", "")>]
new Org.Apache.Http.Conn.Ssl.SSLSocketFactory : Java.Security.KeyStore -> Org.Apache.Http.Conn.Ssl.SSLSocketFactory

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

SSLSocketFactory(KeyStore, String)

Creates the default SSL socket factory.

[Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;Ljava/lang/String;)V", "")]
public SSLSocketFactory (Java.Security.KeyStore? keystore, string? keystorePassword);
[<Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Conn.Ssl.SSLSocketFactory : Java.Security.KeyStore * string -> Org.Apache.Http.Conn.Ssl.SSLSocketFactory

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

SSLSocketFactory(IntPtr, JniHandleOwnership)

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

protected SSLSocketFactory (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Conn.Ssl.SSLSocketFactory : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Conn.Ssl.SSLSocketFactory

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

SSLSocketFactory(KeyStore, String, KeyStore)

Creates the default SSL socket factory.

[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);
[<Android.Runtime.Register(".ctor", "(Ljava/security/KeyStore;Ljava/lang/String;Ljava/security/KeyStore;)V", "")>]
new Org.Apache.Http.Conn.Ssl.SSLSocketFactory : Java.Security.KeyStore * string * Java.Security.KeyStore -> Org.Apache.Http.Conn.Ssl.SSLSocketFactory

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

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

Creates the default SSL socket factory.

[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);
[<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", "")>]
new Org.Apache.Http.Conn.Ssl.SSLSocketFactory : string * Java.Security.KeyStore * string * Java.Security.KeyStore * Java.Security.SecureRandom * Org.Apache.Http.Conn.Schemes.IHostNameResolver -> Org.Apache.Http.Conn.Ssl.SSLSocketFactory

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