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 靜態欄位來指定演算法。