This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
+121
View File
@@ -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: 0x020003C2 RID: 962
[Token(Token = "0x20003C2")]
[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: 0x0600226A RID: 8810 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600226A")]
[Address(RVA = "0xD08D40", Offset = "0xD07D40", VA = "0x180D08D40")]
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: 0x0600226B RID: 8811 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600226B")]
[Address(RVA = "0xD08D90", Offset = "0xD07D90", VA = "0x180D08D90")]
[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: 0x170004D0 RID: 1232
// (get) Token: 0x0600226C RID: 8812 RVA: 0x00016560 File Offset: 0x00014760
[Token(Token = "0x170004D0")]
public int Length
{
[Token(Token = "0x600226C")]
[Address(RVA = "0xD08F80", Offset = "0xD07F80", VA = "0x180D08F80")]
get
{
return 0;
}
}
/// <summary>Releases all resources used by the current <see cref="T:System.Security.SecureString" /> object.</summary>
// Token: 0x0600226D RID: 8813 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600226D")]
[Address(RVA = "0xD08C40", Offset = "0xD07C40", VA = "0x180D08C40", Slot = "4")]
public void Dispose()
{
}
// Token: 0x0600226E RID: 8814 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600226E")]
[Address(RVA = "0xB4ED80", Offset = "0xB4DD80", VA = "0x180B4ED80")]
private void Encrypt()
{
}
// Token: 0x0600226F RID: 8815 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600226F")]
[Address(RVA = "0xB4ED80", Offset = "0xB4DD80", VA = "0x180B4ED80")]
private void Decrypt()
{
}
// Token: 0x06002270 RID: 8816 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002270")]
[Address(RVA = "0xD08AD0", Offset = "0xD07AD0", VA = "0x180D08AD0")]
private void Alloc(int length, bool realloc)
{
}
// Token: 0x06002271 RID: 8817 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002271")]
[Address(RVA = "0xD08C80", Offset = "0xD07C80", VA = "0x180D08C80")]
internal byte[] GetBuffer()
{
return null;
}
// Token: 0x04001329 RID: 4905
[Token(Token = "0x4001329")]
private const int BlockSize = 16;
// Token: 0x0400132A RID: 4906
[Token(Token = "0x400132A")]
private const int MaxSize = 65536;
// Token: 0x0400132B RID: 4907
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400132B")]
private int length;
// Token: 0x0400132C RID: 4908
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x400132C")]
private bool disposed;
// Token: 0x0400132D RID: 4909
[FieldOffset(Offset = "0x15")]
[Token(Token = "0x400132D")]
private bool read_only;
// Token: 0x0400132E RID: 4910
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400132E")]
private byte[] data;
}
}