System.Security.Authentication 命名空間

「驗證」命名空間提供一組描述連線安全性的列舉。 The Authentication namespace provides a set of enumerations that describe the security of a connection. 這些列舉包括 CipherAlgorithmTypeExchangeAlgorithmTypeHashAlgorithmTypeSslProtocols These enumerations include CipherAlgorithmType, ExchangeAlgorithmType, HashAlgorithmType, and SslProtocols.

類別

AuthenticationException

當驗證資料流驗證失敗時所擲回的例外狀況。The exception that is thrown when authentication fails for an authentication stream.

InvalidCredentialException

當驗證資料流驗證失敗且無法重試時,所擲回的例外狀況。The exception that is thrown when authentication fails for an authentication stream and cannot be retried.

列舉

CipherAlgorithmType

定義 SslStream 類別可能的 Cipher 演算法。Defines the possible cipher algorithms for the SslStream class.

ExchangeAlgorithmType

指定用來建立由用戶端和伺服器所共用金鑰的演算法。Specifies the algorithm used to create keys shared by the client and server.

HashAlgorithmType

指定用來產生訊息驗證碼 (MAC) 的演算法。Specifies the algorithm used for generating message authentication codes (MACs).

SslProtocols

定義 SslProtocols 的可能版本。Defines the possible versions of SslProtocols.