public class TlsSocketSession extends TlsSession
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Security.TlsSocketSession
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.Security, Version=11.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Security
|
static java.lang.String |
className
Qualified class name: System.Net.Security.TlsSocketSession
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TlsSocketSession() |
TlsSocketSession(java.lang.Object instance)
Internal constructor.
|
TlsSocketSession(SafeSocketHandle socket)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TlsSocketSession |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TlsSocketSession, a cast assert is made to check if types are compatible. |
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
SafeSocketHandle |
getSocket()
Gets the value of the .NET property Socket.
|
TlsOperationStatus |
Handshake()
Invokes the .NET member Handshake.
|
TlsOperationStatus |
RequestClientCertificate()
Invokes the .NET member RequestClientCertificate.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
TlsOperationStatus |
Shutdown()
Invokes the .NET member Shutdown.
|
AcceptWithDefaultValidation, close, Dispose, GetAcceptableIssuers, GetChannelBinding, getClientHelloInfo, GetClientHelloLength, getHasPendingOutput, getIsHandshakeComplete, getLocalCertificate, getNegotiatedApplicationProtocol, getNegotiatedCipherSuite, getNegotiatedProtocol, GetRemoteCertificate, GetRemoteCertificates, getTargetHostName, SetClientCertificateContext, SetContext, SetRemoteCertificateValidationResult, setTargetHostNamepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TlsSocketSession()
throws java.lang.Throwable
java.lang.Throwablepublic TlsSocketSession(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic TlsSocketSession(SafeSocketHandle socket) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException
socket - the argument of type SafeSocketHandlejava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static TlsSocketSession cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TlsSocketSession, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTlsSocketSession instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class TlsSessionpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class TlsSessionpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class TlsSessionnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class TlsSessionpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class TlsSessionpublic SafeSocketHandle getSocket() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TlsOperationStatus Handshake() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OutOfMemoryException, SocketException, ArrayTypeMismatchException, IndexOutOfRangeException, IOException, AuthenticationException, CryptographicException, ArgumentNullException, SecurityException, Win32Exception, MissingMethodException, TargetInvocationException, UnreachableException, EventSourceException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSocketException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itIOException - if the .NET member raises itAuthenticationException - if the .NET member raises itCryptographicException - if the .NET member raises itArgumentNullException - if the .NET member raises itSecurityException - if the .NET member raises itWin32Exception - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itUnreachableException - if the .NET member raises itEventSourceException - if the .NET member raises itpublic TlsOperationStatus RequestClientCertificate() throws java.lang.Throwable, PlatformNotSupportedException, NotSupportedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, ArrayTypeMismatchException, IndexOutOfRangeException, AuthenticationException, OutOfMemoryException, SocketException
java.lang.Throwable - if the call fails in the bridge or in the CLRPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itAuthenticationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSocketException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class TlsSessioninstance - the new underlying objectpublic TlsOperationStatus Shutdown() throws java.lang.Throwable, ObjectDisposedException, ArgumentException, EventSourceException, InvalidOperationException, PlatformNotSupportedException, ArgumentNullException, IOException, ArgumentOutOfRangeException, ArrayTypeMismatchException, IndexOutOfRangeException, UnreachableException, OutOfMemoryException, SocketException
java.lang.Throwable - if the call fails in the bridge or in the CLRObjectDisposedException - if the .NET member raises itArgumentException - if the .NET member raises itEventSourceException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itIOException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itSocketException - if the .NET member raises it