System.Net.Security 命名空間

提供可在主機之間安全通訊的網路資料流。 Provides network streams for secure communications between hosts.

類別

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

表示的用戶端驗證屬性包 SslStreamRepresents a client authentication property bag for the SslStream.

SslServerAuthenticationOptions

此結構代表 SslStream 的伺服器驗證屬性包。This struct represents a server authentication property bag for the SslStream.

SslStream

提供用於用戶端與伺服器通訊的資料流,其會使用安全通訊端層 (SSL) 安全性通訊協定來驗證伺服器及用戶端 (選擇性)。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.

結構

SslApplicationProtocol

代表 TLS 應用程式通訊協定的值。Represents a value of TLS Application protocol.

SslClientHelloInfo

此結構包含來自已接收的 TLS 用戶端 Hello 框架的資訊。This struct contains information from received TLS Client Hello frame.

列舉

AuthenticationLevel

當使用 WebRequest 類別和衍生類別以要求資源時,指定用戶端的驗證和模擬需求。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

列舉安全通訊端層 (SSL) 原則錯誤。Enumerates Secure Socket Layer (SSL) policy errors.

TlsCipherSuite

代表 TLS (先前稱為 SSL) 通訊協定的加密套件值。Represents cipher suite values for the TLS (formerly SSL) protocol.

委派

LocalCertificateSelectionCallback

選取用於驗證的本機 Secure Sockets Layer (SSL) 憑證。Selects the local Secure Sockets Layer (SSL) certificate used for authentication.

RemoteCertificateValidationCallback

驗證用於驗證的遠端 Secure Sockets Layer (SSL) 憑證。Verifies the remote Secure Sockets Layer (SSL) certificate used for authentication.

ServerCertificateSelectionCallback

選取伺服器安全通訊端層 (SSL) 憑證。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.