Table of Contents

Class SSLSocketFactory

Namespace
Org.Apache.Http.Conn.Ssl
Assembly
MASES.Netdroid.dll
[Obsolete("Deprecated in JVM")]
public class SSLSocketFactory : LayeredSocketFactory, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ILayeredSocketFactory, ISocketFactory
Inheritance
SSLSocketFactory
Implements
Extension Methods

Constructors

SSLSocketFactory(String, KeyStore, String, KeyStore, SecureRandom, HostNameResolver)

[Obsolete("Deprecated in JVM")]
public SSLSocketFactory(String arg0, KeyStore arg1, String arg2, KeyStore arg3, SecureRandom arg4, HostNameResolver arg5)

Parameters

arg0 String

String

arg1 KeyStore

KeyStore

arg2 String

String

arg3 KeyStore

KeyStore

arg4 SecureRandom

SecureRandom

arg5 HostNameResolver

HostNameResolver

Exceptions

KeyManagementException
KeyStoreException
NoSuchAlgorithmException
UnrecoverableKeyException

SSLSocketFactory(KeyStore)

[Obsolete("Deprecated in JVM")]
public SSLSocketFactory(KeyStore arg0)

Parameters

arg0 KeyStore

KeyStore

Exceptions

KeyManagementException
KeyStoreException
NoSuchAlgorithmException
UnrecoverableKeyException

SSLSocketFactory(KeyStore, String)

[Obsolete("Deprecated in JVM")]
public SSLSocketFactory(KeyStore arg0, String arg1)

Parameters

arg0 KeyStore

KeyStore

arg1 String

String

Exceptions

KeyManagementException
KeyStoreException
NoSuchAlgorithmException
UnrecoverableKeyException

SSLSocketFactory(KeyStore, String, KeyStore)

[Obsolete("Deprecated in JVM")]
public SSLSocketFactory(KeyStore arg0, String arg1, KeyStore arg2)

Parameters

arg0 KeyStore

KeyStore

arg1 String

String

arg2 KeyStore

KeyStore

Exceptions

KeyManagementException
KeyStoreException
NoSuchAlgorithmException
UnrecoverableKeyException

SSLSocketFactory(IJVMBridgeBaseInitializer)

Initializer used internally by JCOBridge. Do not use directly.

[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SSLSocketFactory(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

ALLOW_ALL_HOSTNAME_VERIFIER

[Obsolete("Deprecated in JVM")]
public static X509HostnameVerifier ALLOW_ALL_HOSTNAME_VERIFIER { get; set; }

Property Value

X509HostnameVerifier

BROWSER_COMPATIBLE_HOSTNAME_VERIFIER

[Obsolete("Deprecated in JVM")]
public static X509HostnameVerifier BROWSER_COMPATIBLE_HOSTNAME_VERIFIER { get; set; }

Property Value

X509HostnameVerifier

BridgeClassName

Java class name to be instantiated

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

true if the BridgeClassName is an abstract class, i.e. cannot be created an instance

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

true if the BridgeClassName implements java.lang.AutoCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

true if the BridgeClassName is an interface, i.e. does not have any public constructor

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

true if the BridgeClassName is a static class, i.e. does not have any public constructor

public override bool IsBridgeStatic { get; }

Property Value

bool

SSL

[Obsolete("Deprecated in JVM")]
public static String SSL { get; set; }

Property Value

String

SSLV2

[Obsolete("Deprecated in JVM")]
public static String SSLV2 { get; set; }

Property Value

String

STRICT_HOSTNAME_VERIFIER

[Obsolete("Deprecated in JVM")]
public static X509HostnameVerifier STRICT_HOSTNAME_VERIFIER { get; set; }

Property Value

X509HostnameVerifier

TLS

[Obsolete("Deprecated in JVM")]
public static String TLS { get; set; }

Property Value

String

Methods

ConnectSocket(Socket, String, int, InetAddress, int, HttpParams)

[Obsolete("Deprecated in JVM")]
public Socket ConnectSocket(Socket arg0, String arg1, int arg2, InetAddress arg3, int arg4, HttpParams arg5)

Parameters

arg0 Socket

Socket

arg1 String

String

arg2 int

int

arg3 InetAddress

InetAddress

arg4 int

int

arg5 HttpParams

HttpParams

Returns

Socket

Socket

Exceptions

IOException

CreatePoolableInstance(String, KeyStore, String, KeyStore, SecureRandom, HostNameResolver)

HPA initializer for SSLSocketFactory(Java.Lang.String arg0, Java.Security.KeyStore arg1, Java.Lang.String arg2, Java.Security.KeyStore arg3, Java.Security.SecureRandom arg4, Org.Apache.Http.Conn.Scheme.HostNameResolver arg5)

public static SSLSocketFactory CreatePoolableInstance(String arg0, KeyStore arg1, String arg2, KeyStore arg3, SecureRandom arg4, HostNameResolver arg5)

Parameters

arg0 String
arg1 KeyStore
arg2 String
arg3 KeyStore
arg4 SecureRandom
arg5 HostNameResolver

Returns

SSLSocketFactory

CreatePoolableInstance(KeyStore)

HPA initializer for SSLSocketFactory(Java.Security.KeyStore arg0)

public static SSLSocketFactory CreatePoolableInstance(KeyStore arg0)

Parameters

arg0 KeyStore

Returns

SSLSocketFactory

CreatePoolableInstance(KeyStore, String)

HPA initializer for SSLSocketFactory(Java.Security.KeyStore arg0, Java.Lang.String arg1)

public static SSLSocketFactory CreatePoolableInstance(KeyStore arg0, String arg1)

Parameters

arg0 KeyStore
arg1 String

Returns

SSLSocketFactory

CreatePoolableInstance(KeyStore, String, KeyStore)

HPA initializer for SSLSocketFactory(Java.Security.KeyStore arg0, Java.Lang.String arg1, Java.Security.KeyStore arg2)

public static SSLSocketFactory CreatePoolableInstance(KeyStore arg0, String arg1, KeyStore arg2)

Parameters

arg0 KeyStore
arg1 String
arg2 KeyStore

Returns

SSLSocketFactory

CreateSocket()

[Obsolete("Deprecated in JVM")]
public Socket CreateSocket()

Returns

Socket

Socket

Exceptions

IOException

CreateSocket(Socket, String, int, bool)

[Obsolete("Deprecated in JVM")]
public Socket CreateSocket(Socket arg0, String arg1, int arg2, bool arg3)

Parameters

arg0 Socket

Socket

arg1 String

String

arg2 int

int

arg3 bool

bool

Returns

Socket

Socket

Exceptions

IOException
UnknownHostException

GetHostnameVerifier()

[Obsolete("Deprecated in JVM")]
public X509HostnameVerifier GetHostnameVerifier()

Returns

X509HostnameVerifier

X509HostnameVerifier

GetSocketFactory()

[Obsolete("Deprecated in JVM")]
public static SSLSocketFactory GetSocketFactory()

Returns

SSLSocketFactory

SSLSocketFactory

IsSecure(Socket)

[Obsolete("Deprecated in JVM")]
public bool IsSecure(Socket arg0)

Parameters

arg0 Socket

Socket

Returns

bool

bool

Exceptions

IllegalArgumentException

SetHostnameVerifier(X509HostnameVerifier)

[Obsolete("Deprecated in JVM")]
public void SetHostnameVerifier(X509HostnameVerifier arg0)

Parameters

arg0 X509HostnameVerifier

X509HostnameVerifier