Class SSLEngine
public class SSLEngine : JVMBridgeBase<SSLEngine>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition
- Inheritance
-
SSLEngine
- Implements
- Extension Methods
Constructors
SSLEngine(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 SSLEngine(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
BeginHandshake()
public void BeginHandshake()
Exceptions
CloseInbound()
public void CloseInbound()
Exceptions
CloseOutbound()
public void CloseOutbound()
GetApplicationProtocol()
public String GetApplicationProtocol()
Returns
GetDelegatedTask()
public Runnable GetDelegatedTask()
Returns
GetDelegatedTaskDirect()
public Runnable GetDelegatedTaskDirect()
Returns
GetEnableSessionCreation()
public bool GetEnableSessionCreation()
Returns
GetEnabledCipherSuites()
public String[] GetEnabledCipherSuites()
Returns
GetEnabledProtocols()
public String[] GetEnabledProtocols()
Returns
GetHandshakeApplicationProtocol()
public String GetHandshakeApplicationProtocol()
Returns
GetHandshakeApplicationProtocolSelector()
public BiFunction<SSLEngine, List<String>, String> GetHandshakeApplicationProtocolSelector()
Returns
GetHandshakeApplicationProtocolSelectorDirect()
public BiFunction<SSLEngine, List<String>, String> GetHandshakeApplicationProtocolSelectorDirect()
Returns
GetHandshakeSession()
public SSLSession GetHandshakeSession()
Returns
GetHandshakeStatus()
public SSLEngineResult.HandshakeStatus GetHandshakeStatus()
Returns
GetNeedClientAuth()
public bool GetNeedClientAuth()
Returns
GetPeerHost()
public String GetPeerHost()
Returns
GetPeerPort()
public int GetPeerPort()
Returns
GetSSLParameters()
public SSLParameters GetSSLParameters()
Returns
GetSession()
public SSLSession GetSession()
Returns
GetSupportedCipherSuites()
public String[] GetSupportedCipherSuites()
Returns
GetSupportedProtocols()
public String[] GetSupportedProtocols()
Returns
GetUseClientMode()
public bool GetUseClientMode()
Returns
GetWantClientAuth()
public bool GetWantClientAuth()
Returns
IsInboundDone()
public bool IsInboundDone()
Returns
IsOutboundDone()
public bool IsOutboundDone()
Returns
SetEnableSessionCreation(bool)
public void SetEnableSessionCreation(bool arg0)
Parameters
SetEnabledCipherSuites(String[])
public void SetEnabledCipherSuites(String[] arg0)
Parameters
SetEnabledProtocols(String[])
public void SetEnabledProtocols(String[] arg0)
Parameters
SetHandshakeApplicationProtocolSelector(BiFunction<SSLEngine, List<String>, String>)
public void SetHandshakeApplicationProtocolSelector(BiFunction<SSLEngine, List<String>, String> arg0)
Parameters
arg0BiFunction<SSLEngine, List<String>, String>
SetNeedClientAuth(bool)
public void SetNeedClientAuth(bool arg0)
Parameters
SetSSLParameters(SSLParameters)
public void SetSSLParameters(SSLParameters arg0)
Parameters
SetUseClientMode(bool)
public void SetUseClientMode(bool arg0)
Parameters
SetWantClientAuth(bool)
public void SetWantClientAuth(bool arg0)
Parameters
Unwrap(ByteBuffer, ByteBuffer)
public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer arg1)
Parameters
arg0ByteBufferarg1ByteBuffer
Returns
Exceptions
Unwrap(ByteBuffer, ByteBuffer[])
public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer[] arg1)
Parameters
arg0ByteBufferarg1ByteBuffer[]
Returns
Exceptions
Unwrap(ByteBuffer, ByteBuffer[], int, int)
public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer[] arg1, int arg2, int arg3)
Parameters
arg0ByteBufferarg1ByteBuffer[]arg2intarg3int
Returns
Exceptions
Wrap(ByteBuffer, ByteBuffer)
public SSLEngineResult Wrap(ByteBuffer arg0, ByteBuffer arg1)
Parameters
arg0ByteBufferarg1ByteBuffer
Returns
Exceptions
Wrap(ByteBuffer[], ByteBuffer)
public SSLEngineResult Wrap(ByteBuffer[] arg0, ByteBuffer arg1)
Parameters
arg0ByteBuffer[]arg1ByteBuffer
Returns
Exceptions
Wrap(ByteBuffer[], int, int, ByteBuffer)
public SSLEngineResult Wrap(ByteBuffer[] arg0, int arg1, int arg2, ByteBuffer arg3)
Parameters
arg0ByteBuffer[]arg1intarg2intarg3ByteBuffer