SqlColumnEncryptionAzureKeyVaultProvider.SignColumnMasterKeyMetadataAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously uses an asymmetric key identified by the key path to sign the master key metadata consisting of (masterKeyPath, allowEnclaveComputations bit, providerName).
public override System.Threading.Tasks.Task<byte[]> SignColumnMasterKeyMetadataAsync(string masterKeyPath, bool allowEnclaveComputations, System.Threading.CancellationToken cancellationToken = default);
override this.SignColumnMasterKeyMetadataAsync : string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Overrides Function SignColumnMasterKeyMetadataAsync (masterKeyPath As String, allowEnclaveComputations As Boolean, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())
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 a trusted enclave
- cancellationToken
- CancellationToken
Token used to request cancellation of the operation
Returns
The signature of the master key metadata
Remarks
Argument validation failures are reported through the returned task rather than thrown synchronously.