oh dear
This commit is contained in:
@@ -0,0 +1,121 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security
|
||||
{
|
||||
/// <summary>Represents text that should be kept confidential, such as by deleting it from computer memory when no longer needed. This class cannot be inherited.</summary>
|
||||
// Token: 0x020003A6 RID: 934
|
||||
[Token(Token = "0x20003A6")]
|
||||
[MonoTODO]
|
||||
public sealed class SecureString : IDisposable
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.SecureString" /> class.</summary>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this instance.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">This operation is not supported on this platform.</exception>
|
||||
// Token: 0x0600205E RID: 8286 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600205E")]
|
||||
[Address(RVA = "0x2E00130", Offset = "0x2DFEF30", VA = "0x182E00130")]
|
||||
public SecureString()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.SecureString" /> class from a subarray of <see cref="T:System.Char" /> objects.
|
||||
/// This constructor is not CLS-compliant. The CLS-compliant alternative is <see cref="M:System.Security.SecureString.#ctor" />.</summary>
|
||||
/// <param name="value">A pointer to an array of <see cref="T:System.Char" /> objects.</param>
|
||||
/// <param name="length">The number of elements of <paramref name="value" /> to include in the new instance.</param>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="value" /> is <see langword="null" />.</exception>
|
||||
/// <exception cref="T:System.ArgumentOutOfRangeException">
|
||||
/// <paramref name="length" /> is less than zero or greater than 65,536.</exception>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">An error occurred while protecting or unprotecting the value of this secure string.</exception>
|
||||
/// <exception cref="T:System.NotSupportedException">This operation is not supported on this platform.</exception>
|
||||
// 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)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the number of characters in the current secure string.</summary>
|
||||
/// <returns>The number of <see cref="T:System.Char" /> objects in this secure string.</returns>
|
||||
/// <exception cref="T:System.ObjectDisposedException">This secure string has already been disposed.</exception>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Releases all resources used by the current <see cref="T:System.Security.SecureString" /> object.</summary>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user