Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.ReadSigningKeyInfo Method

.NET Framework 4.6 and 4.5

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.

ExceptionCondition
ArgumentNullException

reader is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft