X509DataSecurityKeyIdentifierClauseSerializer.WriteKeyIdentifierClause Method

Definition

Serializes the specified key identifier clause.

C#
public override void WriteKeyIdentifierClause (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause);

Parameters

writer
XmlWriter

The XML writer to use to serialize the key identifier clause.

securityKeyIdentifierClause
SecurityKeyIdentifierClause

The key identifier clause to serialize.

Exceptions

reader is null.

-or-

securityKeyIdentifierClause is null.

securityKeyIdentifierClause is not a supported clause type.

Remarks

The supported key identifier clause types are:

  1. X509IssuerSerialKeyIdentifierClause

  2. X509RawDataKeyIdentifierClause

  3. X509SubjectKeyIdentifierClause

Applies to

Продукт Версии
.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