using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms { // Token: 0x02001FFE RID: 8190 [Token(Token = "0x2001FFE")] public class AuthenticatedDataParser { // Token: 0x0600CD2B RID: 52523 RVA: 0x002EA88C File Offset: 0x002E8A8C [Token(Token = "0x600CD2B")] [Address(RVA = "0x2FDD330", Offset = "0x2FDC330", VA = "0x182FDD330")] public AuthenticatedDataParser(Asn1SequenceParser seq) { this.seq = seq; } // Token: 0x17002049 RID: 8265 // (get) Token: 0x0600CD2C RID: 52524 RVA: 0x002EA8BC File Offset: 0x002E8ABC [Token(Token = "0x17002049")] public DerInteger Version { [Token(Token = "0x600CD2C")] [Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")] get { return this.version; } } // Token: 0x0600CD2D RID: 52525 RVA: 0x002EA8D0 File Offset: 0x002E8AD0 [Token(Token = "0x600CD2D")] [Address(RVA = "0x2FDCF70", Offset = "0x2FDBF70", VA = "0x182FDCF70")] public OriginatorInfo GetOriginatorInfo() { for (;;) { IAsn1Convertible asn1Convertible = this.nextObject; this.originatorInfoCalled = true; if (asn1Convertible == 0) { Asn1SequenceParser asn1SequenceParser = this.seq; this.nextObject = asn1Convertible; } if (asn1Convertible == 0) { return; } IAsn1Convertible asn1Convertible2 = this.nextObject; if (asn1Convertible != 0 && asn1Convertible != 0) { if (asn1Convertible != 0) { return; } IAsn1Convertible asn1Convertible3 = this.nextObject; if (asn1Convertible != 0 && asn1Convertible != 0) { this.nextObject = (ulong)0L; if (asn1Convertible != 0 && asn1Convertible != 0) { break; } } } } OriginatorInfo originatorInfo; return originatorInfo; } // Token: 0x0600CD2E RID: 52526 RVA: 0x002EA93C File Offset: 0x002E8B3C [Token(Token = "0x600CD2E")] [Address(RVA = "0x2FDD170", Offset = "0x2FDC170", VA = "0x182FDD170")] public Asn1SetParser GetRecipientInfos() { /* An exception occurred when decompiling this method (0600CD2E) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1SetParser BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.AuthenticatedDataParser::GetRecipientInfos() ---> System.Exception: Basic block has to end with unconditional control flow. { Block_2: brtrue(IL_00, ceq:bool(ldloc:int32(var_3_23), ldc.i4:int32(0))) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x0600CD2F RID: 52527 RVA: 0x002EA97C File Offset: 0x002E8B7C [Token(Token = "0x600CD2F")] [Address(RVA = "0x2FDCE10", Offset = "0x2FDBE10", VA = "0x182FDCE10")] public AlgorithmIdentifier GetMacAlgorithm() { if (this.nextObject == 0) { Asn1SequenceParser asn1SequenceParser = this.seq; } this.nextObject = (ulong)0L; return AlgorithmIdentifier.GetInstance(0); } // Token: 0x0600CD30 RID: 52528 RVA: 0x002EA9A8 File Offset: 0x002E8BA8 [Token(Token = "0x600CD30")] [Address(RVA = "0x2FDCC50", Offset = "0x2FDBC50", VA = "0x182FDCC50")] public AlgorithmIdentifier GetDigestAlgorithm() { IAsn1Convertible asn1Convertible; do { asn1Convertible = this.nextObject; if (asn1Convertible == 0) { Asn1SequenceParser asn1SequenceParser = this.seq; this.nextObject = asn1Convertible; } if (asn1Convertible == 0) { } IAsn1Convertible asn1Convertible2 = this.nextObject; if (asn1Convertible == 0) { } } while (asn1Convertible == 0); this.nextObject = (ulong)0L; AlgorithmIdentifier algorithmIdentifier; return algorithmIdentifier; } // Token: 0x0600CD31 RID: 52529 RVA: 0x002EA9F8 File Offset: 0x002E8BF8 [Token(Token = "0x600CD31")] [Address(RVA = "0x2FDCD40", Offset = "0x2FDBD40", VA = "0x182FDCD40")] public ContentInfoParser GetEnapsulatedContentInfo() { ContentInfoParser contentInfoParser; do { if (this.nextObject == 0) { Asn1SequenceParser asn1SequenceParser = this.seq; } this.nextObject = (ulong)0L; } while (contentInfoParser == 0); return contentInfoParser; } // Token: 0x0600CD32 RID: 52530 RVA: 0x002EAA24 File Offset: 0x002E8C24 [Token(Token = "0x600CD32")] [Address(RVA = "0x2FDCB10", Offset = "0x2FDBB10", VA = "0x182FDCB10")] public Asn1SetParser GetAuthAttrs() { IAsn1Convertible asn1Convertible; do { asn1Convertible = this.nextObject; if (asn1Convertible == 0) { Asn1SequenceParser asn1SequenceParser = this.seq; this.nextObject = asn1Convertible; } if (asn1Convertible == 0) { } IAsn1Convertible asn1Convertible2 = this.nextObject; int num = 0; this.nextObject = num; } while (asn1Convertible == 0 || asn1Convertible == 0 || (asn1Convertible != 0 && asn1Convertible == 0)); throw new NullReferenceException(); } // Token: 0x0600CD33 RID: 52531 RVA: 0x002EAA74 File Offset: 0x002E8C74 [Token(Token = "0x600CD33")] [Address(RVA = "0x2FDCEF0", Offset = "0x2FDBEF0", VA = "0x182FDCEF0")] public Asn1OctetString GetMac() { if (this.nextObject == 0) { Asn1SequenceParser asn1SequenceParser = this.seq; } this.nextObject = (ulong)0L; Asn1OctetString asn1OctetString; return asn1OctetString; } // Token: 0x0600CD34 RID: 52532 RVA: 0x002EAAA4 File Offset: 0x002E8CA4 [Token(Token = "0x600CD34")] [Address(RVA = "0x2FDD210", Offset = "0x2FDC210", VA = "0x182FDD210")] public Asn1SetParser GetUnauthAttrs() { /* An exception occurred when decompiling this method (0600CD34) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1SetParser BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.AuthenticatedDataParser::GetUnauthAttrs() ---> System.Exception: Basic block has to end with unconditional control flow. { IL_10: stloc:int32(var_1_11, ldc.i4:int32(0)) stfld:IAsn1Convertible(AuthenticatedDataParser::nextObject, ldloc:AuthenticatedDataParser(this), ldloc:int32[exp:IAsn1Convertible](var_1_11)) } at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88 --- End of inner exception stack trace --- at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663 */; } // Token: 0x0400821F RID: 33311 [FieldOffset(Offset = "0x10")] [Token(Token = "0x400821F")] private Asn1SequenceParser seq; // Token: 0x04008220 RID: 33312 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4008220")] private DerInteger version; // Token: 0x04008221 RID: 33313 [FieldOffset(Offset = "0x20")] [Token(Token = "0x4008221")] private IAsn1Convertible nextObject; // Token: 0x04008222 RID: 33314 [FieldOffset(Offset = "0x28")] [Token(Token = "0x4008222")] private bool originatorInfoCalled; } }