X509CertificateEndpointIdentity 類別

定義

表示服務端點的憑證身分識別。Represents a certificate identity for the service endpoint. 嘗試與這個服務端點通訊的用戶端應該根據端點身分識別中提供的憑證來驗證服務。Clients that attempt to communicate with that service endpoint should authenticate the service based on the certificate provided in the endpoint identity.

public ref class X509CertificateEndpointIdentity : System::ServiceModel::EndpointIdentity
public class X509CertificateEndpointIdentity : System.ServiceModel.EndpointIdentity
type X509CertificateEndpointIdentity = class
    inherit EndpointIdentity
Public Class X509CertificateEndpointIdentity
Inherits EndpointIdentity
繼承
X509CertificateEndpointIdentity

建構函式

X509CertificateEndpointIdentity(X509Certificate2)

使用現有的憑證,初始化 X509CertificateEndpointIdentity 類別的新執行個體。Initializes a new instance of a X509CertificateEndpointIdentity class using an existing certificate.

X509CertificateEndpointIdentity(X509Certificate2, X509Certificate2Collection)

使用主要 (分葉) 憑證以及屬於其信賴鏈結之一部分的憑證,初始化 X509CertificateEndpointIdentity 類別的新執行個體。Initializes a new instance of the X509CertificateEndpointIdentity class using the primary (leaf) certificate and certificates that are part of its trust chain.

屬性

Certificates

取得這個身分識別的憑證集合。Gets the collection of certificates for this identity.

IdentityClaim

取得對應到身分識別的身分識別宣告。Gets the identity claim that corresponds to the identity.

(繼承來源 EndpointIdentity)

方法

Equals(Object)

傳回值,這個值會判斷指定的物件是否與目前的身分識別物件相等,或是否擁有相同的安全性屬性。Returns a value that determines whether a specified object is equal to the current identity object or if they have equal security properties.

(繼承來源 EndpointIdentity)
GetHashCode()

針對身分識別目前的執行個體提供雜湊程式碼。Provides a hash code for the current instance of the identity.

(繼承來源 EndpointIdentity)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
Initialize(Claim)

使用指定的宣告初始化 EndpointIdentityInitializes an EndpointIdentity with the specified claim.

(繼承來源 EndpointIdentity)
Initialize(Claim, IEqualityComparer<Claim>)

使用指定的宣告及介面來初始化 EndpointIdentity 並比較是否相等。Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

(繼承來源 EndpointIdentity)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
ToString()

傳回身分識別。Returns the identity.

(繼承來源 EndpointIdentity)

適用於