SqlColumnEncryptionCertificateStoreProvider Class
The implementation of the key store provider for Windows Certificate Store. This class enables using certificates stored in the Windows Certificate Store as column master keys. For details, see Always Encrypted.
Assembly: System.Data (in System.Data.dll)
System.Data.SqlClient::SqlColumnEncryptionKeyStoreProvider
System.Data.SqlClient::SqlColumnEncryptionCertificateStoreProvider
| Name | Description | |
|---|---|---|
![]() | SqlColumnEncryptionCertificateStoreProvider() | Key store provider for Windows Certificate Store. |
| Name | Description | |
|---|---|---|
![]() | DecryptColumnEncryptionKey(String^, String^, array<Byte>^) | Decrypts the specified encrypted value of a column encryption key. The encrypted value is expected to be encrypted using the certificate with the specified key path and using the specified algorithm. The format of the key path should be “Local Machine/My/<certificate_thumbrint>” or “Current User/My/<certificate_thumbprint>”.(Overrides SqlColumnEncryptionKeyStoreProvider::DecryptColumnEncryptionKey(String^, String^, array<Byte>^).) |
![]() | EncryptColumnEncryptionKey(String^, String^, array<Byte>^) | Encrypts a column encryption key using the certificate with the specified key path and using the specified algorithm. The format of the key path should be “Local Machine/My/<certificate_thumbrint>” or “Current User/My/<certificate_thumbprint>”.(Overrides SqlColumnEncryptionKeyStoreProvider::EncryptColumnEncryptionKey(String^, String^, array<Byte>^).) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ProviderName | The provider name. |
Available since 4.6
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



