Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Security/Cryptography/ToBase64Transform.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +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: 0x020003D4 RID: 980
[Token(Token = "0x20003D4")]
[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: 0x17000480 RID: 1152
// (get) Token: 0x0600211E RID: 8478 RVA: 0x00014658 File Offset: 0x00012858
[Token(Token = "0x17000480")]
public int InputBlockSize
{
[Token(Token = "0x600211E")]
[Address(RVA = "0x53A4A0", Offset = "0x5392A0", VA = "0x18053A4A0", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the output block size.</summary>
/// <returns>The size of the output data blocks in bytes.</returns>
// Token: 0x17000481 RID: 1153
// (get) Token: 0x0600211F RID: 8479 RVA: 0x00014670 File Offset: 0x00012870
[Token(Token = "0x17000481")]
public int OutputBlockSize
{
[Token(Token = "0x600211F")]
[Address(RVA = "0x4101C0", Offset = "0x40EFC0", VA = "0x1804101C0", 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: 0x17000482 RID: 1154
// (get) Token: 0x06002120 RID: 8480 RVA: 0x00014688 File Offset: 0x00012888
[Token(Token = "0x17000482")]
public bool CanTransformMultipleBlocks
{
[Token(Token = "0x6002120")]
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", 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: 0x17000483 RID: 1155
// (get) Token: 0x06002121 RID: 8481 RVA: 0x000146A0 File Offset: 0x000128A0
[Token(Token = "0x17000483")]
public virtual bool CanReuseTransform
{
[Token(Token = "0x6002121")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", 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: 0x06002122 RID: 8482 RVA: 0x000146B8 File Offset: 0x000128B8
[Token(Token = "0x6002122")]
[Address(RVA = "0x2E027C0", Offset = "0x2E015C0", VA = "0x182E027C0", 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: 0x06002123 RID: 8483 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002123")]
[Address(RVA = "0x2E02A20", Offset = "0x2E01820", VA = "0x182E02A20", 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: 0x06002124 RID: 8484 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002124")]
[Address(RVA = "0x2E026D0", Offset = "0x2E014D0", VA = "0x182E026D0", Slot = "10")]
public void Dispose()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.ToBase64Transform" />.</summary>
// Token: 0x06002125 RID: 8485 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002125")]
[Address(RVA = "0x2E026D0", Offset = "0x2E014D0", VA = "0x182E026D0")]
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: 0x06002126 RID: 8486 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002126")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", 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: 0x06002127 RID: 8487 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002127")]
[Address(RVA = "0x2E02740", Offset = "0x2E01540", VA = "0x182E02740", Slot = "1")]
protected override void Finalize()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.ToBase64Transform" /> class.</summary>
// Token: 0x06002128 RID: 8488 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002128")]
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
public ToBase64Transform()
{
}
}
}