ConfigurationBasedIssuerNameRegistry.GetIssuerName(SecurityToken) Método

Definição

Retorna o nome do emissor associado ao X509SecurityToken especificado mapeando a impressão digital do certificado para um nome no dicionário de emissores confiáveis.Returns the issuer name associated with the specified X509SecurityToken by mapping the certificate thumbprint to a name in the trusted issuers dictionary.

public:
 override System::String ^ GetIssuerName(System::IdentityModel::Tokens::SecurityToken ^ securityToken);
public override string GetIssuerName (System.IdentityModel.Tokens.SecurityToken securityToken);
override this.GetIssuerName : System.IdentityModel.Tokens.SecurityToken -> string
Public Overrides Function GetIssuerName (securityToken As SecurityToken) As String

Parâmetros

securityToken
SecurityToken

O token de segurança para o qual o nome do emissor é solicitado.The security token for which the issuer name is requested. Deve ser atribuível como X509SecurityToken.Should be assignable as X509SecurityToken.

Retornos

String

O nome do emissor se existir uma entrada para a impressão digital do certificado do token no ConfiguredTrustedIssuers dicionário; caso contrário, null.The issuer name if an entry for the certificate thumbprint of the token exists in the ConfiguredTrustedIssuers dictionary; otherwise, null.

Exceções

securityToken é null.securityToken is null.

Comentários

A implementação padrão pesquisa o ConfiguredTrustedIssuers dicionário para a impressão digital do certificado X. 509 especificado em securityToken .The default implementation searches the ConfiguredTrustedIssuers dictionary for the thumbprint of the X.509 certificate specified in securityToken. Se uma entrada for encontrada, o nome do emissor será retornado; caso contrário, null será retornado.If an entry is found, the issuer name is returned; otherwise, null is returned. Se securityToken não for atribuível de X509SecurityToken , null será retornado.If securityToken is not assignable from X509SecurityToken, null is returned.

Aplica-se a