using System; using Cpp2IlInjected; namespace System.Security { /// Represents text that should be kept confidential, such as by deleting it from computer memory when no longer needed. This class cannot be inherited. // Token: 0x020003A6 RID: 934 [Token(Token = "0x20003A6")] [MonoTODO] public sealed class SecureString : IDisposable { /// Initializes a new instance of the class. /// An error occurred while protecting or unprotecting the value of this instance. /// This operation is not supported on this platform. // Token: 0x0600205E RID: 8286 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600205E")] [Address(RVA = "0x2E00130", Offset = "0x2DFEF30", VA = "0x182E00130")] public SecureString() { } /// Initializes a new instance of the class from a subarray of objects. /// This constructor is not CLS-compliant. The CLS-compliant alternative is . /// A pointer to an array of objects. /// The number of elements of to include in the new instance. /// /// is . /// /// is less than zero or greater than 65,536. /// An error occurred while protecting or unprotecting the value of this secure string. /// This operation is not supported on this platform. // Token: 0x0600205F RID: 8287 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x600205F")] [Address(RVA = "0x2E00180", Offset = "0x2DFEF80", VA = "0x182E00180")] [CLSCompliant(false)] public unsafe SecureString(char* value, int length) { } /// Gets the number of characters in the current secure string. /// The number of objects in this secure string. /// This secure string has already been disposed. // Token: 0x17000459 RID: 1113 // (get) Token: 0x06002060 RID: 8288 RVA: 0x00014190 File Offset: 0x00012390 [Token(Token = "0x17000459")] public int Length { [Token(Token = "0x6002060")] [Address(RVA = "0x2E00370", Offset = "0x2DFF170", VA = "0x182E00370")] get { return 0; } } /// Releases all resources used by the current object. // Token: 0x06002061 RID: 8289 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002061")] [Address(RVA = "0x2E00030", Offset = "0x2DFEE30", VA = "0x182E00030", Slot = "4")] public void Dispose() { } // Token: 0x06002062 RID: 8290 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002062")] [Address(RVA = "0x6C5FA0", Offset = "0x6C4DA0", VA = "0x1806C5FA0")] private void Encrypt() { } // Token: 0x06002063 RID: 8291 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002063")] [Address(RVA = "0x6C5FA0", Offset = "0x6C4DA0", VA = "0x1806C5FA0")] private void Decrypt() { } // Token: 0x06002064 RID: 8292 RVA: 0x00002050 File Offset: 0x00000250 [Token(Token = "0x6002064")] [Address(RVA = "0x2DFFEC0", Offset = "0x2DFECC0", VA = "0x182DFFEC0")] private void Alloc(int length, bool realloc) { } // Token: 0x06002065 RID: 8293 RVA: 0x00002082 File Offset: 0x00000282 [Token(Token = "0x6002065")] [Address(RVA = "0x2E00070", Offset = "0x2DFEE70", VA = "0x182E00070")] internal byte[] GetBuffer() { return null; } // Token: 0x04001266 RID: 4710 [Token(Token = "0x4001266")] private const int BlockSize = 16; // Token: 0x04001267 RID: 4711 [Token(Token = "0x4001267")] private const int MaxSize = 65536; // Token: 0x04001268 RID: 4712 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4001268")] private int length; // Token: 0x04001269 RID: 4713 [FieldOffset(Offset = "0x14")] [Token(Token = "0x4001269")] private bool disposed; // Token: 0x0400126A RID: 4714 [FieldOffset(Offset = "0x15")] [Token(Token = "0x400126A")] private bool read_only; // Token: 0x0400126B RID: 4715 [FieldOffset(Offset = "0x18")] [Token(Token = "0x400126B")] private byte[] data; } }