using System;
using System.Runtime.InteropServices;
namespace System.Security.Cryptography
{
/// Performs a cryptographic transformation of data. This class cannot be inherited.
// Token: 0x020004EC RID: 1260
[ComVisible(true)]
public sealed class CryptoAPITransform : IDisposable, ICryptoTransform
{
// Token: 0x06002E9E RID: 11934 RVA: 0x00095268 File Offset: 0x00093468
internal CryptoAPITransform()
{
this.m_disposed = false;
}
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
// Token: 0x06002E9F RID: 11935 RVA: 0x00095278 File Offset: 0x00093478
void IDisposable.Dispose()
{
this.Dispose(true);
GC.SuppressFinalize(this);
}
/// Gets a value indicating whether the current transform can be reused.
/// Always true.
// Token: 0x17000930 RID: 2352
// (get) Token: 0x06002EA0 RID: 11936 RVA: 0x00095288 File Offset: 0x00093488
public bool CanReuseTransform
{
get
{
return true;
}
}
/// Gets a value indicating whether multiple blocks can be transformed.
/// true if multiple blocks can be transformed; otherwise, false.
// Token: 0x17000931 RID: 2353
// (get) Token: 0x06002EA1 RID: 11937 RVA: 0x0009528C File Offset: 0x0009348C
public bool CanTransformMultipleBlocks
{
get
{
return true;
}
}
/// Gets the input block size.
/// The input block size in bytes.
// Token: 0x17000932 RID: 2354
// (get) Token: 0x06002EA2 RID: 11938 RVA: 0x00095290 File Offset: 0x00093490
public int InputBlockSize
{
get
{
return 0;
}
}
/// Gets the key handle.
/// The key handle.
///
///
///
// Token: 0x17000933 RID: 2355
// (get) Token: 0x06002EA3 RID: 11939 RVA: 0x00095294 File Offset: 0x00093494
public IntPtr KeyHandle
{
get
{
return IntPtr.Zero;
}
}
/// Gets the output block size.
/// The output block size in bytes.
// Token: 0x17000934 RID: 2356
// (get) Token: 0x06002EA4 RID: 11940 RVA: 0x0009529C File Offset: 0x0009349C
public int OutputBlockSize
{
get
{
return 0;
}
}
/// Releases all resources used by the method.
// Token: 0x06002EA5 RID: 11941 RVA: 0x000952A0 File Offset: 0x000934A0
public void Clear()
{
this.Dispose(false);
}
// Token: 0x06002EA6 RID: 11942 RVA: 0x000952AC File Offset: 0x000934AC
private void Dispose(bool disposing)
{
if (!this.m_disposed)
{
if (disposing)
{
}
this.m_disposed = true;
}
}
/// 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.
/// The number of bytes written.
/// The input on which to perform the operation on.
/// The offset into the input byte array from which to begin using data from.
/// The number of bytes in the input byte array to use as data.
/// The output to which to write the data to.
/// The offset into the output byte array from which to begin writing data from.
/// The parameter is null.-or- The parameter is null.
/// The length of the input buffer is less than the sum of the input offset and the input count.
///
/// is out of range. This parameter requires a non-negative number.
// Token: 0x06002EA7 RID: 11943 RVA: 0x000952C8 File Offset: 0x000934C8
public int TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset)
{
return 0;
}
/// Computes the transformation for the specified region of the specified byte array.
/// The computed transformation.
/// The input on which to perform the operation on.
/// The offset into the byte array from which to begin using data from.
/// The number of bytes in the byte array to use as data.
/// The parameter is null.
/// The parameter is less than zero.-or- The 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.
/// The padding is invalid.
/// The parameter is out of range. This parameter requires a non-negative number.
// Token: 0x06002EA8 RID: 11944 RVA: 0x000952CC File Offset: 0x000934CC
public byte[] TransformFinalBlock(byte[] inputBuffer, int inputOffset, int inputCount)
{
return null;
}
/// Resets the internal state of so that it can be used again to do a different encryption or decryption.
// Token: 0x06002EA9 RID: 11945 RVA: 0x000952D0 File Offset: 0x000934D0
[ComVisible(false)]
public void Reset()
{
}
// Token: 0x04001271 RID: 4721
private bool m_disposed;
}
}