SqlColumnEncryptionKeyStoreProvider 类

定义

所有密钥存储提供程序的基类。 自定义提供程序必须派生自此类并重写其成员函数,然后使用 SqlConnection.RegisterColumnEncryptionKeyStoreProviders()进行注册。 有关详细信息,请参阅 Always Encrypted

public ref class SqlColumnEncryptionKeyStoreProvider abstract
public abstract class SqlColumnEncryptionKeyStoreProvider
type SqlColumnEncryptionKeyStoreProvider = class
Public MustInherit Class SqlColumnEncryptionKeyStoreProvider
继承
SqlColumnEncryptionKeyStoreProvider
派生

构造函数

名称 说明
SqlColumnEncryptionKeyStoreProvider()

初始化 SqlColumnEncryptionKeyStoreProviderClass 的新实例。

方法

名称 说明
DecryptColumnEncryptionKey(String, String, Byte[])

对列加密密钥的指定加密值进行解密。 应使用具有指定密钥路径和指定算法的列主密钥加密加密加密值。

EncryptColumnEncryptionKey(String, String, Byte[])

使用具有指定密钥路径和指定算法的列主密钥加密列加密密钥。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
SignColumnMasterKeyMetadata(String, Boolean)

在派生类中实现时,使用参数引用 masterKeyPath 的列主密钥对列主密钥元数据进行数字签名。 用于生成签名的 masterKeyPath 输入值应为指定值和 allowEnclaveComputations 参数。

ToString()

返回一个表示当前对象的字符串。

(继承自 Object)
VerifyColumnMasterKeyMetadata(String, Boolean, Byte[])

在派生类中实现时,此方法应验证指定的签名是否对具有指定密钥路径和指定 enclave 行为的列主密钥有效。 默认实现引发 NotImplementedException。

适用于

另请参阅