Table of Contents

Class SSLEngine

Namespace
Javax.Net.Ssl
Assembly
MASES.JNet.dll
public class SSLEngine : JVMBridgeBase<SSLEngine>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
Inheritance
JVMBridgeBase
JVMBridgeBase<SSLEngine>
SSLEngine
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<SSLEngine>.IsAssignableFrom(IJavaType)
JVMBridgeBase<SSLEngine>.IsAssignableFrom<T>()
JVMBridgeBase<SSLEngine>.Execute<T>(params T[])
JVMBridgeBase<SSLEngine>.DynBridgeClazz
JVMBridgeBase<SSLEngine>.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

SSLEngine()

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

[Obsolete("SSLEngine 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 SSLEngine()

SSLEngine(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("SSLEngine 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 SSLEngine(params object[] args)

Parameters

args object[]

Properties

ApplicationProtocol

public String ApplicationProtocol { get; }

Property Value

String

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

DelegatedTask

public Runnable DelegatedTask { get; }

Property Value

Runnable

EnableSessionCreation

public bool EnableSessionCreation { get; set; }

Property Value

bool

EnabledCipherSuites

public String[] EnabledCipherSuites { get; set; }

Property Value

String[]

EnabledProtocols

public String[] EnabledProtocols { get; set; }

Property Value

String[]

HandshakeApplicationProtocol

public String HandshakeApplicationProtocol { get; }

Property Value

String

HandshakeApplicationProtocolSelector

public BiFunction<SSLEngine, List<String>, String> HandshakeApplicationProtocolSelector { get; set; }

Property Value

BiFunction<SSLEngine, List<String>, String>

HandshakeSession

public SSLSession HandshakeSession { get; }

Property Value

SSLSession

HandshakeStatus

public SSLEngineResult.HandshakeStatus HandshakeStatus { get; }

Property Value

SSLEngineResult.HandshakeStatus

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

NeedClientAuth

public bool NeedClientAuth { get; set; }

Property Value

bool

PeerHost

public String PeerHost { get; }

Property Value

String

PeerPort

public int PeerPort { get; }

Property Value

int

SSLParameters

public SSLParameters SSLParameters { get; set; }

Property Value

SSLParameters

Session

public SSLSession Session { get; }

Property Value

SSLSession

SupportedCipherSuites

public String[] SupportedCipherSuites { get; }

Property Value

String[]

SupportedProtocols

public String[] SupportedProtocols { get; }

Property Value

String[]

UseClientMode

public bool UseClientMode { get; set; }

Property Value

bool

WantClientAuth

public bool WantClientAuth { get; set; }

Property Value

bool

Methods

BeginHandshake()

public void BeginHandshake()

Exceptions

SSLException

CloseInbound()

public void CloseInbound()

Exceptions

SSLException

CloseOutbound()

public void CloseOutbound()

IsInboundDone()

public bool IsInboundDone()

Returns

bool

bool

IsOutboundDone()

public bool IsOutboundDone()

Returns

bool

bool

Unwrap(ByteBuffer, ByteBuffer)

public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer arg1)

Parameters

arg0 ByteBuffer

ByteBuffer

arg1 ByteBuffer

ByteBuffer

Returns

SSLEngineResult

SSLEngineResult

Exceptions

SSLException

Unwrap(ByteBuffer, ByteBuffer[])

public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer[] arg1)

Parameters

arg0 ByteBuffer

ByteBuffer

arg1 ByteBuffer[]

ByteBuffer

Returns

SSLEngineResult

SSLEngineResult

Exceptions

SSLException

Unwrap(ByteBuffer, ByteBuffer[], int, int)

public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer[] arg1, int arg2, int arg3)

Parameters

arg0 ByteBuffer

ByteBuffer

arg1 ByteBuffer[]

ByteBuffer

arg2 int

int

arg3 int

int

Returns

SSLEngineResult

SSLEngineResult

Exceptions

SSLException

Wrap(ByteBuffer, ByteBuffer)

public SSLEngineResult Wrap(ByteBuffer arg0, ByteBuffer arg1)

Parameters

arg0 ByteBuffer

ByteBuffer

arg1 ByteBuffer

ByteBuffer

Returns

SSLEngineResult

SSLEngineResult

Exceptions

SSLException

Wrap(ByteBuffer[], ByteBuffer)

public SSLEngineResult Wrap(ByteBuffer[] arg0, ByteBuffer arg1)

Parameters

arg0 ByteBuffer[]

ByteBuffer

arg1 ByteBuffer

ByteBuffer

Returns

SSLEngineResult

SSLEngineResult

Exceptions

SSLException

Wrap(ByteBuffer[], int, int, ByteBuffer)

public SSLEngineResult Wrap(ByteBuffer[] arg0, int arg1, int arg2, ByteBuffer arg3)

Parameters

arg0 ByteBuffer[]

ByteBuffer

arg1 int

int

arg2 int

int

arg3 ByteBuffer

ByteBuffer

Returns

SSLEngineResult

SSLEngineResult

Exceptions

SSLException