RSAOAEPKeyExchangeFormatter 构造函数

定义

初始化 RSAOAEPKeyExchangeFormatter 类的新实例。

重载

RSAOAEPKeyExchangeFormatter()

初始化 RSAOAEPKeyExchangeFormatter 类的新实例。

RSAOAEPKeyExchangeFormatter(AsymmetricAlgorithm)

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

RSAOAEPKeyExchangeFormatter()

Source:
RSAOAEPKeyExchangeFormatter.cs
Source:
RSAOAEPKeyExchangeFormatter.cs
Source:
RSAOAEPKeyExchangeFormatter.cs

初始化 RSAOAEPKeyExchangeFormatter 类的新实例。

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

注解

使用 SetKey 在调用 CreateKeyExchange之前设置密钥。

另请参阅

适用于

RSAOAEPKeyExchangeFormatter(AsymmetricAlgorithm)

Source:
RSAOAEPKeyExchangeFormatter.cs
Source:
RSAOAEPKeyExchangeFormatter.cs
Source:
RSAOAEPKeyExchangeFormatter.cs

使用指定的密钥初始化 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)

参数

key
AsymmetricAlgorithm

包含公钥的 RSA 算法的实例。

例外

keynull

另请参阅

适用于