a
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Computes masks according to PKCS #1 for use by key exchange algorithms.</summary>
|
||||
// Token: 0x020003F8 RID: 1016
|
||||
[Token(Token = "0x20003F8")]
|
||||
[ComVisible(true)]
|
||||
public class PKCS1MaskGenerationMethod : MaskGenerationMethod
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.PKCS1MaskGenerationMethod" /> class.</summary>
|
||||
// Token: 0x0600221D RID: 8733 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x600221D")]
|
||||
[Address(RVA = "0x2DAD500", Offset = "0x2DAC300", VA = "0x182DAD500")]
|
||||
public PKCS1MaskGenerationMethod()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets or sets the name of the hash algorithm type to use for generating the mask.</summary>
|
||||
/// <returns>The name of the type that implements the hash algorithm to use for computing the mask.</returns>
|
||||
// Token: 0x170004B3 RID: 1203
|
||||
// (get) Token: 0x0600221E RID: 8734 RVA: 0x00002082 File Offset: 0x00000282
|
||||
// (set) Token: 0x0600221F RID: 8735 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x170004B3")]
|
||||
public string HashName
|
||||
{
|
||||
[Token(Token = "0x600221E")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x600221F")]
|
||||
[Address(RVA = "0x2DAD540", Offset = "0x2DAC340", VA = "0x182DAD540")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Generates and returns a mask from the specified random seed of the specified length.</summary>
|
||||
/// <param name="rgbSeed">The random seed to use for computing the mask.</param>
|
||||
/// <param name="cbReturn">The length of the generated mask in bytes.</param>
|
||||
/// <returns>A randomly generated mask whose length is equal to the <paramref name="cbReturn" /> parameter.</returns>
|
||||
// Token: 0x06002220 RID: 8736 RVA: 0x00002082 File Offset: 0x00000282
|
||||
[Token(Token = "0x6002220")]
|
||||
[Address(RVA = "0x2DAD480", Offset = "0x2DAC280", VA = "0x182DAD480", Slot = "4")]
|
||||
public override byte[] GenerateMask(byte[] rgbSeed, int cbReturn)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x04001377 RID: 4983
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4001377")]
|
||||
private string HashNameValue;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user