X509CertificateStoreTokenResolver.TryResolveSecurityKeyCore Metod

Definition

Försöker matcha den angivna nyckelidentifierarsatsen till en säkerhetsnyckel.

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

Parametrar

keyIdentifierClause
SecurityKeyIdentifierClause

Nyckelidentifierarsatsen som säkerhetsnyckeln ska matchas från.

key
SecurityKey

När den här metoden returneras innehåller den säkerhetsnyckel som löstes från nyckelidentifierarsatsen. Den här parametern behandlas som oinitierad.

Returer

trueom nyckelidentifierarsatsen har lösts; annars . false

Undantag

keyIdentifierClause är null.

Gäller för