SecurityKey.DecryptKey(String, Byte[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在派生类中重写时,解密指定的加密密钥。
public:
abstract cli::array <System::Byte> ^ DecryptKey(System::String ^ algorithm, cli::array <System::Byte> ^ keyData);
public abstract byte[] DecryptKey(string algorithm, byte[] keyData);
abstract member DecryptKey : string * byte[] -> byte[]
Public MustOverride Function DecryptKey (algorithm As String, keyData As Byte()) As Byte()
参数
- algorithm
- String
用于加密密钥的加密算法。
返回
Byte[]
包含解密密钥的 Byte 数组。
注解
使用类的 SecurityAlgorithms 静态字段指定算法。