Export (0) Print
Expand All
Expand Minimize

SamlSecurityTokenHandler.WriteSigningKeyInfo Method

.NET Framework 4.6 and 4.5

Writes the Signing <ds:KeyInfo> element using the specified XML writer.

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

protected virtual void WriteSigningKeyInfo(
	XmlWriter writer,
	SecurityKeyIdentifier signingKeyIdentifier
)

Parameters

writer
Type: System.Xml.XmlWriter

The XmlWriter with which to serialize the key identifier.

signingKeyIdentifier
Type: System.IdentityModel.Tokens.SecurityKeyIdentifier

The SecurityKeyIdentifier that represents the key identifier to write.

ExceptionCondition
ArgumentNullException

signingKeyIdentifier is null.

-or-

writer is null.

InvalidOperationException

The handler cannot serialize the key identifier specified by signingKeyIdentifier.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft