Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
X509CertificateEndpointIdentity Class
Collapse the table of content
Expand the table of content

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.


Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public class X509CertificateEndpointIdentity : EndpointIdentity

The X509CertificateEndpointIdentity type exposes the following members.

Public methodX509CertificateEndpointIdentity(X509Certificate2)Initializes a new instance of a X509CertificateEndpointIdentity class using an existing certificate.
Public methodX509CertificateEndpointIdentity(X509Certificate2, X509Certificate2Collection)Initializes a new instance of the X509CertificateEndpointIdentity class using the primary (leaf) certificate and certificates that are part of its trust chain.

Public propertyCertificatesGets the collection of certificates for this identity.
Public propertyIdentityClaimGets the identity claim that corresponds to the identity. (Inherited from EndpointIdentity.)

Public methodEqualsReturns 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.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeProvides a hash code for the current instance of the identity. (Inherited from EndpointIdentity.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitialize(Claim)Initializes an EndpointIdentity with the specified claim. (Inherited from EndpointIdentity.)
Protected methodInitialize(Claim, IEqualityComparer<Claim>)Initializes an EndpointIdentity with the specified claim and an interface and compares equality. (Inherited from EndpointIdentity.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns the identity. (Inherited from EndpointIdentity.)

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft