System.Net.Security Namespace

Provides network streams for secure communications between hosts.

Classes

AuthenticatedStream

Provides methods for passing credentials across a stream and requesting or performing authentication for client-server applications.

CipherSuitesPolicy

Specifies allowed cipher suites.

NegotiateStream

Provides a stream that uses the Negotiate security protocol to authenticate the client, and optionally the server, in client-server communication.

SslClientAuthenticationOptions

Represents a client authentication property bag for the SslStream.

SslServerAuthenticationOptions

This struct represents a server authentication property bag for the SslStream.

SslStream

Provides a stream used for client-server communication that uses the Secure Socket Layer (SSL) security protocol to authenticate the server and optionally the client.

SslStreamCertificateContext

Represents a set of certificates used for building a certificate chain.

Structs

SslApplicationProtocol

Represents a value of TLS Application protocol.

SslClientHelloInfo

This struct contains information from received TLS Client Hello frame.

Enums

AuthenticationLevel

Specifies client requirements for authentication and impersonation when using the WebRequest class and derived classes to request a resource.

EncryptionPolicy

The EncryptionPolicy to use.

ProtectionLevel

Indicates the security services requested for an authenticated stream.

SslPolicyErrors

Enumerates Secure Socket Layer (SSL) policy errors.

TlsCipherSuite

Represents cipher suite values for the TLS (formerly SSL) protocol.

Delegates

LocalCertificateSelectionCallback

Selects the local Secure Sockets Layer (SSL) certificate used for authentication.

RemoteCertificateValidationCallback

Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication.

ServerCertificateSelectionCallback

Selects the server Secure Sockets Layer (SSL) certificate.

ServerOptionsSelectionCallback

Represents the asynchronous callback method that will select session properties based on the name requested by the client.