RSAPKCS1KeyExchangeDeformatter 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 RSAPKCS1KeyExchangeDeformatter 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| RSAPKCS1KeyExchangeDeformatter() |
初始化 RSAPKCS1KeyExchangeDeformatter 類別的新執行個體。 |
| RSAPKCS1KeyExchangeDeformatter(AsymmetricAlgorithm) |
初始化一個新的類別實例 RSAPKCS1KeyExchangeDeformatter ,使用指定的鍵值。 |
RSAPKCS1KeyExchangeDeformatter()
初始化 RSAPKCS1KeyExchangeDeformatter 類別的新執行個體。
public:
RSAPKCS1KeyExchangeDeformatter();
public RSAPKCS1KeyExchangeDeformatter();
Public Sub New ()
備註
在呼叫SetKey前,先用DecryptKeyExchange來建立金鑰。
另請參閱
適用於
RSAPKCS1KeyExchangeDeformatter(AsymmetricAlgorithm)
初始化一個新的類別實例 RSAPKCS1KeyExchangeDeformatter ,使用指定的鍵值。
public:
RSAPKCS1KeyExchangeDeformatter(System::Security::Cryptography::AsymmetricAlgorithm ^ key);
public RSAPKCS1KeyExchangeDeformatter(System.Security.Cryptography.AsymmetricAlgorithm key);
new System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter : System.Security.Cryptography.AsymmetricAlgorithm -> System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
Public Sub New (key As AsymmetricAlgorithm)
參數
持有私鑰的演算法實例 RSA 。
例外狀況
key 是 null。