using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace System.Security.Cryptography { /// Creates the PKCS#1 key exchange data using . // Token: 0x02000425 RID: 1061 [Token(Token = "0x2000425")] [ComVisible(true)] public class RSAPKCS1KeyExchangeFormatter : AsymmetricKeyExchangeFormatter { /// Initializes a new instance of the class. // Token: 0x060024EB RID: 9451 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60024EB")] [Address(RVA = "0x42BA20", Offset = "0x42AA20", VA = "0x18042BA20")] public RSAPKCS1KeyExchangeFormatter() { } /// Initializes a new instance of the class with the specified key. /// The instance of the algorithm that holds the public key. /// /// is . // Token: 0x060024EC RID: 9452 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60024EC")] [Address(RVA = "0x1025C50", Offset = "0x1024C50", VA = "0x181025C50")] public RSAPKCS1KeyExchangeFormatter(AsymmetricAlgorithm key) { } /// Gets the parameters for the PKCS #1 key exchange. /// An XML string containing the parameters of the PKCS #1 key exchange operation. // Token: 0x17000548 RID: 1352 // (get) Token: 0x060024ED RID: 9453 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x17000548")] public override string Parameters { [Token(Token = "0x60024ED")] [Address(RVA = "0x1025ED0", Offset = "0x1024ED0", VA = "0x181025ED0", 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: 0x17000549 RID: 1353 // (get) Token: 0x060024EE RID: 9454 RVA: 0x00002082 File Offset: 0x00000282 // (set) Token: 0x060024EF RID: 9455 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x17000549")] public RandomNumberGenerator Rng { [Token(Token = "0x60024EE")] [Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")] get { return null; } [Token(Token = "0x60024EF")] [Address(RVA = "0x415800", Offset = "0x414800", VA = "0x180415800")] 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: 0x060024F0 RID: 9456 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x60024F0")] [Address(RVA = "0x1025B90", Offset = "0x1024B90", VA = "0x181025B90", 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. /// /// is too big. /// The key is . // Token: 0x060024F1 RID: 9457 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60024F1")] [Address(RVA = "0x1025890", Offset = "0x1024890", VA = "0x181025890", 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: 0x060024F2 RID: 9458 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x60024F2")] [Address(RVA = "0x949C70", Offset = "0x948C70", VA = "0x180949C70", Slot = "7")] public override byte[] CreateKeyExchange(byte[] rgbData, Type symAlgType) { return null; } // Token: 0x1700054A RID: 1354 // (get) Token: 0x060024F3 RID: 9459 RVA: 0x00017310 File Offset: 0x00015510 [Token(Token = "0x1700054A")] private bool OverridesEncrypt { [Token(Token = "0x60024F3")] [Address(RVA = "0x1025D10", Offset = "0x1024D10", VA = "0x181025D10")] get { return default(bool); } } // Token: 0x04001485 RID: 5253 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4001485")] private RandomNumberGenerator RngValue; // Token: 0x04001486 RID: 5254 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4001486")] private RSA _rsaKey; // Token: 0x04001487 RID: 5255 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4001487")] private bool? _rsaOverridesEncrypt; } }