Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Cms/CmsContentInfoParser.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

56 lines
1.4 KiB
C#

using System;
using System.IO;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
{
// Token: 0x02001E12 RID: 7698
[Token(Token = "0x2001E12")]
public class CmsContentInfoParser
{
// Token: 0x0600C0F6 RID: 49398 RVA: 0x002B9090 File Offset: 0x002B7290
[Token(Token = "0x600C0F6")]
[Address(RVA = "0x2143AE0", Offset = "0x2142AE0", VA = "0x182143AE0")]
protected CmsContentInfoParser(Stream data)
{
do
{
base..ctor();
}
while (data == 0);
this.data = data;
if (new Asn1StreamParser(data).ToString() == 0)
{
}
ContentInfoParser contentInfoParser;
if (contentInfoParser != 0)
{
this.contentInfo = contentInfoParser;
return;
}
throw new NullReferenceException();
}
// Token: 0x0600C0F7 RID: 49399 RVA: 0x002B90DC File Offset: 0x002B72DC
[Token(Token = "0x600C0F7")]
[Address(RVA = "0x2143A80", Offset = "0x2142A80", VA = "0x182143A80")]
public void Close()
{
Platform.Dispose(this.data);
}
// Token: 0x04007A2D RID: 31277
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007A2D")]
protected ContentInfoParser contentInfo;
// Token: 0x04007A2E RID: 31278
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007A2E")]
protected Stream data;
}
}