Udostępnij za pośrednictwem


SamlSecurityTokenHandler.ReadSigningKeyInfo(XmlReader, SamlAssertion) Metoda

Definicja

Deserializuje informacje o kluczu podpisywania SAML.

protected:
 virtual System::IdentityModel::Tokens::SecurityKeyIdentifier ^ ReadSigningKeyInfo(System::Xml::XmlReader ^ reader, System::IdentityModel::Tokens::SamlAssertion ^ assertion);
protected virtual System.IdentityModel.Tokens.SecurityKeyIdentifier ReadSigningKeyInfo (System.Xml.XmlReader reader, System.IdentityModel.Tokens.SamlAssertion assertion);
abstract member ReadSigningKeyInfo : System.Xml.XmlReader * System.IdentityModel.Tokens.SamlAssertion -> System.IdentityModel.Tokens.SecurityKeyIdentifier
override this.ReadSigningKeyInfo : System.Xml.XmlReader * System.IdentityModel.Tokens.SamlAssertion -> System.IdentityModel.Tokens.SecurityKeyIdentifier
Protected Overridable Function ReadSigningKeyInfo (reader As XmlReader, assertion As SamlAssertion) As SecurityKeyIdentifier

Parametry

reader
XmlReader

Element XmlReader, który można umieścić w elemecie ds:KeyInfo.

assertion
SamlAssertion

Potwierdzenie, które ma sprawdzony podpis.

Zwraca

Element SecurityKeyIdentifier reprezentujący klucz używany do sprawdzania podpisu.

Wyjątki

reader to null.

Dotyczy