X509SecurityTokenProvider.Certificate Property


Gets the X.509 certificate associated with the X509SecurityToken security token.

Namespace:   System.IdentityModel.Selectors
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public X509Certificate2 Certificate { get; }

Property Value

Type: System.Security.Cryptography.X509Certificates.X509Certificate2

Gets an X509Certificate2 that represents the X.509 certificate of a security token.

The GetTokenCore method gets a security token based on the certificate represented by the Certificate property.

.NET Framework
Available since 3.0
Return to top