Files
Dec2017-Script-Dump/mscorlib/System/Security/Cryptography/PaddingMode.cs
T
2026-06-04 11:42:34 +02:00

29 lines
1.1 KiB
C#

using System;
using System.Runtime.InteropServices;
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: 0x02000513 RID: 1299
[ComVisible(true)]
[Serializable]
public enum PaddingMode
{
/// <summary>No padding is done.</summary>
// Token: 0x04001372 RID: 4978
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: 0x04001373 RID: 4979
PKCS7,
/// <summary>The padding string consists of bytes set to zero.</summary>
// Token: 0x04001374 RID: 4980
Zeros,
/// <summary>The ANSIX923 padding string consists of a sequence of bytes filled with zeros before the length.</summary>
// Token: 0x04001375 RID: 4981
ANSIX923,
/// <summary>The ISO10126 padding string consists of random data before the length.</summary>
// Token: 0x04001376 RID: 4982
ISO10126
}
}