語言

SecurityKey.DecryptKey(String, Byte[]) 方法

定義

當在衍生類別中覆寫時,會解密指定的加密金鑰。

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

用來加密金鑰的密碼演算法。

keyData
Byte[]

其中一個陣列 Byte 包含加密金鑰。

傳回

Byte[]

其中一個陣列 Byte 包含解密後的金鑰。

備註

使用類別的 SecurityAlgorithms 靜態欄位來指定演算法。

適用於