using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Creates Optimal Asymmetric Encryption Padding (OAEP) key exchange data using . // Token: 0x02000423 RID: 1059 [Token(Token = "0x2000423")] [ComVisible(true)] public class RSAOAEPKeyExchangeFormatter : AsymmetricKeyExchangeFormatter { /// Initializes a new instance of the class. // Token: 0x060024D7 RID: 9431 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60024D7")] [Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")] public RSAOAEPKeyExchangeFormatter() { } /// Initializes a new instance of the class with the specified key. /// The instance of the algorithm that holds the public key. /// /// is . // Token: 0x060024D8 RID: 9432 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60024D8")] [Address(RVA = "0x1024FD0", Offset = "0x1023FD0", VA = "0x181024FD0")] public RSAOAEPKeyExchangeFormatter(AsymmetricAlgorithm key) { } /// Gets or sets the parameter used to create padding in the key exchange creation process. /// The parameter value. // Token: 0x17000541 RID: 1345 // (get) Token: 0x060024D9 RID: 9433 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060024DA RID: 9434 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000541")] public byte[] Parameter { [Token(Token = "0x60024D9")] [Address(RVA = "0x1025250", Offset = "0x1024250", VA = "0x181025250")] get { return null; } [Token(Token = "0x60024DA")] [Address(RVA = "0x10252D0", Offset = "0x10242D0", VA = "0x1810252D0")] set { } } /// Gets the parameters for the Optimal Asymmetric Encryption Padding (OAEP) key exchange. /// An XML string containing the parameters of the OAEP key exchange operation. // Token: 0x17000542 RID: 1346 // (get) Token: 0x060024DB RID: 9435 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000542")] public override string Parameters { [Token(Token = "0x60024DB")] [Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "4")] get { return null; } } /// Gets or sets the random number generator algorithm to use in the creation of the key exchange. /// The instance of a random number generator algorithm to use. // Token: 0x17000543 RID: 1347 // (get) Token: 0x060024DC RID: 9436 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060024DD RID: 9437 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000543")] public RandomNumberGenerator Rng { [Token(Token = "0x60024DC")] [Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")] get { return null; } [Token(Token = "0x60024DD")] [Address(RVA = "0x415820", Offset = "0x414820", VA = "0x180415820")] set { } } /// Sets the public key to use for encrypting the key exchange data. /// The instance of the algorithm that holds the public key. /// /// is . // Token: 0x060024DE RID: 9438 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60024DE")] [Address(RVA = "0x1024F10", Offset = "0x1023F10", VA = "0x181024F10", Slot = "5")] public override void SetKey(AsymmetricAlgorithm key) { } /// 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. /// The key is missing. // Token: 0x060024DF RID: 9439 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60024DF")] [Address(RVA = "0x1024DA0", Offset = "0x1023DA0", VA = "0x181024DA0", Slot = "6")] public override byte[] CreateKeyExchange(byte[] rgbData) { return null; } /// 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: 0x060024E0 RID: 9440 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60024E0")] [Address(RVA = "0x949C70", Offset = "0x948C70", VA = "0x180949C70", Slot = "7")] public override byte[] CreateKeyExchange(byte[] rgbData, Type symAlgType) { return null; } // Token: 0x17000544 RID: 1348 // (get) Token: 0x060024E1 RID: 9441 RVA: 0x000172E0 File Offset: 0x000154E0 [Token(Token = "0x17000544")] private bool OverridesEncrypt { [Token(Token = "0x60024E1")] [Address(RVA = "0x1025090", Offset = "0x1024090", VA = "0x181025090")] get { return default(bool); } } // Token: 0x0400147E RID: 5246 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x400147E")] private byte[] ParameterValue; // Token: 0x0400147F RID: 5247 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x400147F")] private RSA _rsaKey; // Token: 0x04001480 RID: 5248 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4001480")] private bool? _rsaOverridesEncrypt; // Token: 0x04001481 RID: 5249 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4001481")] private RandomNumberGenerator RngValue; } }