79 lines
5.0 KiB
C#
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: 0x0200041A RID: 1050
|
|
[Token(Token = "0x200041A")]
|
|
[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: 0x0600245A RID: 9306 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600245A")]
|
|
[Address(RVA = "0x102D110", Offset = "0x102C110", VA = "0x18102D110")]
|
|
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: 0x0600245B RID: 9307 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600245B")]
|
|
[Address(RVA = "0x102CED0", Offset = "0x102BED0", VA = "0x18102CED0", 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: 0x0600245C RID: 9308 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600245C")]
|
|
[Address(RVA = "0x102CEA0", Offset = "0x102BEA0", VA = "0x18102CEA0", 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: 0x0600245D RID: 9309 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600245D")]
|
|
[Address(RVA = "0x102CF70", Offset = "0x102BF70", VA = "0x18102CF70", 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: 0x0600245E RID: 9310 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x600245E")]
|
|
[Address(RVA = "0x102CF00", Offset = "0x102BF00", VA = "0x18102CF00", Slot = "27")]
|
|
public override void GenerateIV()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600245F RID: 9311 RVA: 0x00002082 File Offset: 0x00000282
|
|
[Token(Token = "0x600245F")]
|
|
[Address(RVA = "0x102CFE0", Offset = "0x102BFE0", VA = "0x18102CFE0")]
|
|
private ICryptoTransform NewEncryptor(byte[] rgbKey, CipherMode mode, byte[] rgbIV, int feedbackSize, RijndaelManagedTransformMode encryptMode)
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
}
|