Class SSLEngine
public class SSLEngine : JVMBridgeBase<SSLEngine>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition- Inheritance
- 
      
      
      
      
      SSLEngine
- Implements
- Inherited Members
- 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    JVMBridgeBase.ReferenceEqualsJVM(JVMBridgeBase, JVMBridgeBase)JVMBridgeBase.Equals(IJVMBridgeBase)
- 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
- argsobject[]
Properties
ApplicationProtocol
public String ApplicationProtocol { get; }Property Value
BridgeClassName
Java class name to be instantiated
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
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 Closeable
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
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
- arg0ByteBuffer
- arg1ByteBuffer
Returns
Exceptions
Unwrap(ByteBuffer, ByteBuffer[])
public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer[] arg1)Parameters
- arg0ByteBuffer
- arg1ByteBuffer[]
Returns
Exceptions
Unwrap(ByteBuffer, ByteBuffer[], int, int)
public SSLEngineResult Unwrap(ByteBuffer arg0, ByteBuffer[] arg1, int arg2, int arg3)Parameters
- arg0ByteBuffer
- arg1ByteBuffer[]
- arg2int
- arg3int
Returns
Exceptions
Wrap(ByteBuffer, ByteBuffer)
public SSLEngineResult Wrap(ByteBuffer arg0, ByteBuffer arg1)Parameters
- arg0ByteBuffer
- arg1ByteBuffer
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[]
- arg1int
- arg2int
- arg3ByteBuffer