using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Represents the base class from which all asymmetric key exchange formatters derive. // Token: 0x020003D0 RID: 976 [Token(Token = "0x20003D0")] [ComVisible(true)] public abstract class AsymmetricKeyExchangeFormatter { /// Initializes a new instance of . // Token: 0x0600210F RID: 8463 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600210F")] [Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")] protected AsymmetricKeyExchangeFormatter() { } /// When overridden in a derived class, gets the parameters for the asymmetric key exchange. /// A string in XML format containing the parameters of the asymmetric key exchange operation. // Token: 0x1700047F RID: 1151 // (get) Token: 0x06002110 RID: 8464 [Token(Token = "0x1700047F")] public abstract string Parameters { [Token(Token = "0x6002110")] [Address(Slot = "4")] get; } /// When overridden in a derived class, sets the public key to use for encrypting the secret information. /// The instance of the implementation of that holds the public key. // Token: 0x06002111 RID: 8465 [Token(Token = "0x6002111")] [Address(Slot = "5")] public abstract void SetKey(AsymmetricAlgorithm key); /// When overridden in a derived class, creates the encrypted key exchange data from the specified input data. /// The secret information to be passed in the key exchange. /// The encrypted key exchange data to be sent to the intended recipient. // Token: 0x06002112 RID: 8466 [Token(Token = "0x6002112")] [Address(Slot = "6")] public abstract byte[] CreateKeyExchange(byte[] data); /// When overridden in a derived class, creates the encrypted key exchange data from the specified input data. /// The secret information to be passed in the key exchange. /// This parameter is not used in the current version. /// The encrypted key exchange data to be sent to the intended recipient. // Token: 0x06002113 RID: 8467 [Token(Token = "0x6002113")] [Address(Slot = "7")] public abstract byte[] CreateKeyExchange(byte[] data, Type symAlgType); } }