InMemorySymmetricSecurityKey.GetDecryptionTransform(String, Byte[]) Metoda

Definicja

Pobiera przekształcenie, które odszyfrowuje tekst szyfrowania 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 szyfrowania, 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 program nie jest obsługiwany. Obsługiwane algorytmy to TripleDesEncryption, , Aes128EncryptionAes192Encryptioni Aes256Encryption.

Uwagi

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

Dotyczy