署名の作成に使用する秘密キーを設定します。
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 アルゴリズムのインスタンス。
解説
CreateSignature を呼び出す前に、キーを設定する必要があります。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
RSAPKCS1SignatureFormatter クラス | RSAPKCS1SignatureFormatter メンバ | System.Security.Cryptography 名前空間 | 暗号サービス