56 lines
1.4 KiB
C#
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: 0x02001D32 RID: 7474
|
|
[Token(Token = "0x2001D32")]
|
|
public class CmsContentInfoParser
|
|
{
|
|
// Token: 0x0600BD28 RID: 48424 RVA: 0x002B0828 File Offset: 0x002AEA28
|
|
[Token(Token = "0x600BD28")]
|
|
[Address(RVA = "0x1662470", Offset = "0x1661270", VA = "0x181662470")]
|
|
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: 0x0600BD29 RID: 48425 RVA: 0x002B0874 File Offset: 0x002AEA74
|
|
[Token(Token = "0x600BD29")]
|
|
[Address(RVA = "0x1662410", Offset = "0x1661210", VA = "0x181662410")]
|
|
public void Close()
|
|
{
|
|
Platform.Dispose(this.data);
|
|
}
|
|
|
|
// Token: 0x04007874 RID: 30836
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4007874")]
|
|
protected ContentInfoParser contentInfo;
|
|
|
|
// Token: 0x04007875 RID: 30837
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4007875")]
|
|
protected Stream data;
|
|
}
|
|
}
|