53 lines
1.8 KiB
C#
53 lines
1.8 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1
|
|
{
|
|
// Token: 0x020017B3 RID: 6067
|
|
[Token(Token = "0x20017B3")]
|
|
[StructLayout(3)]
|
|
public class BerApplicationSpecificParser : IAsn1ApplicationSpecificParser, IAsn1Convertible
|
|
{
|
|
// Token: 0x0600A3A8 RID: 41896 RVA: 0x00261798 File Offset: 0x0025F998
|
|
[Token(Token = "0x600A3A8")]
|
|
[Address(RVA = "0x3C1040", Offset = "0x3BFA40", VA = "0x1803C1040")]
|
|
internal BerApplicationSpecificParser(int tag, Asn1StreamParser parser)
|
|
{
|
|
this.tag = tag;
|
|
this.parser = parser;
|
|
}
|
|
|
|
// Token: 0x0600A3A9 RID: 41897 RVA: 0x002617BC File Offset: 0x0025F9BC
|
|
[Token(Token = "0x600A3A9")]
|
|
[Address(RVA = "0x1CDD4D0", Offset = "0x1CDBED0", VA = "0x181CDD4D0", Slot = "4")]
|
|
public IAsn1Convertible ReadObject()
|
|
{
|
|
Asn1StreamParser asn1StreamParser = this.parser;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600A3AA RID: 41898 RVA: 0x002617D8 File Offset: 0x0025F9D8
|
|
[Token(Token = "0x600A3AA")]
|
|
[Address(RVA = "0x267BFC0", Offset = "0x267A9C0", VA = "0x18267BFC0", Slot = "5")]
|
|
public Asn1Object ToAsn1Object()
|
|
{
|
|
Asn1StreamParser asn1StreamParser = this.parser;
|
|
int num = this.tag;
|
|
Asn1EncodableVector asn1EncodableVector = asn1StreamParser.ReadVector();
|
|
BerApplicationSpecific berApplicationSpecific = new BerApplicationSpecific(num, asn1EncodableVector);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x04006B4E RID: 27470
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4006B4E")]
|
|
private readonly int tag;
|
|
|
|
// Token: 0x04006B4F RID: 27471
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4006B4F")]
|
|
private readonly Asn1StreamParser parser;
|
|
}
|
|
}
|