SqlColumnEncryptionKeyStoreProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base class for all key store providers. A custom provider must derive from this class and override its member functions and then register it using SqlConnection.RegisterColumnEncryptionKeyStoreProviders(). For details see, Always Encrypted.
public ref class SqlColumnEncryptionKeyStoreProvider abstract
public abstract class SqlColumnEncryptionKeyStoreProvider
type SqlColumnEncryptionKeyStoreProvider = class
Public MustInherit Class SqlColumnEncryptionKeyStoreProvider
- Inheritance
-
SqlColumnEncryptionKeyStoreProvider
- Derived
Constructors
SqlColumnEncryptionKeyStoreProvider() |
Initializes a new instance of the SqlColumnEncryptionKeyStoreProviderClass. |
Methods
DecryptColumnEncryptionKey(String, String, Byte[]) |
Decrypts the specified encrypted value of a column encryption key. The encrypted value is expected to be encrypted using the column master key with the specified key path and using the specified algorithm. |
EncryptColumnEncryptionKey(String, String, Byte[]) |
Encrypts a column encryption key using the column master key with the specified key path and using the specified algorithm. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
SignColumnMasterKeyMetadata(String, Boolean) |
When implemented in a derived class, digitally signs the column master key metadata with the column master key referenced by the |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
VerifyColumnMasterKeyMetadata(String, Boolean, Byte[]) |
When implemented in a derived class, this method is expected to verify the specified signature is valid for the column master key with the specified key path and the specified enclave behavior. The default implementation throws NotImplementedException. |