SqlColumnEncryptionCngProvider.VerifyColumnMasterKeyMetadata(String, Boolean, Byte[]) 方法
定义
此函数必须由相应的密钥存储提供程序实现。This function must be implemented by the corresponding Key Store providers. 此函数应使用由密钥路径标识的非对称密钥,并对由 (masterKeyPath, allowEnclaveComputations, providerName) 组成的主密钥元数据进行验证。This function should use an asymmetric key identified by a key path and verify the masterkey metadata consisting of (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
非对称密钥的完整路径。The complete path of an asymmetric key. 路径格式专门用于密钥存储提供程序。The path format is specific to a key store provider.
- allowEnclaveComputations
- Boolean
一个布尔值,它指示是否可将此密钥发送至受信任的 enclave。A Boolean that indicates if this key can be sent to the trusted enclave.
- signature
- Byte[]
主密钥元数据签名。The master key metadata signature.
返回
一个布尔值,它指示是否能基于提供的签名验证主密钥元数据。A Boolean that indicates if the master key metadata can be verified based on the provided signature.