Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Crypto/Paddings/Pkcs7Padding.cs
T
2026-04-08 23:40:05 +02:00

66 lines
1.9 KiB
C#

using System;
using System.Runtime.InteropServices;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Security;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Paddings
{
// Token: 0x02001649 RID: 5705
[Token(Token = "0x2001649")]
[StructLayout(3)]
public class Pkcs7Padding : IBlockCipherPadding
{
// Token: 0x0600980F RID: 38927 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600980F")]
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "4")]
public void Init(SecureRandom random)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x1700186A RID: 6250
// (get) Token: 0x06009810 RID: 38928 RVA: 0x0021AF70 File Offset: 0x00219170
[Token(Token = "0x1700186A")]
public string PaddingName
{
[Token(Token = "0x6009810")]
[Address(RVA = "0x1DDE0B0", Offset = "0x1DDCAB0", VA = "0x181DDE0B0", Slot = "5")]
get
{
return "PKCS7";
}
}
// Token: 0x06009811 RID: 38929 RVA: 0x0021AF84 File Offset: 0x00219184
[Token(Token = "0x6009811")]
[Address(RVA = "0x1DDDF50", Offset = "0x1DDC950", VA = "0x181DDDF50", Slot = "6")]
public int AddPadding(byte[] input, int inOff)
{
int num = input.Length;
num -= inOff;
if (inOff < input.Length)
{
}
return inOff;
}
// Token: 0x06009812 RID: 38930 RVA: 0x0021AFAC File Offset: 0x002191AC
[Token(Token = "0x6009812")]
[Address(RVA = "0x1DDDFA0", Offset = "0x1DDC9A0", VA = "0x181DDDFA0", Slot = "7")]
public int PadCount(byte[] input)
{
int num = input.Length - 1;
throw new NullReferenceException();
}
// Token: 0x06009813 RID: 38931 RVA: 0x0021AFC8 File Offset: 0x002191C8
[Token(Token = "0x6009813")]
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
public Pkcs7Padding()
{
int num = 0;
this.Init(num);
}
}
}