Redigera

Dela via


X509DataSecurityKeyIdentifierClauseSerializer.WriteKeyIdentifierClause Method

Definition

Serializes the specified key identifier clause.

public:
 override void WriteKeyIdentifierClause(System::Xml::XmlWriter ^ writer, System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ securityKeyIdentifierClause);
public override void WriteKeyIdentifierClause (System.Xml.XmlWriter writer, System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause);
override this.WriteKeyIdentifierClause : System.Xml.XmlWriter * System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> unit
Public Overrides Sub WriteKeyIdentifierClause (writer As XmlWriter, securityKeyIdentifierClause As 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