Files
Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/RijndaelManaged.cs
T
2026-04-10 22:50:51 +02:00

79 lines
5.0 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Accesses the managed version of the <see cref="T:System.Security.Cryptography.Rijndael" /> algorithm. This class cannot be inherited.</summary>
// Token: 0x020003FE RID: 1022
[Token(Token = "0x20003FE")]
[ComVisible(true)]
public sealed class RijndaelManaged : Rijndael
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.RijndaelManaged" /> class.</summary>
/// <exception cref="T:System.InvalidOperationException">This class is not compliant with the FIPS algorithm.</exception>
// Token: 0x0600224E RID: 8782 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600224E")]
[Address(RVA = "0x2DF8CC0", Offset = "0x2DF7AC0", VA = "0x182DF8CC0")]
public RijndaelManaged()
{
}
/// <summary>Creates a symmetric <see cref="T:System.Security.Cryptography.Rijndael" /> encryptor object with the specified <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" /> and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
/// <param name="rgbKey">The secret key to be used for the symmetric algorithm. The key size must be 128, 192, or 256 bits.</param>
/// <param name="rgbIV">The IV to be used for the symmetric algorithm.</param>
/// <returns>A symmetric <see cref="T:System.Security.Cryptography.Rijndael" /> encryptor object.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="rgbKey" /> parameter is <see langword="null" />.
/// -or-
/// The <paramref name="rgbIV" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is not <see cref="F:System.Security.Cryptography.CipherMode.ECB" />, <see cref="F:System.Security.Cryptography.CipherMode.CBC" />, or <see cref="F:System.Security.Cryptography.CipherMode.CFB" />.</exception>
// Token: 0x0600224F RID: 8783 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x600224F")]
[Address(RVA = "0x2DF8A80", Offset = "0x2DF7880", VA = "0x182DF8A80", Slot = "23")]
public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV)
{
return null;
}
/// <summary>Creates a symmetric <see cref="T:System.Security.Cryptography.Rijndael" /> decryptor object with the specified <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" /> and initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />).</summary>
/// <param name="rgbKey">The secret key to be used for the symmetric algorithm. The key size must be 128, 192, or 256 bits.</param>
/// <param name="rgbIV">The IV to be used for the symmetric algorithm.</param>
/// <returns>A symmetric <see cref="T:System.Security.Cryptography.Rijndael" /> decryptor object.</returns>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="rgbKey" /> parameter is <see langword="null" />.
/// -or-
/// The <paramref name="rgbIV" /> parameter is <see langword="null" />.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The value of the <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Mode" /> property is not <see cref="F:System.Security.Cryptography.CipherMode.ECB" />, <see cref="F:System.Security.Cryptography.CipherMode.CBC" />, or <see cref="F:System.Security.Cryptography.CipherMode.CFB" />.</exception>
// Token: 0x06002250 RID: 8784 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002250")]
[Address(RVA = "0x2DF8A50", Offset = "0x2DF7850", VA = "0x182DF8A50", Slot = "25")]
public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV)
{
return null;
}
/// <summary>Generates a random <see cref="P:System.Security.Cryptography.SymmetricAlgorithm.Key" /> to be used for the algorithm.</summary>
// Token: 0x06002251 RID: 8785 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002251")]
[Address(RVA = "0x2DF8B20", Offset = "0x2DF7920", VA = "0x182DF8B20", Slot = "26")]
public override void GenerateKey()
{
}
/// <summary>Generates a random initialization vector (<see cref="P:System.Security.Cryptography.SymmetricAlgorithm.IV" />) to be used for the algorithm.</summary>
// Token: 0x06002252 RID: 8786 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002252")]
[Address(RVA = "0x2DF8AB0", Offset = "0x2DF78B0", VA = "0x182DF8AB0", Slot = "27")]
public override void GenerateIV()
{
}
// Token: 0x06002253 RID: 8787 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002253")]
[Address(RVA = "0x2DF8B90", Offset = "0x2DF7990", VA = "0x182DF8B90")]
private ICryptoTransform NewEncryptor(byte[] rgbKey, CipherMode mode, byte[] rgbIV, int feedbackSize, RijndaelManagedTransformMode encryptMode)
{
return null;
}
}
}