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