Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.ReadSubjectKeyInfo Method

.NET Framework 4.6 and 4.5

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.

ExceptionCondition
ArgumentNullException

reader is null.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft