Table of Contents

Class SSLSocket

Namespace
Javax.Net.Ssl
Assembly
MASES.Netdroid.dll
public class SSLSocket : Socket, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, ICloseable, IAutoCloseable
Inheritance
SSLSocket
Implements
Inherited Members
Extension Methods

Constructors

SSLSocket(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 SSLSocket(IJVMBridgeBaseInitializer initializer)

Parameters

initializer IJVMBridgeBaseInitializer

Properties

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

Methods

AddHandshakeCompletedListener(HandshakeCompletedListener)

public void AddHandshakeCompletedListener(HandshakeCompletedListener arg0)

Parameters

arg0 HandshakeCompletedListener

HandshakeCompletedListener

GetApplicationProtocol()

public String GetApplicationProtocol()

Returns

String

String

GetEnableSessionCreation()

public bool GetEnableSessionCreation()

Returns

bool

bool

GetEnabledCipherSuites()

public String[] GetEnabledCipherSuites()

Returns

String[]

String

GetEnabledProtocols()

public String[] GetEnabledProtocols()

Returns

String[]

String

GetHandshakeApplicationProtocol()

public String GetHandshakeApplicationProtocol()

Returns

String

String

GetHandshakeApplicationProtocolSelector()

public BiFunction<SSLSocket, List<String>, String> GetHandshakeApplicationProtocolSelector()

Returns

BiFunction<SSLSocket, List<String>, String>

BiFunction

GetHandshakeApplicationProtocolSelectorDirect()

public BiFunction<SSLSocket, List<String>, String> GetHandshakeApplicationProtocolSelectorDirect()

Returns

BiFunction<SSLSocket, List<String>, String>

BiFunction

GetHandshakeSession()

public SSLSession GetHandshakeSession()

Returns

SSLSession

SSLSession

GetNeedClientAuth()

public bool GetNeedClientAuth()

Returns

bool

bool

GetSSLParameters()

public SSLParameters GetSSLParameters()

Returns

SSLParameters

SSLParameters

GetSession()

public SSLSession GetSession()

Returns

SSLSession

SSLSession

GetSupportedCipherSuites()

public String[] GetSupportedCipherSuites()

Returns

String[]

String

GetSupportedProtocols()

public String[] GetSupportedProtocols()

Returns

String[]

String

GetUseClientMode()

public bool GetUseClientMode()

Returns

bool

bool

GetWantClientAuth()

public bool GetWantClientAuth()

Returns

bool

bool

RemoveHandshakeCompletedListener(HandshakeCompletedListener)

public void RemoveHandshakeCompletedListener(HandshakeCompletedListener arg0)

Parameters

arg0 HandshakeCompletedListener

HandshakeCompletedListener

SetEnableSessionCreation(bool)

public void SetEnableSessionCreation(bool arg0)

Parameters

arg0 bool

bool

SetEnabledCipherSuites(String[])

public void SetEnabledCipherSuites(String[] arg0)

Parameters

arg0 String[]

String

SetEnabledProtocols(String[])

public void SetEnabledProtocols(String[] arg0)

Parameters

arg0 String[]

String

SetHandshakeApplicationProtocolSelector(BiFunction<SSLSocket, List<String>, String>)

public void SetHandshakeApplicationProtocolSelector(BiFunction<SSLSocket, List<String>, String> arg0)

Parameters

arg0 BiFunction<SSLSocket, List<String>, String>

BiFunction

SetNeedClientAuth(bool)

public void SetNeedClientAuth(bool arg0)

Parameters

arg0 bool

bool

SetSSLParameters(SSLParameters)

public void SetSSLParameters(SSLParameters arg0)

Parameters

arg0 SSLParameters

SSLParameters

SetUseClientMode(bool)

public void SetUseClientMode(bool arg0)

Parameters

arg0 bool

bool

SetWantClientAuth(bool)

public void SetWantClientAuth(bool arg0)

Parameters

arg0 bool

bool

StartHandshake()

public void StartHandshake()

Exceptions

IOException