SqlColumnEncryptionKeyStoreProvider.EncryptColumnEncryptionKey 方法

定義

利用欄位主金鑰、指定的金鑰路徑及演算法加密欄位加密金鑰。

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

參數

masterKeyPath
String

主鑰匙路徑。

encryptionAlgorithm
String

加密演算法。

columnEncryptionKey
Byte[]

加密欄位加密金鑰。

傳回

Byte[]

傳回 Byte。 加密欄位加密金鑰。

適用於