Language

InMemorySymmetricSecurityKey.GetDecryptionTransform(String, Byte[]) メソッド

定義

指定した暗号アルゴリズムを使用して暗号テキストを復号化する変換を取得します。

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

パラメーター

algorithm
String

暗号化された XML など、暗号テキストを復号化する暗号化アルゴリズム。

iv
Byte[]

指定したアルゴリズムの初期化ベクトル (Byte) を含むIVの配列。

返品

復号化変換を表す ICryptoTransform 。

例外

algorithm はサポートされません。 サポートされているアルゴリズムは、 TripleDesEncryption、 Aes128Encryption、 Aes192Encryption、および Aes256Encryptionです。

注釈

SecurityAlgorithms クラスの復号化アルゴリズムを表すフィールドを使用して、アルゴリズムを指定します。

適用対象