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: 0x020003C2 RID: 962
[Token(Token = "0x20003C2")]
[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: 0x0600226A RID: 8810 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600226A")]
[Address(RVA = "0xD08D40", Offset = "0xD07D40", VA = "0x180D08D40")]
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: 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)
{
}
/// 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: 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;
}
}
/// Releases all resources used by the current object.
// 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;
}
}