Język

InMemorySymmetricSecurityKey.GetDecryptionTransform(String, Byte[]) Metoda

Definicja

Pobiera przekształcenie, które odszyfrowuje tekst szyfrujący przy użyciu określonego algorytmu kryptograficznego.

public:
 override System::Security::Cryptography::ICryptoTransform ^ GetDecryptionTransform(System::String ^ algorithm, cli::array <System::Byte> ^ iv);
public override System.Security.Cryptography.ICryptoTransform GetDecryptionTransform(string algorithm, byte[] iv);
override this.GetDecryptionTransform : string * byte[] -> System.Security.Cryptography.ICryptoTransform
Public Overrides Function GetDecryptionTransform (algorithm As String, iv As Byte()) As ICryptoTransform

Parametry

algorithm
String

Algorytm kryptograficzny, który odszyfrowuje tekst szyfrujący, taki jak zaszyfrowany kod XML.

iv
Byte[]

Tablica zawierająca Byte wektor inicjalizacji (IV) dla określonego algorytmu.

Zwraca

Element ICryptoTransform reprezentujący przekształcenie odszyfrowywania.

Wyjątki

algorithm nie jest obsługiwana. Obsługiwane algorytmy to TripleDesEncryption, , Aes128EncryptionAes192Encryptioni Aes256Encryption.

Uwagi

Użyj pól reprezentujących algorytmy odszyfrowywania w SecurityAlgorithms klasie, aby określić algorytm.

Dotyczy