SqlColumnEncryptionCertificateStoreProvider.VerifyColumnMasterKeyMetadata 方法

定義

此函式必須由對應的金鑰儲存提供者實作。 此函式應使用由金鑰路徑識別的非對稱金鑰,並驗證由 (masterKeyPath、allowEnclaveComputations、providerName) 組成的主金鑰元資料。

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

參數

masterKeyPath
String

非對稱密鑰的完整路徑。 路徑格式是針對特定金鑰存儲提供者的。

allowEnclaveComputations
Boolean

一個布林值,指示此金鑰是否能傳送至受信任的 enclave。

signature
Byte[]

主鑰匙的元資料 siognature。

傳回

一個布林值,指示主金鑰中繼資料是否能根據所提供的簽章被驗證。

適用於