Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

105 lines
4.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Represents the base class for Triple Data Encryption Standard algorithms from which all <see cref="T:System.Security.Cryptography.TripleDES" /> implementations must derive.</summary>
// Token: 0x0200041A RID: 1050
[Token(Token = "0x200041A")]
[ComVisible(true)]
public abstract class TripleDES : SymmetricAlgorithm
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.TripleDES" /> class.</summary>
// Token: 0x06002362 RID: 9058 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6002362")]
[Address(RVA = "0x2E03E70", Offset = "0x2E02C70", VA = "0x182E03E70")]
protected TripleDES()
{
}
/// <summary>Gets or sets the secret key for the <see cref="T:System.Security.Cryptography.TripleDES" /> algorithm.</summary>
/// <returns>The secret key for the <see cref="T:System.Security.Cryptography.TripleDES" /> algorithm.</returns>
/// <exception cref="T:System.ArgumentNullException">An attempt was made to set the key to <see langword="null" />.</exception>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">An attempt was made to set a key whose length is invalid.
/// -or-
/// An attempt was made to set a weak key (see <see cref="M:System.Security.Cryptography.TripleDES.IsWeakKey(System.Byte[])" />).</exception>
// Token: 0x170004E1 RID: 1249
// (get) Token: 0x06002363 RID: 9059 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002364 RID: 9060 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x170004E1")]
public override byte[] Key
{
[Token(Token = "0x6002363")]
[Address(RVA = "0x2E03F20", Offset = "0x2E02D20", VA = "0x182E03F20", Slot = "12")]
get
{
return null;
}
[Token(Token = "0x6002364")]
[Address(RVA = "0x2E03FF0", Offset = "0x2E02DF0", VA = "0x182E03FF0", Slot = "13")]
set
{
}
}
/// <summary>Creates an instance of a cryptographic object to perform the <see cref="T:System.Security.Cryptography.TripleDES" /> algorithm.</summary>
/// <returns>An instance of a cryptographic object.</returns>
// Token: 0x06002365 RID: 9061 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002365")]
[Address(RVA = "0x2E03750", Offset = "0x2E02550", VA = "0x182E03750")]
public new static TripleDES Create()
{
return null;
}
/// <summary>Creates an instance of a cryptographic object to perform the specified implementation of the <see cref="T:System.Security.Cryptography.TripleDES" /> algorithm.</summary>
/// <param name="str">The name of the specific implementation of <see cref="T:System.Security.Cryptography.TripleDES" /> to use.</param>
/// <returns>An instance of a cryptographic object.</returns>
// Token: 0x06002366 RID: 9062 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002366")]
[Address(RVA = "0x2E036C0", Offset = "0x2E024C0", VA = "0x182E036C0")]
public new static TripleDES Create(string str)
{
return null;
}
/// <summary>Determines whether the specified key is weak.</summary>
/// <param name="rgbKey">The secret key to test for weakness.</param>
/// <returns>
/// <see langword="true" /> if the key is weak; otherwise, <see langword="false" />.</returns>
/// <exception cref="T:System.Security.Cryptography.CryptographicException">The size of the <paramref name="rgbKey" /> parameter is not valid.</exception>
// Token: 0x06002367 RID: 9063 RVA: 0x000151E0 File Offset: 0x000133E0
[Token(Token = "0x6002367")]
[Address(RVA = "0x2E03AA0", Offset = "0x2E028A0", VA = "0x182E03AA0")]
public static bool IsWeakKey(byte[] rgbKey)
{
return default(bool);
}
// Token: 0x06002368 RID: 9064 RVA: 0x000151F8 File Offset: 0x000133F8
[Token(Token = "0x6002368")]
[Address(RVA = "0x2E03880", Offset = "0x2E02680", VA = "0x182E03880")]
private static bool EqualBytes(byte[] rgbKey, int start1, int start2, int count)
{
return default(bool);
}
// Token: 0x06002369 RID: 9065 RVA: 0x00015210 File Offset: 0x00013410
[Token(Token = "0x6002369")]
[Address(RVA = "0x2E03A80", Offset = "0x2E02880", VA = "0x182E03A80")]
private static bool IsLegalKeySize(byte[] rgbKey)
{
return default(bool);
}
// Token: 0x040013E6 RID: 5094
[Token(Token = "0x40013E6")]
private static KeySizes[] s_legalBlockSizes;
// Token: 0x040013E7 RID: 5095
[Token(Token = "0x40013E7")]
private static KeySizes[] s_legalKeySizes;
}
}