X509DataSecurityKeyIdentifierClauseSerializer.CanWriteKeyIdentifierClause 方法

定义

返回指示指定的密钥标识符子句是否可以由此处理程序序列化的值。

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

参数

securityKeyIdentifierClause
SecurityKeyIdentifierClause

要检查的密钥标识符子句。

返回

如果此处理器支持密钥标识符子句,则为 true否则为 false

例外

securityKeyIdentifierClausenull

注解

支持的密钥标识符子句类型包括:

  1. X509IssuerSerialKeyIdentifierClause

  2. X509RawDataKeyIdentifierClause

  3. X509SubjectKeyIdentifierClause

适用于