Class SSLSocket
public class SSLSocket : Socket, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ICloseable, IAutoCloseable
- Inheritance
-
SSLSocket
- Implements
- Inherited Members
-
JVMBridgeBase<AutoCloseable>.SExecuteWithSignature(Type, IJavaType, string, string, params object[])JVMBridgeBase<AutoCloseable>.SExecute<TReturn, TConverter>(Type, IJavaType, string, params object[])
- 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
ApplicationProtocol
public String ApplicationProtocol { get; }
Property Value
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
EnableSessionCreation
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.html#getEnableSessionCreation() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.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/SSLSocket.html#getEnabledCipherSuites() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.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/SSLSocket.html#getEnabledProtocols() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.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/SSLSocket.html#getHandshakeApplicationProtocolSelector() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.html#setHandshakeApplicationProtocolSelector(java.util.function.BiFunction)
public BiFunction<SSLSocket, List<String>, String> HandshakeApplicationProtocolSelector { get; set; }
Property Value
HandshakeSession
public SSLSession HandshakeSession { 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/SSLSocket.html#getNeedClientAuth() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.html#setNeedClientAuth(boolean)
public bool NeedClientAuth { get; set; }
Property Value
SSLParameters
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.html#getSSLParameters() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.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/SSLSocket.html#getUseClientMode() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.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/SSLSocket.html#getWantClientAuth() https://docs.oracle.com/en/java/javase/11/docs/api/java.base/javax/net/ssl/SSLSocket.html#setWantClientAuth(boolean)
public bool WantClientAuth { get; set; }
Property Value
Methods
AddHandshakeCompletedListener(HandshakeCompletedListener)
public void AddHandshakeCompletedListener(HandshakeCompletedListener arg0)
Parameters
RemoveHandshakeCompletedListener(HandshakeCompletedListener)
public void RemoveHandshakeCompletedListener(HandshakeCompletedListener arg0)
Parameters
StartHandshake()
public void StartHandshake()