using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; using System.Security.Cryptography; using Cpp2IlInjected; namespace System.Reflection { /// Encapsulates access to a public or private key pair used to sign strong name assemblies. // Token: 0x0200026A RID: 618 [Token(Token = "0x200026A")] [ComVisible(true)] [Serializable] public class StrongNameKeyPair : ISerializable, IDeserializationCallback { /// Initializes a new instance of the class, building the key pair from a array. /// An array of type containing the key pair. /// /// is . /// The caller does not have the required permission. // Token: 0x0600165D RID: 5725 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600165D")] [Address(RVA = "0x30CC9B0", Offset = "0x30CB9B0", VA = "0x1830CC9B0")] public StrongNameKeyPair(byte[] keyPairArray) { } /// Initializes a new instance of the class, building the key pair from serialized data. /// A object that holds the serialized object data. /// A object that contains contextual information about the source or destination. // Token: 0x0600165E RID: 5726 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600165E")] [Address(RVA = "0x30CC840", Offset = "0x30CB840", VA = "0x1830CC840")] protected StrongNameKeyPair(SerializationInfo info, StreamingContext context) { } /// Sets the object with all the data required to reinstantiate the current object. /// The object to be populated with serialization information. /// The destination context of the serialization. /// /// is . // Token: 0x0600165F RID: 5727 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600165F")] [Address(RVA = "0x30CC730", Offset = "0x30CB730", VA = "0x1830CC730", Slot = "4")] void ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) { } /// Runs when the entire object graph has been deserialized. /// The object that initiated the callback. // Token: 0x06001660 RID: 5728 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001660")] [Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")] void IDeserializationCallback.OnDeserialization(object sender) { } // Token: 0x06001661 RID: 5729 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001661")] [Address(RVA = "0x30CC5A0", Offset = "0x30CB5A0", VA = "0x1830CC5A0")] private RSA GetRSA() { return null; } // Token: 0x06001662 RID: 5730 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001662")] [Address(RVA = "0x30CC630", Offset = "0x30CB630", VA = "0x1830CC630")] private void LoadKey(byte[] key) { } // Token: 0x04000B7D RID: 2941 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4000B7D")] private byte[] _publicKey; // Token: 0x04000B7E RID: 2942 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4000B7E")] private string _keyPairContainer; // Token: 0x04000B7F RID: 2943 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4000B7F")] private bool _keyPairExported; // Token: 0x04000B80 RID: 2944 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4000B80")] private byte[] _keyPairArray; // Token: 0x04000B81 RID: 2945 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x4000B81")] [NonSerialized] private RSA _rsa; } }