SqlColumnEncryptionCspProvider.VerifyColumnMasterKeyMetadata Method

Definition

This function must be implemented by the corresponding Key Store providers. This function should use an asymmetric key identified by a key path and sign the masterkey metadata consisting of (masterKeyPath, allowEnclaveComputations, providerName).

C#
public override bool VerifyColumnMasterKeyMetadata (string masterKeyPath, bool allowEnclaveComputations, byte[] signature);

Parameters

masterKeyPath
String

The complete path of an asymmetric key. The path format is specific to a key store provider.

allowEnclaveComputations
Boolean

A boolean that indicates if this key can be sent to the trusted enclave.

signature
Byte[]

Master key metadata signature.

Returns

A Boolean that indicates if the master key metadata can be verified based on the provided signature.

Applies to

Produkt Verzie
SqlClient .NET Core 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Framework 1.0, 1.1, 2.0, 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2
SqlClient .NET Standard 2.1, 3.0, 3.1, 4.0, 4.1, 5.0, 5.1, 5.2