次の方法で共有


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[]

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

戻り値

復号化変換を表す ICryptoTransform

例外

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

注釈

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

適用対象