Share via


SqlColumnEncryptionKeyStoreProvider.VerifyColumnMasterKeyMetadata 方法

定義

在衍生類別中實作時,這個方法應該驗證指定的簽章對資料行主要金鑰有效,此金鑰有指定的金鑰路徑和指定的 enclave 行為。 預設實作擲回 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

參數

masterKeyPath
String

資料行主要金鑰路徑。

allowEnclaveComputations
Boolean

表示資料行主要金鑰是否支援 enclave 計算。

signature
Byte[]

資料行主要金鑰中繼資料的簽章。

傳回

在衍生類別中實作時,如果指定的簽章有效,方法應該傳回 true;如果指定的簽章無效,應該傳回 false。 預設實作擲回 NotImplementedException。

適用於