Språk

SqlColumnEncryptionAzureKeyVaultProvider.VerifyColumnMasterKeyMetadataAsync Method

Definition

Asynchronously uses an asymmetric key identified by the key path to verify the master key metadata consisting of (masterKeyPath, allowEnclaveComputations bit, providerName).

public override System.Threading.Tasks.Task<bool> VerifyColumnMasterKeyMetadataAsync(string masterKeyPath, bool allowEnclaveComputations, byte[] signature, System.Threading.CancellationToken cancellationToken = default);
override this.VerifyColumnMasterKeyMetadataAsync : string * bool * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overrides Function VerifyColumnMasterKeyMetadataAsync (masterKeyPath As String, allowEnclaveComputations As Boolean, signature As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Boolean)

Parameters

masterKeyPath
String

Complete path of an asymmetric key. Path format is specific to a key store provider.

allowEnclaveComputations
Boolean

Boolean indicating whether this key can be sent to trusted enclave

signature
Byte[]

Signature for the master key metadata

cancellationToken
CancellationToken

Token used to request cancellation of the operation

Returns

Boolean indicating whether the master key metadata can be verified based on the provided signature

Remarks

Argument validation failures are reported through the returned task rather than thrown synchronously.

Applies to