Sdílet prostřednictvím


InMemorySymmetricSecurityKey.GetDecryptionTransform(String, Byte[]) Metoda

Definice

Získá transformaci, která dešifruje šifrovaný text pomocí zadaného kryptografického algoritmu.

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

Kryptografický algoritmus, který dešifruje šifrovaný text, například šifrovaný kód XML.

iv
Byte[]

Pole Byte obsahující inicializační vektor (IV) pro zadaný algoritmus.

Návraty

Představuje ICryptoTransform transformaci dešifrování.

Výjimky

algorithm se nepodporuje. Podporované algoritmy jsou TripleDesEncryption, Aes128Encryption, Aes192Encryptiona Aes256Encryption.

Poznámky

K určení algoritmu použijte pole, která představují algoritmy dešifrování ve SecurityAlgorithms třídě .

Platí pro