Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/CryptoAPITransform.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +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: 0x0200043B RID: 1083
[Token(Token = "0x200043B")]
[ComVisible(true)]
public sealed class CryptoAPITransform : ICryptoTransform, IDisposable
{
// Token: 0x06002595 RID: 9621 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002595")]
[Address(RVA = "0x41C6E0", Offset = "0x41B6E0", VA = "0x18041C6E0")]
internal CryptoAPITransform()
{
}
/// <summary>Gets a value indicating whether the current transform can be reused.</summary>
/// <returns>Always <see langword="true" />.</returns>
// Token: 0x1700055A RID: 1370
// (get) Token: 0x06002596 RID: 9622 RVA: 0x000176A0 File Offset: 0x000158A0
[Token(Token = "0x1700055A")]
public bool CanReuseTransform
{
[Token(Token = "0x6002596")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", 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: 0x1700055B RID: 1371
// (get) Token: 0x06002597 RID: 9623 RVA: 0x000176B8 File Offset: 0x000158B8
[Token(Token = "0x1700055B")]
public bool CanTransformMultipleBlocks
{
[Token(Token = "0x6002597")]
[Address(RVA = "0x4246A0", Offset = "0x4236A0", VA = "0x1804246A0", Slot = "6")]
get
{
return default(bool);
}
}
/// <summary>Gets the input block size.</summary>
/// <returns>The input block size in bytes.</returns>
// Token: 0x1700055C RID: 1372
// (get) Token: 0x06002598 RID: 9624 RVA: 0x000176D0 File Offset: 0x000158D0
[Token(Token = "0x1700055C")]
public int InputBlockSize
{
[Token(Token = "0x6002598")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "4")]
get
{
return 0;
}
}
/// <summary>Gets the key handle.</summary>
/// <returns>The key handle.</returns>
// Token: 0x1700055D RID: 1373
// (get) Token: 0x06002599 RID: 9625 RVA: 0x000176E8 File Offset: 0x000158E8
[Token(Token = "0x1700055D")]
public IntPtr KeyHandle
{
[Token(Token = "0x6002599")]
[Address(RVA = "0xBFF7D0", Offset = "0xBFE7D0", VA = "0x180BFF7D0")]
get
{
return 0;
}
}
/// <summary>Gets the output block size.</summary>
/// <returns>The output block size in bytes.</returns>
// Token: 0x1700055E RID: 1374
// (get) Token: 0x0600259A RID: 9626 RVA: 0x00017700 File Offset: 0x00015900
[Token(Token = "0x1700055E")]
public int OutputBlockSize
{
[Token(Token = "0x600259A")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", 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: 0x0600259B RID: 9627 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600259B")]
[Address(RVA = "0xBFF770", Offset = "0xBFE770", VA = "0x180BFF770", Slot = "10")]
public void Dispose()
{
}
/// <summary>Releases all resources used by the <see cref="T:System.Security.Cryptography.CryptoAPITransform" /> method.</summary>
// Token: 0x0600259C RID: 9628 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600259C")]
[Address(RVA = "0x8CBC50", Offset = "0x8CAC50", VA = "0x1808CBC50")]
public void Clear()
{
}
// Token: 0x0600259D RID: 9629 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600259D")]
[Address(RVA = "0x8CBC50", Offset = "0x8CAC50", VA = "0x1808CBC50")]
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: 0x0600259E RID: 9630 RVA: 0x00017718 File Offset: 0x00015918
[Token(Token = "0x600259E")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", 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: 0x0600259F RID: 9631 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600259F")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", 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: 0x060025A0 RID: 9632 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60025A0")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0")]
[ComVisible(false)]
public void Reset()
{
}
// Token: 0x040014F5 RID: 5365
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40014F5")]
private bool m_disposed;
}
}