Rediger

Del via


RSAOAEPKeyExchangeFormatter Constructors

Definition

Initializes a new instance of the RSAOAEPKeyExchangeFormatter class.

Overloads

RSAOAEPKeyExchangeFormatter()

Initializes a new instance of the RSAOAEPKeyExchangeFormatter class.

RSAOAEPKeyExchangeFormatter(AsymmetricAlgorithm)

Initializes a new instance of the RSAOAEPKeyExchangeFormatter class with the specified key.

RSAOAEPKeyExchangeFormatter()

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

Initializes a new instance of the RSAOAEPKeyExchangeFormatter class.

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

Remarks

Use SetKey to set the key before calling CreateKeyExchange.

See also

Applies to

RSAOAEPKeyExchangeFormatter(AsymmetricAlgorithm)

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

Initializes a new instance of the RSAOAEPKeyExchangeFormatter class with the specified key.

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)

Parameters

key
AsymmetricAlgorithm

The instance of the RSA algorithm that holds the public key.

Exceptions

key is null.

See also

Applies to