Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConfigurationBasedIssuerNameRegistry::GetIssuerName Method (SecurityToken^)

.NET Framework (current version)
 

Returns the issuer name associated with the specified X509SecurityToken by mapping the certificate thumbprint to a name in the trusted issuers dictionary.

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

public:
virtual String^ GetIssuerName(
	SecurityToken^ securityToken
) override

Parameters

securityToken
Type: System.IdentityModel.Tokens::SecurityToken^

The security token for which the issuer name is requested. Should be assignable as X509SecurityToken.

Return Value

Type: System::String^

The issuer name if an entry for the certificate thumbprint of the token exists in the ConfiguredTrustedIssuers dictionary; otherwise, null.

Exception Condition
ArgumentNullException

securityToken is null.

The default implementation searches the ConfiguredTrustedIssuers dictionary for the thumbprint of the X.509 certificate specified in securityToken. If an entry is found, the issuer name is returned; otherwise, null is returned. If securityToken is not assignable from X509SecurityToken, null is returned.

.NET Framework
Available since 4.5
Return to top
Show:
© 2017 Microsoft