SqlColumnEncryptionCertificateStoreProvider.DecryptColumnEncryptionKey(String, String, Byte[]) Método

Definición

Descifra el valor cifrado especificado de la clave de cifrado de una columna.Decrypts the specified encrypted value of a column encryption key. Se espera que el valor cifrado se cifre mediante el certificado con la ruta de acceso de clave especificada y mediante el algoritmo especificado.The encrypted value is expected to be encrypted using the certificate with the specified key path and using the specified algorithm. El formato de la ruta de acceso a clave debe ser "Local Machine/My/<huellaDigital_certificado>" o "Current User/My/<huellaDigital_certificado>".The format of the key path should be "Local Machine/My/<certificate_thumbprint>" or "Current User/My/<certificate_thumbprint>".

public:
 override cli::array <System::Byte> ^ DecryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ encryptedColumnEncryptionKey);
public override byte[] DecryptColumnEncryptionKey (string masterKeyPath, string encryptionAlgorithm, byte[] encryptedColumnEncryptionKey);
override this.DecryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public Overrides Function DecryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, encryptedColumnEncryptionKey As Byte()) As Byte()

Parámetros

masterKeyPath
String

Ruta de acceso de la clave maestra.The master key path.

encryptionAlgorithm
String

Algoritmo de cifrado.The encryption algorithm. Actualmente, el único valor válido es: RSA_OAEPCurrently, the only valid value is: RSA_OAEP

encryptedColumnEncryptionKey
Byte[]

Clave de cifrado de la columna cifrada.The encrypted column encryption key.

Devoluciones

Byte[]

Devuelva Byte.Returns Byte.
Clave de cifrado de la columna descifrada.The decrypted column encryption key.

Se aplica a