Język

SqlColumnEncryptionAzureKeyVaultProvider.DecryptColumnEncryptionKeyAsync Metoda

Definicja

Asynchronicznie używa klucza asymetrycznego określonego przez ścieżkę klucza i odszyfrowuje zaszyfrowany klucz SZYFROWANIA przy użyciu algorytmu szyfrowania RSA.

public override System.Threading.Tasks.Task<byte[]> DecryptColumnEncryptionKeyAsync(string masterKeyPath, string encryptionAlgorithm, byte[] encryptedColumnEncryptionKey, System.Threading.CancellationToken cancellationToken = default);
override this.DecryptColumnEncryptionKeyAsync : string * string * byte[] * System.Threading.CancellationToken -> System.Threading.Tasks.Task<byte[]>
Public Overrides Function DecryptColumnEncryptionKeyAsync (masterKeyPath As String, encryptionAlgorithm As String, encryptedColumnEncryptionKey As Byte(), Optional cancellationToken As CancellationToken = Nothing) As Task(Of Byte())

Parametry

masterKeyPath
String

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

encryptionAlgorithm
String

Algorytm szyfrowania kluczy asymetrycznych

encryptedColumnEncryptionKey
Byte[]

Zaszyfrowany klucz szyfrowania kolumny

cancellationToken
CancellationToken

Token używany do żądania anulowania operacji

Zwraca

Task<Byte[]>

Klucz szyfrowania kolumny zwykłego tekstu

Uwagi

Błędy weryfikacji argumentów są zgłaszane za pośrednictwem zwróconego zadania, a nie zgłaszane synchronicznie.

Dotyczy