秘密情報の復号化に使用する秘密キーを設定します。
Overrides Public Sub SetKey( _
ByVal key As AsymmetricAlgorithm _)
[C#]
public override void SetKey(AsymmetricAlgorithmkey);
[C++]
public: void SetKey(AsymmetricAlgorithm* key);
[JScript]
public override function SetKey(
key : AsymmetricAlgorithm);
パラメータ
- key
秘密キーを保持している RSA アルゴリズムのインスタンス。
解説
DecryptKeyExchange を呼び出す前に、キーを指定する必要があります。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
RSAPKCS1KeyExchangeDeformatter クラス | RSAPKCS1KeyExchangeDeformatter メンバ | System.Security.Cryptography 名前空間 | 暗号サービス