Class SSLSocket
public class SSLSocket : Socket, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBase>, 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[])JVMBridgeBase<AutoCloseable>.SExecuteWithSignatureArray<TArrayType>(string, string, params object[])JVMBridgeBase<AutoCloseable>.IsAssignableFrom(IJavaType)JVMBridgeBase<AutoCloseable>.IsAssignableFrom<T>()JVMBridgeBase<AutoCloseable>.Execute<T>(params T[])JVMBridgeBase<AutoCloseable>.DynBridgeClazzJVMBridgeBase<AutoCloseable>.BridgeClazzJVMBridgeBase.ReferenceEqualsJVM(IJVMBridgeBase, IJVMBridgeBase)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.CastToAndDetach<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.CastDirectAndDetach<TNewClass>()JVMBridgeBase.CheckDisposed()JVMBridgeBase.ToString()JVMBridgeBase.Equals(IJVMBridgeBase)JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
SSLSocket(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 SSLSocket(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
SSLSocket(params object[])
Generic constructor used by JCOBridge when a derived class needs to forward arguments to the base 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
argsobject[]
Remarks
SSLSocket represents a JVM interface or abstract class in .NET. Instantiating it directly outside of JCOBridge infrastructure is not supported and may produce undefined behavior.
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/javase/8/docs/api/javax/net/ssl/SSLSocket.html#getEnableSessionCreation-- https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#setEnableSessionCreation-boolean-
public bool EnableSessionCreation { get; set; }
Property Value
EnabledCipherSuites
https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#getEnabledCipherSuites-- https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#setEnabledCipherSuites-java.lang.String[]-
public String[] EnabledCipherSuites { get; set; }
Property Value
- String[]
EnabledProtocols
https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#getEnabledProtocols-- https://docs.oracle.com/javase/8/docs/api/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/javase/8/docs/api/javax/net/ssl/SSLSocket.html#getHandshakeApplicationProtocolSelector-- https://docs.oracle.com/javase/8/docs/api/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 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
NeedClientAuth
https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#getNeedClientAuth-- https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#setNeedClientAuth-boolean-
public bool NeedClientAuth { get; set; }
Property Value
SSLParameters
https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#getSSLParameters-- https://docs.oracle.com/javase/8/docs/api/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/javase/8/docs/api/javax/net/ssl/SSLSocket.html#getUseClientMode-- https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#setUseClientMode-boolean-
public bool UseClientMode { get; set; }
Property Value
WantClientAuth
https://docs.oracle.com/javase/8/docs/api/javax/net/ssl/SSLSocket.html#getWantClientAuth-- https://docs.oracle.com/javase/8/docs/api/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()