scripts
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
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: 0x02001755 RID: 5973
|
||||
[Token(Token = "0x2001755")]
|
||||
[StructLayout(3)]
|
||||
public class CmsContentInfoParser
|
||||
{
|
||||
// Token: 0x0600A14E RID: 41294 RVA: 0x002583AC File Offset: 0x002565AC
|
||||
[Token(Token = "0x600A14E")]
|
||||
[Address(RVA = "0x1C74CB0", Offset = "0x1C736B0", VA = "0x181C74CB0")]
|
||||
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: 0x0600A14F RID: 41295 RVA: 0x002583F8 File Offset: 0x002565F8
|
||||
[Token(Token = "0x600A14F")]
|
||||
[Address(RVA = "0x1C74C50", Offset = "0x1C73650", VA = "0x181C74C50")]
|
||||
public void Close()
|
||||
{
|
||||
Platform.Dispose(this.data);
|
||||
}
|
||||
|
||||
// Token: 0x04006A31 RID: 27185
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006A31")]
|
||||
protected ContentInfoParser contentInfo;
|
||||
|
||||
// Token: 0x04006A32 RID: 27186
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006A32")]
|
||||
protected Stream data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user