Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

157 lines
7.4 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Converts a <see cref="T:System.Security.Cryptography.CryptoStream" /> to base 64.</summary>
// Token: 0x020003F0 RID: 1008
[Token(Token = "0x20003F0")]
[ComVisible(true)]
public class ToBase64Transform : ICryptoTransform, IDisposable
{
/// <summary>Gets the input block size.</summary>
/// <returns>The size of the input data blocks in bytes.</returns>
// Token: 0x170004F7 RID: 1271
// (get) Token: 0x0600232A RID: 9002 RVA: 0x00016A28 File Offset: 0x00014C28
[Token(Token = "0x170004F7")]
public int InputBlockSize
{
[Token(Token = "0x600232A")]
[Address(RVA = "0x4DB5B0", Offset = "0x4DA5B0", VA = "0x1804DB5B0", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the output block size.</summary>
/// <returns>The size of the output data blocks in bytes.</returns>
// Token: 0x170004F8 RID: 1272
// (get) Token: 0x0600232B RID: 9003 RVA: 0x00016A40 File Offset: 0x00014C40
[Token(Token = "0x170004F8")]
public int OutputBlockSize
{
[Token(Token = "0x600232B")]
[Address(RVA = "0x680C20", Offset = "0x67FC20", VA = "0x180680C20", Slot = "5")]
get
{
return 0;
}
}
/// <summary>Gets a value that indicates whether multiple blocks can be transformed.</summary>
/// <returns>Always <see langword="false" />.</returns>
// Token: 0x170004F9 RID: 1273
// (get) Token: 0x0600232C RID: 9004 RVA: 0x00016A58 File Offset: 0x00014C58
[Token(Token = "0x170004F9")]
public bool CanTransformMultipleBlocks
{
[Token(Token = "0x600232C")]
[Address(RVA = "0x424690", Offset = "0x423690", VA = "0x180424690", Slot = "6")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether the current transform can be reused.</summary>
/// <returns>Always <see langword="true" />.</returns>
// Token: 0x170004FA RID: 1274
// (get) Token: 0x0600232D RID: 9005 RVA: 0x00016A70 File Offset: 0x00014C70
[Token(Token = "0x170004FA")]
public virtual bool CanReuseTransform
{
[Token(Token = "0x600232D")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "11")]
get
{
return default(bool);
}
}
/// <summary>Converts the specified region of the input byte array to base 64 and copies the result to the specified region of the output byte array.</summary>
/// <param name="inputBuffer">The input to compute to base 64.</param>
/// <param name="inputOffset">The offset into the input byte array from which to begin using data.</param>
/// <param name="inputCount">The number of bytes in the input byte array to use as data.</param>
/// <param name="outputBuffer">The output to which to write the result.</param>
/// <param name="outputOffset">The offset into the output byte array from which to begin writing data.</param>
/// <returns>The number of bytes written.</returns>
/// <exception cref="T:System.ObjectDisposedException">The current <see cref="T:System.Security.Cryptography.ToBase64Transform" /> object has already been disposed.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The data size is not valid.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="inputBuffer" /> parameter contains an invalid offset length.
/// -or-
/// The <paramref name="inputCount" /> parameter contains an invalid value.</exception>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="inputBuffer" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="inputBuffer" /> parameter requires a non-negative number.</exception>
// Token: 0x0600232E RID: 9006 RVA: 0x00016A88 File Offset: 0x00014C88
[Token(Token = "0x600232E")]
[Address(RVA = "0xD18DD0", Offset = "0xD17DD0", VA = "0x180D18DD0", Slot = "8")]
public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
{
return 0;
}
/// <summary>Converts the specified region of the specified byte array to base 64.</summary>
/// <param name="inputBuffer">The input to convert to base 64.</param>
/// <param name="inputOffset">The offset into the byte array from which to begin using data.</param>
/// <param name="inputCount">The number of bytes in the byte array to use as data.</param>
/// <returns>The computed base 64 conversion.</returns>
/// <exception cref="T:System.ObjectDisposedException">The current <see cref="T:System.Security.Cryptography.ToBase64Transform" /> object has already been disposed.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="inputBuffer" /> parameter contains an invalid offset length.
/// -or-
/// The <paramref name="inputCount" /> parameter contains an invalid value.</exception>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="inputBuffer" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="inputBuffer" /> parameter requires a non-negative number.</exception>
// Token: 0x0600232F RID: 9007 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600232F")]
[Address(RVA = "0xD19030", Offset = "0xD18030", VA = "0x180D19030", Slot = "9")]
public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
{
return null;
}
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Security.Cryptography.ToBase64Transform" /> class.</summary>
// Token: 0x06002330 RID: 9008 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002330")]
[Address(RVA = "0xD18CE0", Offset = "0xD17CE0", VA = "0x180D18CE0", Slot = "10")]
public void Dispose()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.ToBase64Transform" />.</summary>
// Token: 0x06002331 RID: 9009 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002331")]
[Address(RVA = "0xD18CE0", Offset = "0xD17CE0", VA = "0x180D18CE0")]
public void Clear()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.ToBase64Transform" /> and optionally releases the managed resources.</summary>
/// <param name="disposing">
/// <see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
// Token: 0x06002332 RID: 9010 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002332")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "12")]
protected virtual void Dispose(bool disposing)
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.ToBase64Transform" />.</summary>
// Token: 0x06002333 RID: 9011 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002333")]
[Address(RVA = "0xD18D50", Offset = "0xD17D50", VA = "0x180D18D50", Slot = "1")]
protected override void Finalize()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.ToBase64Transform" /> class.</summary>
// Token: 0x06002334 RID: 9012 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002334")]
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
public ToBase64Transform()
{
}
}
}