SqlColumnEncryptionCspProvider.VerifyColumnMasterKeyMetadata 方法

定義

此函式必須由對應的金鑰儲存提供者實作。 此函式應使用由金鑰路徑識別的非對稱金鑰,並對主金鑰元資料(主鍵路徑、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[]

主金鑰元資料簽名。

傳回

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

適用於