//
// System.Security.Cryptography AsymmetricKeyExchangeDeformatter Class implementation
//
// Authors:
// Thomas Neidhart (tome@sbox.tugraz.at)
//
using System;
using System.Security;
namespace System.Security.Cryptography {
///
/// Abstract base class for all asymmetric key exchange deformatter.
/// Available derived classes:
/// RSAOAEPKeyExchangeDeformatter, RSAPKCS1KeyExchangeDeformatter
///
public abstract class AsymmetricKeyExchangeDeformatter {
///
/// constructor, no idea why it is here (abstract class) :-)
/// just for compatibility with MS
///
public AsymmetricKeyExchangeDeformatter() {
}
///
/// XML string containing the parameters of an asymmetric key exchange operation
///
public abstract string Parameters {get; set;}
///
/// get secret data
///
public abstract byte[] DecryptKeyExchange(byte[] rgb);
///
/// set the private key
///
public abstract void SetKey(AsymmetricAlgorithm key);
} // AsymmetricKeyExchangeDeformatter
} // System.Security.Cryptography