語言

X509ServiceCertificateAuthentication 類別

定義

代表用戶端代理用來驗證透過 SSL/TLS 協商取得的服務憑證的設定。

public ref class X509ServiceCertificateAuthentication sealed
public sealed class X509ServiceCertificateAuthentication
type X509ServiceCertificateAuthentication = class
Public NotInheritable Class X509ServiceCertificateAuthentication
繼承
X509ServiceCertificateAuthentication

範例

以下範例說明如何使用此類別。

ClientCredentials clientCreds =
    new ClientCredentials();
Console.WriteLine(
    clientCreds.ServiceCertificate.Authentication);

建構函式

名稱 Description
X509ServiceCertificateAuthentication()

初始化 X509ServiceCertificateAuthentication 類別的新執行個體。

屬性

名稱 Description
CertificateValidationMode

取得或設定憑證驗證模式。

CustomCertificateValidator

取得或設定自訂的客戶端憑證驗證器。

RevocationMode

取得或設定 ChainTrust 與 PeerOrChainTrust X.509 憑證驗證模式的憑證撤銷模式。

TrustedStoreLocation

取得或設定可信儲存位置,並在此上下文中驗證客戶端憑證鏈。

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於