System.Security.Cryptography.RSAOAEPKeyExchangeFormatter Class

Creates Optimal Asymmetric Encryption Padding (OAEP) key exchange data using System.Security.Cryptography.RSA.

See Also: RSAOAEPKeyExchangeFormatter Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class RSAOAEPKeyExchangeFormatter : AsymmetricKeyExchangeFormatter

Remarks

Key exchange allows a sender to create secret information, for example, random data that can be used as a key in a symmetric encryption algorithm, and use encryption to send it to the intended recipient.

Use System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter to receive the key exchange and extract the secret information from it.

Note:

It is highly recommended that you not attempt to create your own key exchange method from the basic functionality provided, because many details of the operation must be performed carefully in order for the key exchange to be successful.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0