SqlColumnEncryptionCspProvider.EncryptColumnEncryptionKey メソッド

定義

キー パスと指定したアルゴリズムで指定された非対称キーを使用して、指定されたプレーンテキスト列暗号化キーを暗号化します。 キー パスは [ProviderName]/KeyIdentifier の形式になり、指定された CSP プロバイダーに格納されている非対称キーである必要があります。 CEK の暗号化/暗号化解除に使用される有効なアルゴリズムは 'RSA_OAEP' です。

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

パラメーター

masterKeyPath
String

マスター キーのパス。

encryptionAlgorithm
String

暗号化アルゴリズム。

columnEncryptionKey
Byte[]

暗号化された列暗号化キー。

返品

Byte[]

暗号化された列暗号化キー。

適用対象