System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter Class

Creates the PKCS#1 key exchange data using System.Security.Cryptography.RSA.

See Also: RSAPKCS1KeyExchangeFormatter Members


public class RSAPKCS1KeyExchangeFormatter : AsymmetricKeyExchangeFormatter


Key exchange allows a sender to create secret information (such as 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.RSAPKCS1KeyExchangeDeformatter to receive the key exchange and extract the secret information from it.


We recommend that you do 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.


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