SymmetricSecurityKey.GetDecryptionTransform(String, Byte[]) 方法

定义

在派生类中重写时,获取使用指定加密算法解密密码文本的转换。

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

参数

algorithm
String

解密密码文本(如加密 XML)的加密算法。

iv
Byte[]

一个数组 Byte ,其中包含指定算法的初始化向量(IV)。

返回

表示解密转换的一个 ICryptoTransform

注解

使用表示类中的 SecurityAlgorithms 解密算法的字段来指定算法。

适用于