RsaSecurityToken.CanCreateKeyIdentifierClause<T> 方法
定义
获取一个值,该值指示此安全令牌能否创建指定的密钥标识符。Gets a value that indicates whether this security token is capable of creating the specified key identifier.
public:
generic <typename T>
where T : System::IdentityModel::Tokens::SecurityKeyIdentifierClause override bool CanCreateKeyIdentifierClause();
public override bool CanCreateKeyIdentifierClause<T> () where T : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;
override this.CanCreateKeyIdentifierClause : unit -> bool (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
Public Overrides Function CanCreateKeyIdentifierClause(Of T As SecurityKeyIdentifierClause) () As Boolean
类型参数
- T
一个 SecurityKeyIdentifierClause,指定要创建的密钥标识符的类型。A SecurityKeyIdentifierClause that specifies the type of key identifier to create.
返回
如果 true 的类型为 T,则为 RsaKeyIdentifierClause;否则为 false。true when T is of type RsaKeyIdentifierClause; otherwise, false.
注解
若要创建密钥标识符子句,请调用 CreateKeyIdentifierClause 方法。To create the key identifier clause, call the CreateKeyIdentifierClause method.