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: 0x02000263 RID: 611 [Token(Token = "0x2000263")] [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: 0x0600161E RID: 5662 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600161E")] [Address(RVA = "0x2960160", Offset = "0x295EF60", VA = "0x182960160")] 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: 0x0600161F RID: 5663 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600161F")] [Address(RVA = "0x295FFF0", Offset = "0x295EDF0", VA = "0x18295FFF0")] 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: 0x06001620 RID: 5664 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001620")] [Address(RVA = "0x295FEE0", Offset = "0x295ECE0", VA = "0x18295FEE0", 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: 0x06001621 RID: 5665 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001621")] [Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", Slot = "5")] void IDeserializationCallback.OnDeserialization(object sender) { } // Token: 0x06001622 RID: 5666 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6001622")] [Address(RVA = "0x295FD50", Offset = "0x295EB50", VA = "0x18295FD50")] private RSA GetRSA() { return null; } // Token: 0x06001623 RID: 5667 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6001623")] [Address(RVA = "0x295FDE0", Offset = "0x295EBE0", VA = "0x18295FDE0")] private void LoadKey(byte[] key) { } // Token: 0x04000B73 RID: 2931 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4000B73")] private byte[] _publicKey; // Token: 0x04000B74 RID: 2932 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4000B74")] private string _keyPairContainer; // Token: 0x04000B75 RID: 2933 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4000B75")] private bool _keyPairExported; // Token: 0x04000B76 RID: 2934 [global::Cpp2IlInjected.FieldOffset(Offset = "0x28")] [Token(Token = "0x4000B76")] private byte[] _keyPairArray; // Token: 0x04000B77 RID: 2935 [global::Cpp2IlInjected.FieldOffset(Offset = "0x30")] [Token(Token = "0x4000B77")] [NonSerialized] private RSA _rsa; } }