Redigera

Dela via


X509SecurityTokenHandler.CanWriteKeyIdentifierClause Method

Definition

Returns a value that indicates whether the specified key identifier clause can be serialized by this handler.

public:
 override bool CanWriteKeyIdentifierClause(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ securityKeyIdentifierClause);
public override bool CanWriteKeyIdentifierClause (System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause);
override this.CanWriteKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function CanWriteKeyIdentifierClause (securityKeyIdentifierClause As SecurityKeyIdentifierClause) As Boolean

Parameters

securityKeyIdentifierClause
SecurityKeyIdentifierClause

The key identifier clause to be serialized.

Returns

true if the securityKeyIdentifierClause is supported and if the WriteXmlDSigDefinedClauseTypes property is set to true; otherwise, false.

Exceptions

securityKeyIdentifierClause is null.

Remarks

The supported key identifier clause types are:

  1. X509IssuerSerialKeyIdentifierClause

  2. X509RawDataKeyIdentifierClause

  3. X509SubjectKeyIdentifierClause

Applies to