X509CertificateEndpointIdentity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Inheritance
Constructors
X509CertificateEndpointIdentity(X509Certificate2, X509Certificate2Collection) |
Initializes a new instance of the X509CertificateEndpointIdentity class using the primary (leaf) certificate and certificates that are part of its trust chain. |
X509CertificateEndpointIdentity(X509Certificate2) |
Initializes a new instance of the X509CertificateEndpointIdentity class using an existing certificate. |
Properties
Certificates |
Gets the collection of certificates for this identity. |
IdentityClaim |
Gets the identity claim that corresponds to the identity. (Inherited from EndpointIdentity) |
Methods
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() |
Provides a hash code for the current instance of the identity. (Inherited from EndpointIdentity) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
Initialize(Claim, IEqualityComparer<Claim>) |
Initializes an EndpointIdentity with the specified claim and an interface and compares equality. (Inherited from EndpointIdentity) |
Initialize(Claim) |
Initializes an EndpointIdentity with the specified claim. (Inherited from EndpointIdentity) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns the identity. (Inherited from EndpointIdentity) |
Applies to
.NET