語言

RSAPKCS1KeyExchangeFormatter 建構函式

定義

初始化 RSAPKCS1KeyExchangeFormatter 類別的新執行個體。

多載

名稱 Description
RSAPKCS1KeyExchangeFormatter()

初始化 RSAPKCS1KeyExchangeFormatter 類別的新執行個體。

RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm)

初始化一個新的類別實例 RSAPKCS1KeyExchangeFormatter ,使用指定的鍵值。

RSAPKCS1KeyExchangeFormatter()

來源:
RSAPKCS1KeyExchangeFormatter.cs
來源:
RSAPKCS1KeyExchangeFormatter.cs
來源:
RSAPKCS1KeyExchangeFormatter.cs
來源:
RSAPKCS1KeyExchangeFormatter.cs
來源:
RSAPKCS1KeyExchangeFormatter.cs

初始化 RSAPKCS1KeyExchangeFormatter 類別的新執行個體。

public:
 RSAPKCS1KeyExchangeFormatter();
public RSAPKCS1KeyExchangeFormatter();
Public Sub New ()

備註

使用 SetKey 方法 設定金鑰以用於金鑰交換,然後再呼叫 CreateKeyExchange。

另請參閱

適用於

RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm)

來源:
RSAPKCS1KeyExchangeFormatter.cs
來源:
RSAPKCS1KeyExchangeFormatter.cs
來源:
RSAPKCS1KeyExchangeFormatter.cs
來源:
RSAPKCS1KeyExchangeFormatter.cs
來源:
RSAPKCS1KeyExchangeFormatter.cs

初始化一個新的類別實例 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)

參數

key
AsymmetricAlgorithm

持有公鑰的演算法實例 RSA 。

例外狀況

key 是 null。

另請參閱

適用於