54 lines
2.3 KiB
C#
54 lines
2.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Security.Cryptography
|
|
{
|
|
/// <summary>Represents the abstract base class from which all classes that derive byte sequences of a specified length inherit.</summary>
|
|
// Token: 0x020003FE RID: 1022
|
|
[Token(Token = "0x20003FE")]
|
|
[ComVisible(true)]
|
|
public abstract class DeriveBytes : IDisposable
|
|
{
|
|
/// <summary>When overridden in a derived class, returns pseudo-random key bytes.</summary>
|
|
/// <param name="cb">The number of pseudo-random key bytes to generate.</param>
|
|
/// <returns>A byte array filled with pseudo-random key bytes.</returns>
|
|
// Token: 0x06002383 RID: 9091
|
|
[Token(Token = "0x6002383")]
|
|
[Address(Slot = "5")]
|
|
public abstract byte[] GetBytes(int cb);
|
|
|
|
/// <summary>When overridden in a derived class, resets the state of the operation.</summary>
|
|
// Token: 0x06002384 RID: 9092
|
|
[Token(Token = "0x6002384")]
|
|
[Address(Slot = "6")]
|
|
public abstract void Reset();
|
|
|
|
/// <summary>When overridden in a derived class, releases all resources used by the current instance of the <see cref="T:System.Security.Cryptography.DeriveBytes" /> class.</summary>
|
|
// Token: 0x06002385 RID: 9093 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002385")]
|
|
[Address(RVA = "0xC097D0", Offset = "0xC087D0", VA = "0x180C097D0", Slot = "4")]
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
/// <summary>When overridden in a derived class, releases the unmanaged resources used by the <see cref="T:System.Security.Cryptography.DeriveBytes" /> class 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: 0x06002386 RID: 9094 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002386")]
|
|
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "7")]
|
|
protected virtual void Dispose(bool disposing)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.DeriveBytes" /> class.</summary>
|
|
// Token: 0x06002387 RID: 9095 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002387")]
|
|
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
|
protected DeriveBytes()
|
|
{
|
|
}
|
|
}
|
|
}
|