This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,53 @@
using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// <summary>Defines the basic operations of cryptographic transformations.</summary>
// Token: 0x02000509 RID: 1289
[ComVisible(true)]
public interface ICryptoTransform : IDisposable
{
/// <summary>Gets a value indicating whether the current transform can be reused.</summary>
/// <returns>true if the current transform can be reused; otherwise, false.</returns>
// Token: 0x17000963 RID: 2403
// (get) Token: 0x06002F83 RID: 12163
bool CanReuseTransform { get; }
/// <summary>Gets a value indicating whether multiple blocks can be transformed.</summary>
/// <returns>true if multiple blocks can be transformed; otherwise, false.</returns>
// Token: 0x17000964 RID: 2404
// (get) Token: 0x06002F84 RID: 12164
bool CanTransformMultipleBlocks { get; }
/// <summary>Gets the input block size.</summary>
/// <returns>The size of the input data blocks in bytes.</returns>
// Token: 0x17000965 RID: 2405
// (get) Token: 0x06002F85 RID: 12165
int InputBlockSize { get; }
/// <summary>Gets the output block size.</summary>
/// <returns>The size of the output data blocks in bytes.</returns>
// Token: 0x17000966 RID: 2406
// (get) Token: 0x06002F86 RID: 12166
int OutputBlockSize { get; }
/// <summary>Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.</summary>
/// <returns>The number of bytes written.</returns>
/// <param name="inputBuffer">The input for which to compute the transform. </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 transform. </param>
/// <param name="outputOffset">The offset into the output byte array from which to begin writing data. </param>
// Token: 0x06002F87 RID: 12167
int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset);
/// <summary>Transforms the specified region of the specified byte array.</summary>
/// <returns>The computed transform.</returns>
/// <param name="inputBuffer">The input for which to compute the transform. </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>
// Token: 0x06002F88 RID: 12168
byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount);
}
}