SamlSecurityTokenHandler.ReadSigningKeyInfo Method (XmlReader, SamlAssertion)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Deserializes the SAML Signing KeyInfo.

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

protected virtual SecurityKeyIdentifier ReadSigningKeyInfo(
	XmlReader reader,
	SamlAssertion assertion
)

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader that can be positioned at a ds:KeyInfo element.

assertion
Type: System.IdentityModel.Tokens.SamlAssertion

The assertion that is having the signature checked.

Return Value

Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

The SecurityKeyIdentifier that represents the key to use to check the signature.

Exception Condition
ArgumentNullException

reader is null.

.NET Framework
Available since 4.5
Return to top
Show: