The TlsClientSocket type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TlsClientSocket()()()() |
Initializes an instance of the TlsClientSocket class.
| |
TlsClientSocket(Socket) |
Initializes an instance of the TlsClientSocket class with the specified base socket.
|
Methods
Name | Description | |
---|---|---|
Accept | (Inherited from TlsSocket.) | |
BeginAccept | (Inherited from TlsSocket.) | |
BeginConnect(EndPoint, AsyncCallback, Object) |
Establishes a connection to a remote device.
| |
BeginConnect(String, Int32, AsyncCallback, Object) |
Establishes a connection to a remote device.
| |
BeginListen | (Inherited from TlsSocket.) | |
BeginNegotiate |
Negotiates TLS/SSL cipher.
(Inherited from TlsSocket.) | |
BeginReceive |
Ends a pending asynchronous read.
(Inherited from TlsSocket.) | |
BeginSend |
Sends data asynchronously to a connected ISocket.
(Inherited from TlsSocket.) | |
Close |
Forces a TlsSocket connection to close.
(Inherited from TlsSocket.) | |
Connect(EndPoint) |
Establishes a connection to a remote device.
| |
Connect(String, Int32) |
Establishes a connection to a remote device.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from TlsSocket.) | |
EndAccept | (Inherited from TlsSocket.) | |
EndConnect |
Ends a pending asynchronous connection request.
| |
EndListen | (Inherited from TlsSocket.) | |
EndNegotiate |
Ends a pending asynchronous negotiation.
(Inherited from TlsSocket.) | |
EndReceive |
Ends a pending asynchronous read.
(Inherited from TlsSocket.) | |
EndSend |
Ends a pending asynchronous send.
(Inherited from TlsSocket.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetConnectionState |
Gets a value that indicates whether the SocketState is currently connected to a remote host.
(Inherited from TlsSocket.) | |
GetHashCode | (Inherited from TlsSocket.) | |
GetObject |
Used internally by Rebex components.
(Inherited from TlsSocket.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Listen | (Inherited from TlsSocket.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Negotiate |
Negotiates TLS/SSL cipher.
(Inherited from TlsSocket.) | |
OnDebug | Obsolete. (Inherited from TlsSocket.) | |
Poll |
Determines the status of the socket.
(Inherited from TlsSocket.) | |
Receive(ArraySegment<(Of <<'(Byte>)>>)) |
Receives data from a connected TlsSocket.
(Inherited from TlsSocket.) | |
Receive(array<Byte>[]()[][]) |
Receives data from a connected TlsSocket.
(Inherited from TlsSocket.) | |
Receive(array<Byte>[]()[][], SocketFlags) |
Receives data from a connected TlsSocket using the supplied flags.
(Inherited from TlsSocket.) | |
Receive(array<Byte>[]()[][], Int32, Int32) |
Receives the specified amount of data from a connected TlsSocket into a specific location of the receive buffer and using the supplied flags.
(Inherited from TlsSocket.) | |
Receive(array<Byte>[]()[][], Int32, SocketFlags) |
Receives the specified amount of data from a connected TlsSocket using the supplied flags.
(Inherited from TlsSocket.) | |
Receive(array<Byte>[]()[][], Int32, Int32, SocketFlags) |
Receives the specified amount of data from a connected TlsSocket into a specific location of the receive buffer and using the supplied flags.
(Inherited from TlsSocket.) | |
Renegotiate |
Renegotiates TLS/SSL cipher (if allowed by the other side).
(Inherited from TlsSocket.) | |
Send(ArraySegment<(Of <<'(Byte>)>>)) |
Sends data to a connected TlsSocket.
(Inherited from TlsSocket.) | |
Send(array<Byte>[]()[][]) |
Sends data to a connected TlsSocket.
(Inherited from TlsSocket.) | |
Send(array<Byte>[]()[][], SocketFlags) |
Sends data to a connected TlsSocket using the supplied flags.
(Inherited from TlsSocket.) | |
Send(array<Byte>[]()[][], Int32, Int32) |
Sends the specified amount of data to a connected TlsSocket starting at the indicated location in the data and using the supplied flags.
(Inherited from TlsSocket.) | |
Send(array<Byte>[]()[][], Int32, SocketFlags) |
Sends the specified amount of data to a connected TlsSocket using the supplied flags.
(Inherited from TlsSocket.) | |
Send(array<Byte>[]()[][], Int32, Int32, SocketFlags) |
Sends the specified amount of data to a connected TlsSocket starting at the indicated location in the data and using the supplied flags.
(Inherited from TlsSocket.) | |
Shutdown |
Disables sends and receives on a TlsSocket.
(Inherited from TlsSocket.) | |
ToString |
Returns a string representation of this object.
(Inherited from TlsSocket.) | |
Unprotect |
Reverts back to an unencrypted socket.
(Inherited from TlsSocket.) |
Properties
Name | Description | |
---|---|---|
Available |
Gets the amount of data that has been received from the network and is available to be read.
(Inherited from TlsSocket.) | |
Cipher |
Gets the active cipher.
(Inherited from TlsSocket.) | |
ClientCertificate |
Gets the client's certificate chain.
(Inherited from TlsSocket.) | |
CompressionMethod |
Gets the active data compression method.
(Inherited from TlsSocket.) | |
Connected |
Gets a value indicating whether a TlsSocket is connected to a remote resource.
(Inherited from TlsSocket.) | |
Context |
Gets or sets a custom context object associated with this TlsSocket.
(Inherited from TlsSocket.) | |
DebugLevel | Obsolete. (Inherited from TlsSocket.) | |
Entity |
Gets the entity.
(Inherited from TlsSocket.) | |
Factory |
Gets the instance of ISocketFactory that created this ISocket.
(Inherited from TlsSocket.) | |
Information |
Gets socket information on the underlying socket object.
(Inherited from TlsSocket.) | |
IsSecure |
Gets the current security state of the connection.
(Inherited from TlsSocket.) | |
LocalEndPoint |
Gets the local endpoint.
(Inherited from TlsSocket.) | |
LogWriter |
Gets or sets the logger used by this object.
(Inherited from TlsSocket.) | |
Parameters |
Gets or sets the security parameters of the current socket.
(Inherited from TlsSocket.) | |
RemoteEndPoint |
Gets the remote endpoint.
(Inherited from TlsSocket.) | |
ServerCertificate |
Gets the server's certificate chain.
(Inherited from TlsSocket.) | |
Session |
Gets the connection session
(Inherited from TlsSocket.) | |
SessionID | Obsolete. (Inherited from TlsSocket.) | |
Socket |
Gets the internal Socket value (only for sockets based on Socket or ProxySocket, otherwise null is returned).
(Inherited from TlsSocket.) | |
Timeout |
Gets or sets the length of time, in milliseconds, until the operation times out,
or the value -1 or 0 to indicate that the operation does not time out.
(Inherited from TlsSocket.) |
Events
Name | Description | |
---|---|---|
Debug | Obsolete. (Inherited from TlsSocket.) | |
ValidatingCertificate |
Occurs when a server certificate needs to be validated.
|