WSSecurityTokenSerializer.CreateKeyIdentifierClauseFromTokenXml(XmlElement, SecurityTokenReferenceStyle) Método

Definición

Crea una cláusula identificador clave a partir de un token expresado como XML.Creates a key identifier clause from a token expressed as XML.

public:
 virtual System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ CreateKeyIdentifierClauseFromTokenXml(System::Xml::XmlElement ^ element, System::ServiceModel::Security::Tokens::SecurityTokenReferenceStyle tokenReferenceStyle);
public virtual System.IdentityModel.Tokens.SecurityKeyIdentifierClause CreateKeyIdentifierClauseFromTokenXml (System.Xml.XmlElement element, System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle tokenReferenceStyle);
abstract member CreateKeyIdentifierClauseFromTokenXml : System.Xml.XmlElement * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
override this.CreateKeyIdentifierClauseFromTokenXml : System.Xml.XmlElement * System.ServiceModel.Security.Tokens.SecurityTokenReferenceStyle -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Public Overridable Function CreateKeyIdentifierClauseFromTokenXml (element As XmlElement, tokenReferenceStyle As SecurityTokenReferenceStyle) As SecurityKeyIdentifierClause

Parámetros

element
XmlElement

Token de seguridad.The security token.

Devoluciones

SecurityKeyIdentifierClause

Identificador de clave de seguridad creado.The created security key identifier.

Excepciones

Se produjo un error al deserializar la cláusula de identificador de clave o no se pudo leer la cláusula de identificador de clave.An error occurred when deserializing the key identifier clause or the key identifier clause could not be read.

Se aplica a