SqlColumnEncryptionCspProvider.SignColumnMasterKeyMetadata 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.
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
The signature of the column master key metadata.
Exceptions
In all cases.
Remarks
The SignColumnMasterKeyMetadata method must be implemented by the corresponding key store providers. SignColumnMasterKeyMetadata should use an asymmetric key identified by a key path and sign the masterkey metadata consisting of masterKeyPath
, allowEnclaveComputations
, and providerName.