System.Net.Security Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
NegotiateAuthentication |
Represents a stateful authentication exchange that uses the Negotiate, NTLM, or Kerberos security protocols to authenticate the client or server, in client-server communication. |
NegotiateAuthenticationClientOptions |
Represents a property bag for the client side of an authentication exchange. |
NegotiateAuthenticationServerOptions |
Represents a property bag for the server side of an authentication exchange. |
NegotiateStream |
Provides a stream that uses the Negotiate security protocol to authenticate the client, and optionally the server, in client-server communication. |
SslCertificateTrust |
Represents a trust policy for use with SSL/TLS connections. |
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 |
Specifies the encryption policy. |
NegotiateAuthenticationStatusCode |
Specifies the statuses for a single step of an authentication exchange. |
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. |