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: 0x020003E2 RID: 994
|
|
[Token(Token = "0x20003E2")]
|
|
[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: 0x06002177 RID: 8567
|
|
[Token(Token = "0x6002177")]
|
|
[Address(Slot = "5")]
|
|
public abstract byte[] GetBytes(int cb);
|
|
|
|
/// <summary>When overridden in a derived class, resets the state of the operation.</summary>
|
|
// Token: 0x06002178 RID: 8568
|
|
[Token(Token = "0x6002178")]
|
|
[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: 0x06002179 RID: 8569 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x6002179")]
|
|
[Address(RVA = "0x2DA7AF0", Offset = "0x2DA68F0", VA = "0x182DA7AF0", 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: 0x0600217A RID: 8570 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600217A")]
|
|
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080", 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: 0x0600217B RID: 8571 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600217B")]
|
|
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
|
protected DeriveBytes()
|
|
{
|
|
}
|
|
}
|
|
}
|