IssuerTokenResolver.TryResolveSecurityKeyCore 方法

定义

尝试检索在指定密钥标识符子句中引用的密钥。 (基类方法的重写)。

protected:
 override bool TryResolveSecurityKeyCore(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ keyIdentifierClause, [Runtime::InteropServices::Out] System::IdentityModel::Tokens::SecurityKey ^ % key);
protected override bool TryResolveSecurityKeyCore(System.IdentityModel.Tokens.SecurityKeyIdentifierClause keyIdentifierClause, out System.IdentityModel.Tokens.SecurityKey key);
override this.TryResolveSecurityKeyCore : System.IdentityModel.Tokens.SecurityKeyIdentifierClause * SecurityKey -> bool
Protected Overrides Function TryResolveSecurityKeyCore (keyIdentifierClause As SecurityKeyIdentifierClause, ByRef key As SecurityKey) As Boolean

参数

keyIdentifierClause
SecurityKeyIdentifierClause

要为其检索密钥的密钥标识符子句。

key
SecurityKey

此方法返回时,包含指定密钥标识符子句中引用的密钥。 此参数未初始化传递。

返回

true 为指定的密钥标识符子句检索密钥时;否则,为 false.

适用于