RSAPKCS1KeyExchangeFormatter 构造函数

定义

初始化 RSAPKCS1KeyExchangeFormatter 类的新实例。

重载

RSAPKCS1KeyExchangeFormatter()

初始化 RSAPKCS1KeyExchangeFormatter 类的新实例。

RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm)

使用指定的密钥初始化 RSAPKCS1KeyExchangeFormatter 类的新实例。

RSAPKCS1KeyExchangeFormatter()

Source:
RSAPKCS1KeyExchangeFormatter.cs
Source:
RSAPKCS1KeyExchangeFormatter.cs
Source:
RSAPKCS1KeyExchangeFormatter.cs

初始化 RSAPKCS1KeyExchangeFormatter 类的新实例。

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

注解

在调用 CreateKeyExchange之前,使用 SetKey 方法设置要用于密钥交换的密钥。

另请参阅

适用于

RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm)

Source:
RSAPKCS1KeyExchangeFormatter.cs
Source:
RSAPKCS1KeyExchangeFormatter.cs
Source:
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 算法的实例。

例外

keynull

另请参阅

适用于