Redigera

Dela via


X509DataSecurityKeyIdentifierClauseSerializer.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 check.

Returns

true if the key identifier clause is supported by this handler; otherwise, false.

Exceptions

securityKeyIdentifierClause is null.

Remarks

The supported key identifier clause types are:

  1. X509IssuerSerialKeyIdentifierClause

  2. X509RawDataKeyIdentifierClause

  3. X509SubjectKeyIdentifierClause

Applies to