using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// Represents the base class from which all asymmetric key exchange deformatters derive.
// Token: 0x020004E6 RID: 1254
[ComVisible(true)]
public abstract class AsymmetricKeyExchangeDeformatter
{
/// When overridden in a derived class, gets or sets the parameters for the asymmetric key exchange.
/// A string in XML format containing the parameters of the asymmetric key exchange operation.
// Token: 0x1700092E RID: 2350
// (get) Token: 0x06002E8A RID: 11914
// (set) Token: 0x06002E8B RID: 11915
public abstract string Parameters { get; set; }
/// When overridden in a derived class, extracts secret information from the encrypted key exchange data.
/// The secret information derived from the key exchange data.
/// The key exchange data within which the secret information is hidden.
// Token: 0x06002E8C RID: 11916
public abstract byte[] DecryptKeyExchange(byte[] rgb);
/// When overridden in a derived class, sets the private key to use for decrypting the secret information.
/// The instance of the implementation of that holds the private key.
// Token: 0x06002E8D RID: 11917
public abstract void SetKey(AsymmetricAlgorithm key);
}
}