Files
2026-04-08 23:40:05 +02:00

82 lines
4.4 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
{
// Token: 0x020018A8 RID: 6312
[Token(Token = "0x20018A8")]
[StructLayout(3)]
public class AuthenticatedSafe : Asn1Encodable
{
// Token: 0x0600A992 RID: 43410 RVA: 0x00278CB0 File Offset: 0x00276EB0
[Token(Token = "0x600A992")]
[Address(RVA = "0x27C9500", Offset = "0x27C7F00", VA = "0x1827C9500")]
public AuthenticatedSafe(Asn1Sequence seq)
{
Asn1Encodable asn1Encodable;
ContentInfo[] array = new ContentInfo[asn1Encodable];
int num = 0;
this.info = array;
if (num != array.Length)
{
Asn1SequenceParser parser = seq.Parser;
ContentInfo contentInfo;
if (contentInfo != 0)
{
}
num++;
array[0] = contentInfo;
ContentInfo[] array2 = this.info;
}
}
// Token: 0x0600A993 RID: 43411 RVA: 0x00278D04 File Offset: 0x00276F04
[Token(Token = "0x600A993")]
[Address(RVA = "0x27C9630", Offset = "0x27C8030", VA = "0x1827C9630")]
public AuthenticatedSafe(ContentInfo[] info)
{
}
// Token: 0x0600A994 RID: 43412 RVA: 0x00278D20 File Offset: 0x00276F20
[Token(Token = "0x600A994")]
[Address(RVA = "0x27C9420", Offset = "0x27C7E20", VA = "0x1827C9420")]
public ContentInfo[] GetContentInfo()
{
ContentInfo[] array = this.info;
throw new NullReferenceException();
}
// Token: 0x0600A995 RID: 43413 RVA: 0x00278D3C File Offset: 0x00276F3C
[Token(Token = "0x600A995")]
[Address(RVA = "0x27C94A0", Offset = "0x27C7EA0", VA = "0x1827C94A0", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
/*
An exception occurred when decompiling this method (0600A995)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.AuthenticatedSafe::ToAsn1Object()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:BerSequence(var_0_0B, newobj:BerSequence(BerSequence::.ctor, ldfld:class BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.ContentInfo[][exp:class BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable[]](AuthenticatedSafe::info, ldloc:AuthenticatedSafe(this))))
}
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: 0x04006EB7 RID: 28343
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4006EB7")]
private readonly ContentInfo[] info;
}
}