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