Redigera

Dela via


X509CertificateStoreTokenResolver.TryResolveSecurityKeyCore Method

Definition

Attempts to resolve the specified key identifier clause to a security key.

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

Parameters

keyIdentifierClause
SecurityKeyIdentifierClause

The key identifier clause from which to resolve the security key.

key
SecurityKey

When this method returns, contains the security key that was resolved from the key identifier clause. This parameter is treated as uninitialized.

Returns

true if the key identifier clause is successfully resolved; otherwise, false.

Exceptions

keyIdentifierClause is null.

Applies to