Share via


SqlColumnEncryptionAzureKeyVaultProvider.EncryptColumnEncryptionKey Methode

Definition

Diese Funktion verwendet den durch den Schlüsselpfad angegebenen asymmetrischen Schlüssel und verschlüsselt CEK mit RSA-Verschlüsselungsalgorithmus.

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()

Parameter

masterKeyPath
String

Vollständiger Pfad eines asymmetrischen Schlüssels in Azure Key Vault

encryptionAlgorithm
String

Verschlüsselungsalgorithmus für asymmetrischen Schlüssel

columnEncryptionKey
Byte[]

Der Klartextspaltenverschlüsselungsschlüssel.

Gibt zurück

Byte[]

Verschlüsselter Spaltenverschlüsselungsschlüssel

Gilt für: