語言

SqlColumnEncryptionKeyStoreProvider.DecryptColumnEncryptionKey 方法

定義

解密資料行加密金鑰的指定加密值。 加密後的值預期會使用欄位主金鑰、指定的金鑰路徑及指定的演算法進行加密。

public:
 abstract cli::array <System::Byte> ^ DecryptColumnEncryptionKey(System::String ^ masterKeyPath, System::String ^ encryptionAlgorithm, cli::array <System::Byte> ^ encryptedColumnEncryptionKey);
public abstract byte[] DecryptColumnEncryptionKey(string masterKeyPath, string encryptionAlgorithm, byte[] encryptedColumnEncryptionKey);
abstract member DecryptColumnEncryptionKey : string * string * byte[] -> byte[]
Public MustOverride Function DecryptColumnEncryptionKey (masterKeyPath As String, encryptionAlgorithm As String, encryptedColumnEncryptionKey As Byte()) As Byte()

參數

masterKeyPath
String

欄位主鍵路徑。 路徑格式是針對金鑰儲存提供者實作而定(例如憑證儲存的拇指印,或 Azure Key Vault 的金鑰識別碼 URL)。

encryptionAlgorithm
String

加密演算法名稱。 例如: RSA_OAEP 。

encryptedColumnEncryptionKey
Byte[]

加密欄位加密金鑰。

傳回

Byte[]

回傳 Byte 一個陣列,代表解密後的欄位加密金鑰。

適用於