This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,217 @@
using System;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm. </summary>
// Token: 0x02000019 RID: 25
[Token(Token = "0x2000019")]
public sealed class AesCryptoServiceProvider : Aes
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.AesCryptoServiceProvider" /> class. </summary>
/// <exception cref="T:System.PlatformNotSupportedException">There is no supported key size for the current platform.</exception>
// Token: 0x06000093 RID: 147 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000093")]
[Address(RVA = "0x10CE8C0", Offset = "0x10CD8C0", VA = "0x1810CE8C0")]
public AesCryptoServiceProvider()
{
}
/// <summary>Generates a random initialization vector (IV) to use for the algorithm.</summary>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The initialization vector (IV) could not be generated. </exception>
// Token: 0x06000094 RID: 148 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000094")]
[Address(RVA = "0x10CE880", Offset = "0x10CD880", VA = "0x1810CE880", Slot = "27")]
public override void GenerateIV()
{
}
/// <summary>Generates a random key to use for the algorithm. </summary>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The key could not be generated.</exception>
// Token: 0x06000095 RID: 149 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x6000095")]
[Address(RVA = "0x10CE8A0", Offset = "0x10CD8A0", VA = "0x1810CE8A0", Slot = "26")]
public override void GenerateKey()
{
}
/// <summary>Creates a symmetric AES decryptor object using the specified key and initialization vector (IV).</summary>
/// <param name="key">The secret key to use for the symmetric algorithm.</param>
/// <param name="iv">The initialization vector to use for the symmetric algorithm.</param>
/// <returns>A symmetric AES decryptor object.</returns>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="key" /> or <paramref name="iv" /> is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="key" /> is invalid.</exception>
// Token: 0x06000096 RID: 150 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000096")]
[Address(RVA = "0x10CE6B0", Offset = "0x10CD6B0", VA = "0x1810CE6B0", Slot = "25")]
public override ICryptoTransform CreateDecryptor(byte[] key, byte[] iv)
{
return null;
}
/// <summary>Creates a symmetric encryptor object using the specified key and initialization vector (IV).</summary>
/// <param name="key">The secret key to use for the symmetric algorithm.</param>
/// <param name="iv">The initialization vector to use for the symmetric algorithm.</param>
/// <returns>A symmetric AES encryptor object.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="key" /> or <paramref name="iv" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="key" /> is invalid.</exception>
// Token: 0x06000097 RID: 151 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000097")]
[Address(RVA = "0x10CE790", Offset = "0x10CD790", VA = "0x1810CE790", Slot = "23")]
public override ICryptoTransform CreateEncryptor(byte[] key, byte[] iv)
{
return null;
}
// Token: 0x17000012 RID: 18
// (get) Token: 0x06000098 RID: 152 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x06000099 RID: 153 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000012")]
public override byte[] IV
{
[Token(Token = "0x6000098")]
[Address(RVA = "0x10CE920", Offset = "0x10CD920", VA = "0x1810CE920", Slot = "10")]
get
{
return null;
}
[Token(Token = "0x6000099")]
[Address(RVA = "0x10CE950", Offset = "0x10CD950", VA = "0x1810CE950", Slot = "11")]
set
{
}
}
/// <summary>Gets or sets the symmetric key that is used for encryption and decryption.</summary>
/// <returns>The symmetric key that is used for encryption and decryption.</returns>
/// <exception cref="T:System.ArgumentNullException">The value for the key is <see langword="null" />.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The size of the key is invalid.</exception>
// Token: 0x17000013 RID: 19
// (get) Token: 0x0600009A RID: 154 RVA: 0x00002050 File Offset: 0x00000250
// (set) Token: 0x0600009B RID: 155 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000013")]
public override byte[] Key
{
[Token(Token = "0x600009A")]
[Address(RVA = "0x10CE930", Offset = "0x10CD930", VA = "0x1810CE930", Slot = "12")]
get
{
return null;
}
[Token(Token = "0x600009B")]
[Address(RVA = "0x10CE970", Offset = "0x10CD970", VA = "0x1810CE970", Slot = "13")]
set
{
}
}
/// <summary>Gets or sets the size, in bits, of the secret key. </summary>
/// <returns>The size, in bits, of the key.</returns>
// Token: 0x17000014 RID: 20
// (get) Token: 0x0600009C RID: 156 RVA: 0x000022C8 File Offset: 0x000004C8
// (set) Token: 0x0600009D RID: 157 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000014")]
public override int KeySize
{
[Token(Token = "0x600009C")]
[Address(RVA = "0x42B830", Offset = "0x42A830", VA = "0x18042B830", Slot = "16")]
get
{
return 0;
}
[Token(Token = "0x600009D")]
[Address(RVA = "0x10CE960", Offset = "0x10CD960", VA = "0x1810CE960", Slot = "17")]
set
{
}
}
// Token: 0x17000015 RID: 21
// (get) Token: 0x0600009E RID: 158 RVA: 0x000022E0 File Offset: 0x000004E0
// (set) Token: 0x0600009F RID: 159 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000015")]
public override int FeedbackSize
{
[Token(Token = "0x600009E")]
[Address(RVA = "0x4936D0", Offset = "0x4926D0", VA = "0x1804936D0", Slot = "8")]
get
{
return 0;
}
[Token(Token = "0x600009F")]
[Address(RVA = "0x10CE940", Offset = "0x10CD940", VA = "0x1810CE940", Slot = "9")]
set
{
}
}
// Token: 0x17000016 RID: 22
// (get) Token: 0x060000A0 RID: 160 RVA: 0x000022F8 File Offset: 0x000004F8
// (set) Token: 0x060000A1 RID: 161 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000016")]
public override CipherMode Mode
{
[Token(Token = "0x60000A0")]
[Address(RVA = "0x696860", Offset = "0x695860", VA = "0x180696860", Slot = "18")]
get
{
return (CipherMode)0;
}
[Token(Token = "0x60000A1")]
[Address(RVA = "0x10CE980", Offset = "0x10CD980", VA = "0x1810CE980", Slot = "19")]
set
{
}
}
// Token: 0x17000017 RID: 23
// (get) Token: 0x060000A2 RID: 162 RVA: 0x00002310 File Offset: 0x00000510
// (set) Token: 0x060000A3 RID: 163 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x17000017")]
public override PaddingMode Padding
{
[Token(Token = "0x60000A2")]
[Address(RVA = "0x678D20", Offset = "0x677D20", VA = "0x180678D20", Slot = "20")]
get
{
return (PaddingMode)0;
}
[Token(Token = "0x60000A3")]
[Address(RVA = "0x10CEA00", Offset = "0x10CDA00", VA = "0x1810CEA00", Slot = "21")]
set
{
}
}
/// <summary>Creates a symmetric AES decryptor object using the current key and initialization vector (IV).</summary>
/// <returns>A symmetric AES decryptor object.</returns>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The current key is invalid or missing.</exception>
// Token: 0x060000A4 RID: 164 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000A4")]
[Address(RVA = "0xD17BF0", Offset = "0xD16BF0", VA = "0x180D17BF0", Slot = "24")]
public override ICryptoTransform CreateDecryptor()
{
return null;
}
/// <summary>Creates a symmetric AES encryptor object using the current key and initialization vector (IV).</summary>
/// <returns>A symmetric AES encryptor object.</returns>
// Token: 0x060000A5 RID: 165 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x60000A5")]
[Address(RVA = "0xD17C50", Offset = "0xD16C50", VA = "0x180D17C50", Slot = "22")]
public override ICryptoTransform CreateEncryptor()
{
return null;
}
// Token: 0x060000A6 RID: 166 RVA: 0x00002053 File Offset: 0x00000253
[Token(Token = "0x60000A6")]
[Address(RVA = "0x10CE870", Offset = "0x10CD870", VA = "0x1810CE870", Slot = "5")]
protected override void Dispose(bool disposing)
{
}
}
}