36 lines
1.3 KiB
C#
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: 0x020003D7 RID: 983
|
|
[Token(Token = "0x20003D7")]
|
|
[ComVisible(true)]
|
|
[Serializable]
|
|
public enum PaddingMode
|
|
{
|
|
/// <summary>No padding is done.</summary>
|
|
// Token: 0x04001300 RID: 4864
|
|
[Token(Token = "0x4001300")]
|
|
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: 0x04001301 RID: 4865
|
|
[Token(Token = "0x4001301")]
|
|
PKCS7,
|
|
/// <summary>The padding string consists of bytes set to zero.</summary>
|
|
// Token: 0x04001302 RID: 4866
|
|
[Token(Token = "0x4001302")]
|
|
Zeros,
|
|
/// <summary>The ANSIX923 padding string consists of a sequence of bytes filled with zeros before the length.</summary>
|
|
// Token: 0x04001303 RID: 4867
|
|
[Token(Token = "0x4001303")]
|
|
ANSIX923,
|
|
/// <summary>The ISO10126 padding string consists of random data before the length.</summary>
|
|
// Token: 0x04001304 RID: 4868
|
|
[Token(Token = "0x4001304")]
|
|
ISO10126
|
|
}
|
|
}
|