System.Security.Cryptography (mscorlib.dll)abstract class
public abstract class AsymmetricKeyExchangeDeformatter {
// Public Constructors
   public AsymmetricKeyExchangeDeformatter(  );
// Public Instance Properties
   public abstract string Parameters{set; get; }
// Public Instance Methods
   public abstract byte[  ] DecryptKeyExchange(byte[  ] rgb);
   public abstract void SetKey(AsymmetricAlgorithm key);

This is the counterpart class to AsymmetricKeyExchangeFormatter and is the abstract base class which all key exchange deformatters extend. Implementations of this class decrypt formatted key exchange data.

The DecryptKeyExchange( ) method uses a private key to decrypt data encrypted with an implementation of the AsymmetricKeyExchangeFormatter class, using the corresponding public key. The SetKey( ) method specifies the AsymmetricAlgorithm instance that contains the private key. The Parameters property returns an XML string that describes the key exchange algorithm represented by the implementation class.

The .NET Framework class library includes the RSAOAEPKeyExchangeDeformatter and RSAPKCS1KeyExchangeDeformatter classes, which decrypt data that has been encrypted using the RSA algorithm after being formatted with the Optimal Asymmetric Encryption Padding (OAEP) or PKCS #1 schemes.


RSAOAEPKeyExchangeDeformatter, RSAPKCS1KeyExchangeDeformatter

    Part V: API Quick Reference