RSAOAEPKeyExchangeFormatter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
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)
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
The instance of the RSA algorithm that holds the public key.
Exceptions
key
is null
.