Files
Apr2020-Cpp2Il-Dump/mscorlib/System/Security/Cryptography/FromBase64Transform.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

201 lines
8.8 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Converts a <see cref="T:System.Security.Cryptography.CryptoStream" /> from base 64.</summary>
// Token: 0x020003D5 RID: 981
[Token(Token = "0x20003D5")]
[ComVisible(true)]
public class FromBase64Transform : ICryptoTransform, IDisposable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> class.</summary>
// Token: 0x06002129 RID: 8489 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002129")]
[Address(RVA = "0x2DA8520", Offset = "0x2DA7320", VA = "0x182DA8520")]
public FromBase64Transform()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> class with the specified transformation mode.</summary>
/// <param name="whitespaces">One of the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> values.</param>
// Token: 0x0600212A RID: 8490 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600212A")]
[Address(RVA = "0x2DA8570", Offset = "0x2DA7370", VA = "0x182DA8570")]
public FromBase64Transform(FromBase64TransformMode whitespaces)
{
}
/// <summary>Gets the input block size.</summary>
/// <returns>The size of the input data blocks in bytes.</returns>
// Token: 0x17000484 RID: 1156
// (get) Token: 0x0600212B RID: 8491 RVA: 0x000146D0 File Offset: 0x000128D0
[Token(Token = "0x17000484")]
public int InputBlockSize
{
[Token(Token = "0x600212B")]
[Address(RVA = "0x4100E0", Offset = "0x40EEE0", VA = "0x1804100E0", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the output block size.</summary>
/// <returns>The size of the output data blocks in bytes.</returns>
// Token: 0x17000485 RID: 1157
// (get) Token: 0x0600212C RID: 8492 RVA: 0x000146E8 File Offset: 0x000128E8
[Token(Token = "0x17000485")]
public int OutputBlockSize
{
[Token(Token = "0x600212C")]
[Address(RVA = "0x53A4A0", Offset = "0x5392A0", VA = "0x18053A4A0", 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: 0x17000486 RID: 1158
// (get) Token: 0x0600212D RID: 8493 RVA: 0x00014700 File Offset: 0x00012900
[Token(Token = "0x17000486")]
public bool CanTransformMultipleBlocks
{
[Token(Token = "0x600212D")]
[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: 0x17000487 RID: 1159
// (get) Token: 0x0600212E RID: 8494 RVA: 0x00014718 File Offset: 0x00012918
[Token(Token = "0x17000487")]
public virtual bool CanReuseTransform
{
[Token(Token = "0x600212E")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "11")]
get
{
return default(bool);
}
}
/// <summary>Converts the specified region of the input byte array from base 64 and copies the result to the specified region of the output byte array.</summary>
/// <param name="inputBuffer">The input to compute from 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.FromBase64Transform" /> object has already been disposed.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="inputCount" /> uses an invalid value.
/// -or-
/// <paramref name="inputBuffer" /> has an invalid offset length.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="inputOffset" /> is out of range. This parameter requires a non-negative number.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="inputBuffer" /> is <see langword="null" />.</exception>
// Token: 0x0600212F RID: 8495 RVA: 0x00014730 File Offset: 0x00012930
[Token(Token = "0x600212F")]
[Address(RVA = "0x2DA7E40", Offset = "0x2DA6C40", VA = "0x182DA7E40", 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 from base 64.</summary>
/// <param name="inputBuffer">The input to convert from 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 conversion.</returns>
/// <exception cref="T:System.ObjectDisposedException">The current <see cref="T:System.Security.Cryptography.FromBase64Transform" /> object has already been disposed.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="inputBuffer" /> has an invalid offset length.
/// -or-
/// <paramref name="inputCount" /> has an invalid value.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="inputOffset" /> is out of range. This parameter requires a non-negative number.</exception>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="inputBuffer" /> is <see langword="null" />.</exception>
// Token: 0x06002130 RID: 8496 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002130")]
[Address(RVA = "0x2DA81C0", Offset = "0x2DA6FC0", VA = "0x182DA81C0", Slot = "9")]
public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
{
return null;
}
// Token: 0x06002131 RID: 8497 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002131")]
[Address(RVA = "0x2DA7BD0", Offset = "0x2DA69D0", VA = "0x182DA7BD0")]
private byte[] DiscardWhiteSpaces(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.FromBase64Transform" /> class.</summary>
// Token: 0x06002132 RID: 8498 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002132")]
[Address(RVA = "0x2DA7B60", Offset = "0x2DA6960", VA = "0x182DA7B60", Slot = "10")]
public void Dispose()
{
}
// Token: 0x06002133 RID: 8499 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002133")]
[Address(RVA = "0x24C7AE0", Offset = "0x24C68E0", VA = "0x1824C7AE0")]
private void Reset()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.FromBase64Transform" />.</summary>
// Token: 0x06002134 RID: 8500 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002134")]
[Address(RVA = "0x2DA7B60", Offset = "0x2DA6960", VA = "0x182DA7B60")]
public void Clear()
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> 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: 0x06002135 RID: 8501 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002135")]
[Address(RVA = "0x2DA7D80", Offset = "0x2DA6B80", VA = "0x182DA7D80", Slot = "12")]
protected virtual void Dispose(bool disposing)
{
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.FromBase64Transform" />.</summary>
// Token: 0x06002136 RID: 8502 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002136")]
[Address(RVA = "0x2DA7DC0", Offset = "0x2DA6BC0", VA = "0x182DA7DC0", Slot = "1")]
protected override void Finalize()
{
}
// Token: 0x040012F6 RID: 4854
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40012F6")]
private byte[] _inputBuffer;
// Token: 0x040012F7 RID: 4855
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40012F7")]
private int _inputIndex;
// Token: 0x040012F8 RID: 4856
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x40012F8")]
private FromBase64TransformMode _whitespaces;
}
}