using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Creates Optimal Asymmetric Encryption Padding (OAEP) key exchange data using . // Token: 0x02000407 RID: 1031 [Token(Token = "0x2000407")] [ComVisible(true)] public class RSAOAEPKeyExchangeFormatter : AsymmetricKeyExchangeFormatter { /// Initializes a new instance of the class. // Token: 0x060022CB RID: 8907 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60022CB")] [Address(RVA = "0x4093D0", Offset = "0x4081D0", VA = "0x1804093D0")] 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: 0x060022CC RID: 8908 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60022CC")] [Address(RVA = "0x2DF1CC0", Offset = "0x2DF0AC0", VA = "0x182DF1CC0")] public RSAOAEPKeyExchangeFormatter(AsymmetricAlgorithm key) { } /// Gets or sets the parameter used to create padding in the key exchange creation process. /// The parameter value. // Token: 0x170004CA RID: 1226 // (get) Token: 0x060022CD RID: 8909 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060022CE RID: 8910 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170004CA")] public byte[] Parameter { [Token(Token = "0x60022CD")] [Address(RVA = "0x2DF1F40", Offset = "0x2DF0D40", VA = "0x182DF1F40")] get { return null; } [Token(Token = "0x60022CE")] [Address(RVA = "0x2DF1FC0", Offset = "0x2DF0DC0", VA = "0x182DF1FC0")] 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: 0x170004CB RID: 1227 // (get) Token: 0x060022CF RID: 8911 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x170004CB")] public override string Parameters { [Token(Token = "0x60022CF")] [Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", 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: 0x170004CC RID: 1228 // (get) Token: 0x060022D0 RID: 8912 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060022D1 RID: 8913 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x170004CC")] public RandomNumberGenerator Rng { [Token(Token = "0x60022D0")] [Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")] get { return null; } [Token(Token = "0x60022D1")] [Address(RVA = "0x409C60", Offset = "0x408A60", VA = "0x180409C60")] 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: 0x060022D2 RID: 8914 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60022D2")] [Address(RVA = "0x2DF1C00", Offset = "0x2DF0A00", VA = "0x182DF1C00", 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: 0x060022D3 RID: 8915 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60022D3")] [Address(RVA = "0x2DF1A30", Offset = "0x2DF0830", VA = "0x182DF1A30", 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: 0x060022D4 RID: 8916 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60022D4")] [Address(RVA = "0x1B6DBE0", Offset = "0x1B6C9E0", VA = "0x181B6DBE0", Slot = "7")] public override byte[] CreateKeyExchange(byte[] rgbData, Type symAlgType) { return null; } // Token: 0x170004CD RID: 1229 // (get) Token: 0x060022D5 RID: 8917 RVA: 0x00014F10 File Offset: 0x00013110 [Token(Token = "0x170004CD")] private bool OverridesEncrypt { [Token(Token = "0x60022D5")] [Address(RVA = "0x2DF1D80", Offset = "0x2DF0B80", VA = "0x182DF1D80")] get { return default(bool); } } // Token: 0x040013BB RID: 5051 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x40013BB")] private byte[] ParameterValue; // Token: 0x040013BC RID: 5052 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x40013BC")] private RSA _rsaKey; // Token: 0x040013BD RID: 5053 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x40013BD")] private bool? _rsaOverridesEncrypt; // Token: 0x040013BE RID: 5054 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x40013BE")] private RandomNumberGenerator RngValue; } }