RsaSecurityToken.MatchesKeyIdentifierClause 方法

定义

返回一个值,该值指示此实例的密钥标识符是否与指定的密钥标识符相匹配。

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

参数

keyIdentifierClause
SecurityKeyIdentifierClause

要与此实例进行比较的 SecurityKeyIdentifierClause

返回

如果 keyIdentifierClauseRsaKeyIdentifierClause 类型并且密钥匹配,则为 true;否则为 false

适用于