SamlSecurityTokenHandler.WriteSubjectKeyInfo Method

Definition

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

C#
protected virtual void WriteSubjectKeyInfo(System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifier subjectSki);

Parameters

writer
XmlWriter

The XmlWriter with which to serialize the key identifier.

subjectSki
SecurityKeyIdentifier

The SecurityKeyIdentifier that represents the key identifier to write.

Exceptions

subjectSki is null.

-or-

writer is null.

Applies to

Produkt Versiounen
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1