This documentation is archived and is not being maintained.

RSAPKCS1KeyExchangeFormatter Class

Creates the PKCS#1 key exchange data using RSA.

For a list of all members of this type, see RSAPKCS1KeyExchangeFormatter Members.


[Visual Basic]
Public Class RSAPKCS1KeyExchangeFormatter
   Inherits AsymmetricKeyExchangeFormatter
public class RSAPKCS1KeyExchangeFormatter :
public __gc class RSAPKCS1KeyExchangeFormatter : public
public class RSAPKCS1KeyExchangeFormatter extends

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


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 RSAPKCS1KeyExchangeDeformatter to receive the key exchange and extract the secret information from it.

CAUTION   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.


Namespace: System.Security.Cryptography

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: Mscorlib (in Mscorlib.dll)

See Also

RSAPKCS1KeyExchangeFormatter Members | System.Security.Cryptography Namespace | Cryptographic Services