WriteSubjectKeyInfo Method
TOC
Collapse the table of content
Expand the table of content

SamlSecurityTokenHandler.WriteSubjectKeyInfo Method (XmlWriter, SecurityKeyIdentifier)

.NET Framework (current version)
 

Serializes the Subject <ds:KeyInfo> element using the specified XML writer.

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

protected virtual void WriteSubjectKeyInfo(
	XmlWriter writer,
	SecurityKeyIdentifier subjectSki
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to serialize the key identifier.

subjectSki
Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

The SecurityKeyIdentifier that represents the key identifier to write.

Exception Condition
ArgumentNullException

subjectSki is null.

-or-

writer is null.

.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft