Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/FromBase64Transform.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x020003F1 RID: 1009
[Token(Token = "0x20003F1")]
[ComVisible(true)]
public class FromBase64Transform : ICryptoTransform, IDisposable
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.FromBase64Transform" /> class.</summary>
// Token: 0x06002335 RID: 9013 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002335")]
[Address(RVA = "0xC0A200", Offset = "0xC09200", VA = "0x180C0A200")]
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: 0x06002336 RID: 9014 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002336")]
[Address(RVA = "0xC0A250", Offset = "0xC09250", VA = "0x180C0A250")]
public FromBase64Transform(FromBase64TransformMode whitespaces)
{
}
/// <summary>Gets the input block size.</summary>
/// <returns>The size of the input data blocks in bytes.</returns>
// Token: 0x170004FB RID: 1275
// (get) Token: 0x06002337 RID: 9015 RVA: 0x00016AA0 File Offset: 0x00014CA0
[Token(Token = "0x170004FB")]
public int InputBlockSize
{
[Token(Token = "0x6002337")]
[Address(RVA = "0x4E8690", Offset = "0x4E7690", VA = "0x1804E8690", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the output block size.</summary>
/// <returns>The size of the output data blocks in bytes.</returns>
// Token: 0x170004FC RID: 1276
// (get) Token: 0x06002338 RID: 9016 RVA: 0x00016AB8 File Offset: 0x00014CB8
[Token(Token = "0x170004FC")]
public int OutputBlockSize
{
[Token(Token = "0x6002338")]
[Address(RVA = "0x4DB5B0", Offset = "0x4DA5B0", VA = "0x1804DB5B0", 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: 0x170004FD RID: 1277
// (get) Token: 0x06002339 RID: 9017 RVA: 0x00016AD0 File Offset: 0x00014CD0
[Token(Token = "0x170004FD")]
public bool CanTransformMultipleBlocks
{
[Token(Token = "0x6002339")]
[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: 0x170004FE RID: 1278
// (get) Token: 0x0600233A RID: 9018 RVA: 0x00016AE8 File Offset: 0x00014CE8
[Token(Token = "0x170004FE")]
public virtual bool CanReuseTransform
{
[Token(Token = "0x600233A")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", 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: 0x0600233B RID: 9019 RVA: 0x00016B00 File Offset: 0x00014D00
[Token(Token = "0x600233B")]
[Address(RVA = "0xC09B20", Offset = "0xC08B20", VA = "0x180C09B20", 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: 0x0600233C RID: 9020 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600233C")]
[Address(RVA = "0xC09EA0", Offset = "0xC08EA0", VA = "0x180C09EA0", Slot = "9")]
public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
{
return null;
}
// Token: 0x0600233D RID: 9021 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600233D")]
[Address(RVA = "0xC098B0", Offset = "0xC088B0", VA = "0x180C098B0")]
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: 0x0600233E RID: 9022 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600233E")]
[Address(RVA = "0xC09840", Offset = "0xC08840", VA = "0x180C09840", Slot = "10")]
public void Dispose()
{
}
// Token: 0x0600233F RID: 9023 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600233F")]
[Address(RVA = "0x9AD5A0", Offset = "0x9AC5A0", VA = "0x1809AD5A0")]
private void Reset()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.FromBase64Transform" />.</summary>
// Token: 0x06002340 RID: 9024 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002340")]
[Address(RVA = "0xC09840", Offset = "0xC08840", VA = "0x180C09840")]
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: 0x06002341 RID: 9025 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002341")]
[Address(RVA = "0xC09A60", Offset = "0xC08A60", VA = "0x180C09A60", 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: 0x06002342 RID: 9026 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002342")]
[Address(RVA = "0xC09AA0", Offset = "0xC08AA0", VA = "0x180C09AA0", Slot = "1")]
protected override void Finalize()
{
}
// Token: 0x040013B9 RID: 5049
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40013B9")]
private byte[] _inputBuffer;
// Token: 0x040013BA RID: 5050
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40013BA")]
private int _inputIndex;
// Token: 0x040013BB RID: 5051
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
[Token(Token = "0x40013BB")]
private FromBase64TransformMode _whitespaces;
}
}