Udostępnij za pośrednictwem


SqlColumnEncryptionAzureKeyVaultProvider.EncryptColumnEncryptionKey Metoda

Definicja

Ta funkcja używa klucza asymetrycznego określonego przez ścieżkę klucza i szyfruje klucz CEK za pomocą algorytmu szyfrowania RSA.

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

Parametry

masterKeyPath
String

Pełna ścieżka klucza asymetrycznego w usłudze Azure Key Vault

encryptionAlgorithm
String

Algorytm szyfrowania klucza asymetrycznego

columnEncryptionKey
Byte[]

Klucz szyfrowania kolumny w postaci zwykłego tekstu.

Zwraca

Byte[]

Zaszyfrowany klucz szyfrowania kolumny

Dotyczy