EndpointIdentity Class
An abstract class that when implemented provides an identity that enables the authentication of an endpoint by clients that exchange messages with it.
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The EndpointIdentity type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | CreateDnsIdentity | Creates a DNS identity with a specified DNS name. |
![]() ![]() | CreateIdentity | 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 | Creates a server principal name (SPN) identity with a specified name. |
![]() ![]() | CreateUpnIdentity | Creates a user principal name (UPN) identity with a specified name. |
![]() ![]() | CreateX509CertificateIdentity(X509Certificate2) | Creates an X509Certificate identity with the specified certificate. |
![]() ![]() | CreateX509CertificateIdentity(X509Certificate2, X509Certificate2Collection) | Creates an X509Certificate identity with the specified primary and supporting certificates. |
![]() ![]() | Equals | Returns a value that determines whether a specified object is equal to the current identity object or if they have equal security properties. (Overrides Object.Equals(Object).) |
![]() ![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | GetHashCode | Provides a hash code for the current instance of the identity. (Overrides Object.GetHashCode().) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize(Claim) | Initializes an EndpointIdentity with the specified claim. |
![]() | Initialize(Claim, IEqualityComparer<Claim>) | Initializes an EndpointIdentity with the specified claim and an interface and compares equality. |
![]() ![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() ![]() | ToString | Returns the identity. (Overrides Object.ToString().) |
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.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

