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: 0x020003EB RID: 1003 [Token(Token = "0x20003EB")] [ComVisible(true)] public abstract class AsymmetricKeyExchangeDeformatter { /// Initializes a new instance of . // Token: 0x06002316 RID: 8982 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002316")] [Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")] 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: 0x170004F5 RID: 1269 // (get) Token: 0x06002317 RID: 8983 // (set) Token: 0x06002318 RID: 8984 [Token(Token = "0x170004F5")] public abstract string Parameters { [Token(Token = "0x6002317")] [Address(Slot = "4")] get; [Token(Token = "0x6002318")] [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: 0x06002319 RID: 8985 [Token(Token = "0x6002319")] [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: 0x0600231A RID: 8986 [Token(Token = "0x600231A")] [Address(Slot = "7")] public abstract byte[] DecryptKeyExchange(byte[] rgb); } }