X509SecurityToken.CreateKeyIdentifierClause<T> 方法
定义
创建指定的密钥标识符子句。Creates the specified key identifier clause.
public:
generic <typename T>
where T : System::IdentityModel::Tokens::SecurityKeyIdentifierClause override T CreateKeyIdentifierClause();
public override T CreateKeyIdentifierClause<T> () where T : System.IdentityModel.Tokens.SecurityKeyIdentifierClause;
override this.CreateKeyIdentifierClause : unit -> 'T (requires 'T :> System.IdentityModel.Tokens.SecurityKeyIdentifierClause)
Public Overrides Function CreateKeyIdentifierClause(Of T As SecurityKeyIdentifierClause) () As T
类型参数
- T
一个 SecurityKeyIdentifierClause,指定要创建的密钥标识符。A SecurityKeyIdentifierClause that specifies the key identifier to create.
返回
- T
一个 SecurityKeyIdentifierClause,它是安全令牌的密钥标识符子句。A SecurityKeyIdentifierClause that is a key identifier clause for the security token.
注解
CreateKeyIdentifierClause 方法的返回值是可以表示 X.509 证书密钥标识符的密钥标识符子句类型之一。The return value for the CreateKeyIdentifierClause method is one of the key identifier clause types that an X.509 certificate key identifier can be expressed in. 可能的返回类型由 X509SubjectKeyIdentifierClause、X509ThumbprintKeyIdentifierClause、X509IssuerSerialKeyIdentifierClause 和 X509RawDataKeyIdentifierClause 类表示。The possible return types are represented by the X509SubjectKeyIdentifierClause, X509ThumbprintKeyIdentifierClause, X509IssuerSerialKeyIdentifierClause, and X509RawDataKeyIdentifierClause classes.