Rediger

Del via


EndpointIdentity Class

Definition

An abstract class that when implemented provides an identity that enables the authentication of an endpoint by clients that exchange messages with it.

public ref class EndpointIdentity abstract
public abstract class EndpointIdentity
type EndpointIdentity = class
Public MustInherit Class EndpointIdentity
Inheritance
EndpointIdentity
Derived

Remarks

The value of the identity for an endpoint can be set with constructors of EndpointAddress, where its value can also be accessed as a read-only Identity property.

Constructors

EndpointIdentity()

Creates an empty EndpointIdentity instance.

Properties

IdentityClaim

Gets the identity claim that corresponds to the identity.

Methods

CreateDnsIdentity(String)

Creates a DNS identity with a specified DNS name.

CreateIdentity(Claim)

Creates an identity with the specified claim.

CreateRsaIdentity(String)

Creates an RSA identity with the specified public key.

CreateRsaIdentity(X509Certificate2)

Creates an RSA identity with the specified X.509 certificate.

CreateSpnIdentity(String)

Creates a server principal name (SPN) identity with a specified name.

CreateUpnIdentity(String)

Creates a user principal name (UPN) identity with a specified name.

CreateX509CertificateIdentity(X509Certificate2, X509Certificate2Collection)

Creates an X509Certificate identity with the specified primary and supporting certificates.

CreateX509CertificateIdentity(X509Certificate2)

Creates an X509Certificate identity with the specified certificate.

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.

GetHashCode()

Provides a hash code for the current instance of the identity.

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.

Initialize(Claim)

Initializes an EndpointIdentity with the specified claim.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns the identity.

Applies to