using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// Represents the base class from which all asymmetric key exchange deformatters derive.
// Token: 0x020003CF RID: 975
[Token(Token = "0x20003CF")]
[ComVisible(true)]
public abstract class AsymmetricKeyExchangeDeformatter
{
/// Initializes a new instance of .
// Token: 0x0600210A RID: 8458 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600210A")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
protected 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: 0x1700047E RID: 1150
// (get) Token: 0x0600210B RID: 8459
// (set) Token: 0x0600210C RID: 8460
[Token(Token = "0x1700047E")]
public abstract string Parameters
{
[Token(Token = "0x600210B")]
[Address(Slot = "4")]
get;
[Token(Token = "0x600210C")]
[Address(Slot = "5")]
set;
}
/// 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: 0x0600210D RID: 8461
[Token(Token = "0x600210D")]
[Address(Slot = "6")]
public abstract void SetKey(AsymmetricAlgorithm key);
/// When overridden in a derived class, extracts secret information from the encrypted key exchange data.
/// The key exchange data within which the secret information is hidden.
/// The secret information derived from the key exchange data.
// Token: 0x0600210E RID: 8462
[Token(Token = "0x600210E")]
[Address(Slot = "7")]
public abstract byte[] DecryptKeyExchange(byte[] rgb);
}
}