Files
27Aug2021-Cpp2IL-Dump/mscorlib/System/Security/Cryptography/TripleDES.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

105 lines
4.4 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: 0x02000436 RID: 1078
[Token(Token = "0x2000436")]
[ComVisible(true)]
public abstract class TripleDES : SymmetricAlgorithm
{
/// <summary>Initializes a new instance of the <see cref="T:System.Security.Cryptography.TripleDES" /> class.</summary>
// Token: 0x0600256E RID: 9582 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600256E")]
[Address(RVA = "0xD1BA10", Offset = "0xD1AA10", VA = "0x180D1BA10")]
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: 0x17000558 RID: 1368
// (get) Token: 0x0600256F RID: 9583 RVA: 0x00002082 File Offset: 0x00000282
// (set) Token: 0x06002570 RID: 9584 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x17000558")]
public override byte[] Key
{
[Token(Token = "0x600256F")]
[Address(RVA = "0xD1BAC0", Offset = "0xD1AAC0", VA = "0x180D1BAC0", Slot = "12")]
get
{
return null;
}
[Token(Token = "0x6002570")]
[Address(RVA = "0xD1BB90", Offset = "0xD1AB90", VA = "0x180D1BB90", 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: 0x06002571 RID: 9585 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002571")]
[Address(RVA = "0xD1B2F0", Offset = "0xD1A2F0", VA = "0x180D1B2F0")]
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: 0x06002572 RID: 9586 RVA: 0x00002082 File Offset: 0x00000282
[Token(Token = "0x6002572")]
[Address(RVA = "0xD1B260", Offset = "0xD1A260", VA = "0x180D1B260")]
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: 0x06002573 RID: 9587 RVA: 0x000175B0 File Offset: 0x000157B0
[Token(Token = "0x6002573")]
[Address(RVA = "0xD1B640", Offset = "0xD1A640", VA = "0x180D1B640")]
public static bool IsWeakKey(byte[] rgbKey)
{
return default(bool);
}
// Token: 0x06002574 RID: 9588 RVA: 0x000175C8 File Offset: 0x000157C8
[Token(Token = "0x6002574")]
[Address(RVA = "0xD1B420", Offset = "0xD1A420", VA = "0x180D1B420")]
private static bool EqualBytes(byte[] rgbKey, int start1, int start2, int count)
{
return default(bool);
}
// Token: 0x06002575 RID: 9589 RVA: 0x000175E0 File Offset: 0x000157E0
[Token(Token = "0x6002575")]
[Address(RVA = "0xD1B620", Offset = "0xD1A620", VA = "0x180D1B620")]
private static bool IsLegalKeySize(byte[] rgbKey)
{
return default(bool);
}
// Token: 0x040014A9 RID: 5289
[Token(Token = "0x40014A9")]
private static KeySizes[] s_legalBlockSizes;
// Token: 0x040014AA RID: 5290
[Token(Token = "0x40014AA")]
private static KeySizes[] s_legalKeySizes;
}
}