The TlsConnection type exposes the following members.
Methods
Name | Description | |
---|---|---|
ClientRemoteCertificateValidationCallback |
This is the client-side certificate validation callback.
| |
Close |
Closes the TLS stream (pass-through).
| |
ConnectAsClient |
Initiates authentication of the TLS connection as a client.
| |
ConnectAsServer |
Initiates authentication of the TLS connection as a server.
Authentication exception thrown for null certificatesPropagate exceptions thrown from TlsStream | |
GetAuthenticationInformation |
Formats information about the state of the underlying SslStream. This method is based on example code from the MSDN documentation of SslStream.
| |
GetCertificateInformation |
Formats information about the given X509 certificate.
| |
GetConfigurationInformation |
Formats information about the configuration of the TLS connection.
| |
GetSecurityState |
Formats information about the security state of the TLS connection.
| |
IsSecure |
Checks whether the TLS connection is encrypted, authenticated, and signed.
| |
Read |
Reads from the TLS stream (pass-through).
| |
ServerRemoteCertificateValidationCallback |
This is the server-side certificate validation callback.
| |
Write(Byte) |
Writes to the TLS stream (pass-through).
| |
Write(Byte, Int32, Int32) |
Writes to the TLS stream (pass-through).
|
See Also