Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

36 lines
1.3 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace System.Security.Cryptography
{
/// <summary>Specifies the type of padding to apply when the message data block is shorter than the full number of bytes needed for a cryptographic operation.</summary>
// Token: 0x020003F3 RID: 1011
[Token(Token = "0x20003F3")]
[ComVisible(true)]
[Serializable]
public enum PaddingMode
{
/// <summary>No padding is done.</summary>
// Token: 0x040013C3 RID: 5059
[Token(Token = "0x40013C3")]
None = 1,
/// <summary>The PKCS #7 padding string consists of a sequence of bytes, each of which is equal to the total number of padding bytes added.</summary>
// Token: 0x040013C4 RID: 5060
[Token(Token = "0x40013C4")]
PKCS7,
/// <summary>The padding string consists of bytes set to zero.</summary>
// Token: 0x040013C5 RID: 5061
[Token(Token = "0x40013C5")]
Zeros,
/// <summary>The ANSIX923 padding string consists of a sequence of bytes filled with zeros before the length.</summary>
// Token: 0x040013C6 RID: 5062
[Token(Token = "0x40013C6")]
ANSIX923,
/// <summary>The ISO10126 padding string consists of random data before the length.</summary>
// Token: 0x040013C7 RID: 5063
[Token(Token = "0x40013C7")]
ISO10126
}
}