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

176 lines
7.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Performs a cryptographic transformation of data. This class cannot be inherited.</summary>
// Token: 0x0200041F RID: 1055
[Token(Token = "0x200041F")]
[ComVisible(true)]
public sealed class CryptoAPITransform : ICryptoTransform, IDisposable
{
// Token: 0x06002389 RID: 9097 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002389")]
[Address(RVA = "0x637D50", Offset = "0x636B50", VA = "0x180637D50")]
internal CryptoAPITransform()
{
}
/// <summary>Gets a value indicating whether the current transform can be reused.</summary>
/// <returns>Always <see langword="true" />.</returns>
// Token: 0x170004E3 RID: 1251
// (get) Token: 0x0600238A RID: 9098 RVA: 0x000152D0 File Offset: 0x000134D0
[Token(Token = "0x170004E3")]
public bool CanReuseTransform
{
[Token(Token = "0x600238A")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "7")]
get
{
return default(bool);
}
}
/// <summary>Gets a value indicating whether multiple blocks can be transformed.</summary>
/// <returns>
/// <see langword="true" /> if multiple blocks can be transformed; otherwise, <see langword="false" />.</returns>
// Token: 0x170004E4 RID: 1252
// (get) Token: 0x0600238B RID: 9099 RVA: 0x000152E8 File Offset: 0x000134E8
[Token(Token = "0x170004E4")]
public bool CanTransformMultipleBlocks
{
[Token(Token = "0x600238B")]
[Address(RVA = "0x460D40", Offset = "0x45FB40", VA = "0x180460D40", Slot = "6")]
get
{
return default(bool);
}
}
/// <summary>Gets the input block size.</summary>
/// <returns>The input block size in bytes.</returns>
// Token: 0x170004E5 RID: 1253
// (get) Token: 0x0600238C RID: 9100 RVA: 0x00015300 File Offset: 0x00013500
[Token(Token = "0x170004E5")]
public int InputBlockSize
{
[Token(Token = "0x600238C")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the key handle.</summary>
/// <returns>The key handle.</returns>
// Token: 0x170004E6 RID: 1254
// (get) Token: 0x0600238D RID: 9101 RVA: 0x00015318 File Offset: 0x00013518
[Token(Token = "0x170004E6")]
public IntPtr KeyHandle
{
[Token(Token = "0x600238D")]
[Address(RVA = "0x298BAD0", Offset = "0x298A8D0", VA = "0x18298BAD0")]
get
{
return 0;
}
}
/// <summary>Gets the output block size.</summary>
/// <returns>The output block size in bytes.</returns>
// Token: 0x170004E7 RID: 1255
// (get) Token: 0x0600238E RID: 9102 RVA: 0x00015330 File Offset: 0x00013530
[Token(Token = "0x170004E7")]
public int OutputBlockSize
{
[Token(Token = "0x600238E")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "5")]
get
{
return 0;
}
}
/// <summary>Releases all resources used by the current instance of the <see cref="T:System.Security.Cryptography.CryptoAPITransform" /> class.</summary>
// Token: 0x0600238F RID: 9103 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600238F")]
[Address(RVA = "0x298BA70", Offset = "0x298A870", VA = "0x18298BA70", Slot = "10")]
public void Dispose()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.CryptoAPITransform" /> method.</summary>
// Token: 0x06002390 RID: 9104 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002390")]
[Address(RVA = "0x2250FC0", Offset = "0x224FDC0", VA = "0x182250FC0")]
public void Clear()
{
}
// Token: 0x06002391 RID: 9105 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002391")]
[Address(RVA = "0x2250FC0", Offset = "0x224FDC0", VA = "0x182250FC0")]
private void Dispose(bool disposing)
{
}
/// <summary>Computes the transformation for the specified region of the input byte array and copies the resulting transformation to the specified region of the output byte array.</summary>
/// <param name="inputBuffer">The input on which to perform the operation on.</param>
/// <param name="inputOffset">The offset into the input byte array from which to begin using data from.</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 data to.</param>
/// <param name="outputOffset">The offset into the output byte array from which to begin writing data from.</param>
/// <returns>The number of bytes written.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="inputBuffer" /> parameter is <see langword="null" />.
/// -or-
/// The <paramref name="outputBuffer" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The length of the input buffer is less than the sum of the input offset and the input count.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">
/// <paramref name="inputOffset" /> is out of range. This parameter requires a non-negative number.</exception>
// Token: 0x06002392 RID: 9106 RVA: 0x00015348 File Offset: 0x00013548
[Token(Token = "0x6002392")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "8")]
public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
{
return 0;
}
/// <summary>Computes the transformation for the specified region of the specified byte array.</summary>
/// <param name="inputBuffer">The input on which to perform the operation on.</param>
/// <param name="inputOffset">The offset into the byte array from which to begin using data from.</param>
/// <param name="inputCount">The number of bytes in the byte array to use as data.</param>
/// <returns>The computed transformation.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="inputBuffer" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The <paramref name="inputOffset" /> parameter is less than zero.
/// -or-
/// The <paramref name="inputCount" /> parameter is less than zero.
/// -or-
/// The length of the input buffer is less than the sum of the input offset and the input count.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The <see cref="F:System.Security.Cryptography.PaddingMode.PKCS7" /> padding is invalid.</exception>
/// <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="inputOffset" /> parameter is out of range. This parameter requires a non-negative number.</exception>
// Token: 0x06002393 RID: 9107 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002393")]
[Address(RVA = "0x43E630", Offset = "0x43D430", VA = "0x18043E630", Slot = "9")]
public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
{
return null;
}
/// <summary>Resets the internal state of <see cref="T:System.Security.Cryptography.CryptoAPITransform" /> so that it can be used again to do a different encryption or decryption.</summary>
// Token: 0x06002394 RID: 9108 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002394")]
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
[ComVisible(false)]
public void Reset()
{
}
// Token: 0x04001432 RID: 5170
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4001432")]
private bool m_disposed;
}
}