SamlSecurityTokenHandler.ReadSubjectKeyInfo Method (XmlReader)

.NET Framework (current version)
 

Deserializes the SAML Subject <ds:KeyInfo> element.

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

protected virtual SecurityKeyIdentifier ReadSubjectKeyInfo(
	XmlReader reader
)

Parameters

reader
Type: System.Xml.XmlReader

An XmlReader positioned at a <ds:KeyInfo> element.

Return Value

Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

A SecurityKeyIdentifier that represents the contents of the <ds:KeyInfo> element.

Exception Condition
ArgumentNullException

reader is null.

.NET Framework
Available since 4.5
Return to top
Show: