SqlColumnEncryptionKeyStoreProvider.VerifyColumnMasterKeyMetadata 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.
When implemented in a derived class, this method is expected to verify the specified signature is valid for the column master key with the specified key path and the specified enclave behavior. The default implementation throws NotImplementedException.
public:
virtual bool VerifyColumnMasterKeyMetadata(System::String ^ masterKeyPath, bool allowEnclaveComputations, cli::array <System::Byte> ^ signature);
public virtual bool VerifyColumnMasterKeyMetadata(string masterKeyPath, bool allowEnclaveComputations, byte[] signature);
abstract member VerifyColumnMasterKeyMetadata : string * bool * byte[] -> bool
override this.VerifyColumnMasterKeyMetadata : string * bool * byte[] -> bool
Public Overridable Function VerifyColumnMasterKeyMetadata (masterKeyPath As String, allowEnclaveComputations As Boolean, signature As Byte()) As Boolean
Parameters
- masterKeyPath
- String
The column master key path. The path format is specific to the key store provider implementation (e.g. a thumbprint for the certificate store, or a key identifier URL for Azure Key Vault).
- allowEnclaveComputations
- Boolean
Indicates whether the column master key supports enclave computations. This value must match what was passed to SignColumnMasterKeyMetadata(String, Boolean) when the signature was generated.
- signature
- Byte[]
The signature to verify, as previously returned by SignColumnMasterKeyMetadata(String, Boolean). The format is provider-specific.
Returns
When implemented in a derived class, the method is expected to
return true if the specified signature is valid,
or false if the specified signature is not valid.
The default implementation throws
NotImplementedException.