SecurityKey.EncryptKey(String, Byte[]) メソッド

定義

派生クラスでオーバーライドされると、指定したキーを暗号化します。

public:
 abstract cli::array <System::Byte> ^ EncryptKey(System::String ^ algorithm, cli::array <System::Byte> ^ keyData);
public abstract byte[] EncryptKey(string algorithm, byte[] keyData);
abstract member EncryptKey : string * byte[] -> byte[]
Public MustOverride Function EncryptKey (algorithm As String, keyData As Byte()) As Byte()

パラメーター

algorithm
String

キーを暗号化する暗号化アルゴリズム。

keyData
Byte[]

キーを含む Byte の配列。

返品

Byte[]

暗号化されたキーを含む Byte の配列。

注釈

アルゴリズムを指定するには、 SecurityAlgorithms クラスの静的フィールドを使用します。

適用対象