X509CertificateEndpointIdentity X509CertificateEndpointIdentity X509CertificateEndpointIdentity X509CertificateEndpointIdentity Class

定义

表示服务终结点的证书标识。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
继承
X509CertificateEndpointIdentityX509CertificateEndpointIdentityX509CertificateEndpointIdentityX509CertificateEndpointIdentity

构造函数

X509CertificateEndpointIdentity(X509Certificate2) X509CertificateEndpointIdentity(X509Certificate2) X509CertificateEndpointIdentity(X509Certificate2) X509CertificateEndpointIdentity(X509Certificate2)

使用现有证书初始化 X509CertificateEndpointIdentity 对象的类。Initializes a new instance of a X509CertificateEndpointIdentity class using an existing certificate.

X509CertificateEndpointIdentity(X509Certificate2, X509Certificate2Collection) X509CertificateEndpointIdentity(X509Certificate2, X509Certificate2Collection) X509CertificateEndpointIdentity(X509Certificate2, X509Certificate2Collection) X509CertificateEndpointIdentity(X509Certificate2, X509Certificate2Collection)

使用主要(叶)证书和作为其信任链一部分的证书初始化此the X509CertificateEndpointIdentity类的新实例。Initializes a new instance of the X509CertificateEndpointIdentity class using the primary (leaf) certificate and certificates that are part of its trust chain.

属性

Certificates Certificates Certificates Certificates

获取此标识的证书集合。Gets the collection of certificates for this identity.

IdentityClaim IdentityClaim IdentityClaim IdentityClaim

获取对应于此标识的标识声明。Gets the identity claim that corresponds to the identity.

(Inherited from EndpointIdentity)

方法

Equals(Object) Equals(Object) Equals(Object) 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.

(Inherited from EndpointIdentity)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

提供当前标识实例的哈希代码。Provides a hash code for the current instance of the identity.

(Inherited from EndpointIdentity)
GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
Initialize(Claim) Initialize(Claim) Initialize(Claim) Initialize(Claim)

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

(Inherited from EndpointIdentity)
Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>) Initialize(Claim, IEqualityComparer<Claim>)

使用指定的声明和接口初始化 EndpointIdentity 并对相等性进行比较。Initializes an EndpointIdentity with the specified claim and an interface and compares equality.

(Inherited from EndpointIdentity)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回标识。Returns the identity.

(Inherited from EndpointIdentity)

适用于