m
This commit is contained in:
@@ -0,0 +1,131 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Security.Cryptography
|
||||
{
|
||||
/// <summary>Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.</summary>
|
||||
// Token: 0x02000444 RID: 1092
|
||||
[Token(Token = "0x2000444")]
|
||||
public sealed class RNGCryptoServiceProvider : RandomNumberGenerator
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
|
||||
// Token: 0x060025F3 RID: 9715 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025F3")]
|
||||
[Address(RVA = "0x1021150", Offset = "0x1020150", VA = "0x181021150")]
|
||||
public RNGCryptoServiceProvider()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
|
||||
/// <param name="rgb">A byte array. This value is ignored.</param>
|
||||
// Token: 0x060025F4 RID: 9716 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025F4")]
|
||||
[Address(RVA = "0x10210D0", Offset = "0x10200D0", VA = "0x1810210D0")]
|
||||
public RNGCryptoServiceProvider(byte[] rgb)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class with the specified parameters.</summary>
|
||||
/// <param name="cspParams">The parameters to pass to the cryptographic service provider (CSP).</param>
|
||||
// Token: 0x060025F5 RID: 9717 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025F5")]
|
||||
[Address(RVA = "0x1021290", Offset = "0x1020290", VA = "0x181021290")]
|
||||
public RNGCryptoServiceProvider(CspParameters cspParams)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RNGCryptoServiceProvider" /> class.</summary>
|
||||
/// <param name="str">The string input. This parameter is ignored.</param>
|
||||
// Token: 0x060025F6 RID: 9718 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025F6")]
|
||||
[Address(RVA = "0x10211C0", Offset = "0x10201C0", VA = "0x1810211C0")]
|
||||
public RNGCryptoServiceProvider(string str)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060025F7 RID: 9719 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025F7")]
|
||||
[Address(RVA = "0x1020BB0", Offset = "0x101FBB0", VA = "0x181020BB0")]
|
||||
private void Check()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060025F8 RID: 9720 RVA: 0x000178F8 File Offset: 0x00015AF8
|
||||
[Token(Token = "0x60025F8")]
|
||||
[Address(RVA = "0x1021050", Offset = "0x1020050", VA = "0x181021050")]
|
||||
private static bool RngOpen()
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
|
||||
// Token: 0x060025F9 RID: 9721 RVA: 0x00017910 File Offset: 0x00015B10
|
||||
[Token(Token = "0x60025F9")]
|
||||
[Address(RVA = "0x1021040", Offset = "0x1020040", VA = "0x181021040")]
|
||||
private static IntPtr RngInitialize(byte[] seed)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060025FA RID: 9722 RVA: 0x00017928 File Offset: 0x00015B28
|
||||
[Token(Token = "0x60025FA")]
|
||||
[Address(RVA = "0x1021030", Offset = "0x1020030", VA = "0x181021030")]
|
||||
private static IntPtr RngGetBytes(IntPtr handle, byte[] data)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Token: 0x060025FB RID: 9723 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025FB")]
|
||||
[Address(RVA = "0x1021020", Offset = "0x1020020", VA = "0x181021020")]
|
||||
private static void RngClose(IntPtr handle)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Fills an array of bytes with a cryptographically strong sequence of random values.</summary>
|
||||
/// <param name="data">The array to fill with a cryptographically strong sequence of random values.</param>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="data" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060025FC RID: 9724 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025FC")]
|
||||
[Address(RVA = "0x1020D10", Offset = "0x101FD10", VA = "0x181020D10", Slot = "6")]
|
||||
public override void GetBytes(byte[] data)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Fills an array of bytes with a cryptographically strong sequence of random nonzero values.</summary>
|
||||
/// <param name="data">The array to fill with a cryptographically strong sequence of random nonzero values.</param>
|
||||
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The cryptographic service provider (CSP) cannot be acquired.</exception>
|
||||
/// <exception cref="T:System.ArgumentNullException">
|
||||
/// <paramref name="data" /> is <see langword="null" />.</exception>
|
||||
// Token: 0x060025FD RID: 9725 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025FD")]
|
||||
[Address(RVA = "0x1020EC0", Offset = "0x101FEC0", VA = "0x181020EC0", Slot = "8")]
|
||||
public override void GetNonZeroBytes(byte[] data)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060025FE RID: 9726 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025FE")]
|
||||
[Address(RVA = "0x1020C40", Offset = "0x101FC40", VA = "0x181020C40", Slot = "1")]
|
||||
protected override void Finalize()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x060025FF RID: 9727 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x60025FF")]
|
||||
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "5")]
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400151E RID: 5406
|
||||
[Token(Token = "0x400151E")]
|
||||
private static object _lock;
|
||||
|
||||
// Token: 0x0400151F RID: 5407
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400151F")]
|
||||
private IntPtr _handle;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user