Share via


SqlColumnEncryptionCspProvider.SignColumnMasterKeyMetadata Method

Definition

Throws a NotSupportedException exception in all cases.

public:
 override cli::array <System::Byte> ^ SignColumnMasterKeyMetadata(System::String ^ masterKeyPath, bool allowEnclaveComputations);
public override byte[] SignColumnMasterKeyMetadata(string masterKeyPath, bool allowEnclaveComputations);
override this.SignColumnMasterKeyMetadata : string * bool -> byte[]
Public Overrides Function SignColumnMasterKeyMetadata (masterKeyPath As String, allowEnclaveComputations As Boolean) As Byte()

Parameters

masterKeyPath
String

The column master key path. The path format is specific to a key store provider.

allowEnclaveComputations
Boolean

true to indicate that the column master key supports enclave computations; otherwise, false.

Returns

Byte[]

The signature of the column master key metadata.

Remarks

The SignColumnMasterKeyMetadata(String, Boolean) method must be implemented by the corresponding key store providers. SignColumnMasterKeyMetadata(String, Boolean) should use an asymmetric key identified by a key path and sign the master key metadata consisting of masterKeyPath, allowEnclaveComputations, and ProviderName.

Applies to