Class SSLEngine
public class SSLEngine : JVMBridgeBase<SSLEngine>, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<SSLEngine>SSLEngine
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<SSLEngine>.IsAssignableFrom(IJavaType)JVMBridgeBase<SSLEngine>.IsAssignableFrom<T>()JVMBridgeBase<SSLEngine>.Execute<T>(params T[])JVMBridgeBase<SSLEngine>.DynBridgeClazzJVMBridgeBase<SSLEngine>.BridgeClazzJVMBridgeBase.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.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.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
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
DelegatedTask
public Runnable DelegatedTask { get; }
Property Value
EnableSessionCreation
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#getEnableSessionCreation() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#setEnableSessionCreation(boolean)
public bool EnableSessionCreation { get; set; }
Property Value
EnabledCipherSuites
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#getEnabledCipherSuites() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#setEnabledCipherSuites(java.lang.String[])
public String[] EnabledCipherSuites { get; set; }
Property Value
- String[]
EnabledProtocols
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#getEnabledProtocols() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#setEnabledProtocols(java.lang.String[])
public String[] EnabledProtocols { get; set; }
Property Value
- String[]
HandshakeApplicationProtocol
public String HandshakeApplicationProtocol { get; }
Property Value
HandshakeApplicationProtocolSelector
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#getHandshakeApplicationProtocolSelector() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#setHandshakeApplicationProtocolSelector(java.util.function.BiFunction)
public BiFunction<SSLEngine, List<String>, String> HandshakeApplicationProtocolSelector { get; set; }
Property Value
HandshakeSession
public SSLSession HandshakeSession { get; }
Property Value
HandshakeStatus
public SSLEngineResult.HandshakeStatus HandshakeStatus { get; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
NeedClientAuth
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#getNeedClientAuth() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#setNeedClientAuth(boolean)
public bool NeedClientAuth { get; set; }
Property Value
PeerHost
public String PeerHost { get; }
Property Value
PeerPort
public int PeerPort { get; }
Property Value
SSLParameters
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#getSSLParameters() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#setSSLParameters(javax.net.ssl.SSLParameters)
public SSLParameters SSLParameters { get; set; }
Property Value
Session
public SSLSession Session { get; }
Property Value
SupportedCipherSuites
public String[] SupportedCipherSuites { get; }
Property Value
- String[]
SupportedProtocols
public String[] SupportedProtocols { get; }
Property Value
- String[]
UseClientMode
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#getUseClientMode() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#setUseClientMode(boolean)
public bool UseClientMode { get; set; }
Property Value
WantClientAuth
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#getWantClientAuth() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLEngine.html#setWantClientAuth(boolean)
public bool WantClientAuth { get; set; }
Property Value
Methods
BeginHandshake()
public void BeginHandshake()
Exceptions
CloseInbound()
public void CloseInbound()
Exceptions
CloseOutbound()
public void CloseOutbound()
IsInboundDone()
public bool IsInboundDone()
Returns
IsOutboundDone()
public bool IsOutboundDone()
Returns
Unwrap(ByteBuffer, ByteBuffer)
public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer arg1)
Parameters
arg0
ByteBufferarg1
ByteBuffer
Returns
Exceptions
Unwrap(ByteBuffer, ByteBuffer[])
public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer[] arg1)
Parameters
arg0
ByteBufferarg1
ByteBuffer[]
Returns
Exceptions
Unwrap(ByteBuffer, ByteBuffer[], int, int)
public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer[] arg1, int arg2, int arg3)
Parameters
arg0
ByteBufferarg1
ByteBuffer[]arg2
intarg3
int
Returns
Exceptions
Wrap(ByteBuffer, ByteBuffer)
public SSLEngineResult Wrap(ByteBuffer arg0, ByteBuffer arg1)
Parameters
arg0
ByteBufferarg1
ByteBuffer
Returns
Exceptions
Wrap(ByteBuffer[], ByteBuffer)
public SSLEngineResult Wrap(ByteBuffer[] arg0, ByteBuffer arg1)
Parameters
arg0
ByteBuffer[]arg1
ByteBuffer
Returns
Exceptions
Wrap(ByteBuffer[], int, int, ByteBuffer)
public SSLEngineResult Wrap(ByteBuffer[] arg0, int arg1, int arg2, ByteBuffer arg3)
Parameters
arg0
ByteBuffer[]arg1
intarg2
intarg3
ByteBuffer