SqlColumnEncryptionCspProvider Class

 

The CMK Store provider implementation for using Microsoft CAPI based Cryptographic Service Providers (CSP) with Always Encrypted.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

System.Object
  System.Data.SqlClient.SqlColumnEncryptionKeyStoreProvider
    System.Data.SqlClient.SqlColumnEncryptionCspProvider

Public Class SqlColumnEncryptionCspProvider
	Inherits SqlColumnEncryptionKeyStoreProvider

NameDescription
System_CAPS_pubmethodSqlColumnEncryptionCspProvider()

Initializes a new instance of the SqlColumnEncryptionCspProvider class.

NameDescription
System_CAPS_pubmethodDecryptColumnEncryptionKey(String, String, Byte())

Decrypts the given encrypted value using an asymmetric key specified by the key path and algorithm. The key path will be in the format of [ProviderName]/KeyIdentifier and should be an asymmetric key stored in the specified CSP provider. The valid algorithm used to encrypt/decrypt the CEK is 'RSA_OAEP'.(Overrides SqlColumnEncryptionKeyStoreProvider.DecryptColumnEncryptionKey(String, String, Byte()).)

System_CAPS_pubmethodEncryptColumnEncryptionKey(String, String, Byte())

Encrypts the given plain text column encryption key using an asymmetric key specified by the key path and the specified algorithm. The key path will be in the format of [ProviderName]/KeyIdentifier and should be an asymmetric key stored in the specified CSP provider. The valid algorithm used to encrypt/decrypt the CEK is 'RSA_OAEP'.(Overrides SqlColumnEncryptionKeyStoreProvider.EncryptColumnEncryptionKey(String, String, Byte()).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticProviderName

A constant string for the provider name 'MSSQL_CSP_PROVIDER'.

Enables storing Always Encrypted column master key keys in a store, such as a hardware security module (HSM), that supports the Microsoft CAPI based Cryptographic Service Providers (CSP).

.NET Framework
Available since 4.6.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: