Language

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

列マスター キーのパス。 パス形式は、キー ストア プロバイダーの実装 (証明書ストアの拇印、Azure Key Vaultのキー識別子 URL など) に固有です。

encryptionAlgorithm
String

暗号化アルゴリズム名。 たとえば、「 RSA_OAEP 」のように入力します。

columnEncryptionKey
Byte[]

暗号化する列暗号化キー。

返品

Byte[]

暗号化された列暗号化キーを表す Byte 配列を返します。

適用対象