Table of Contents

Class SSLSocket

Namespace
Javax.Net.Ssl
Assembly
MASES.Netdroid.dll
public class SSLSocket : Socket, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloseable, IAutoCloseable
Inheritance
JVMBridgeBase
JVMBridgeBase<AutoCloseable>
SSLSocket
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()
JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])
JVMBridgeBase<AutoCloseable>.DynBridgeClazz
JVMBridgeBase<AutoCloseable>.BridgeClazz
JVMBridgeBase.RuntimeClassNameOf<T>()
JVMBridgeBase.ClassNameOf<T>()
JVMBridgeBase.ClassOf<T>()
JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)
JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)
JVMBridgeBase.MonitorEnter()
JVMBridgeBase.MonitorExit()
JVMBridgeBase.IsInstanceOf(IJavaType)
JVMBridgeBase.IsInstanceOf<T>()
JVMBridgeBase.RuntimeIsInstanceOf<T>()
JVMBridgeBase.CastTo<TNewClass>()
JVMBridgeBase.CastDirect<TNewClass>()
JVMBridgeBase.Dispose()
JVMBridgeBase.ToString()
JVMBridgeBase.GetHashCode()
JVMBridgeBase.Notify()
JVMBridgeBase.NotifyAll()
JVMBridgeBase.Wait()
JVMBridgeBase.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.IsBridgeListener
Extension Methods

Constructors

SSLSocket()

Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge

[Obsolete("SSLSocket class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SSLSocket()

SSLSocket(params object[])

Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class

[Obsolete("SSLSocket class represents, in .NET, an instance of a JVM interface or abstract class. This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SSLSocket(params object[] args)

Parameters

args object[]

Properties

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

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