80 lines
4.3 KiB
C#
80 lines
4.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
|
{
|
|
// Token: 0x02001F65 RID: 8037
|
|
[Token(Token = "0x2001F65")]
|
|
public class AuthenticatedSafe : Asn1Encodable
|
|
{
|
|
// Token: 0x0600C93A RID: 51514 RVA: 0x002D9A34 File Offset: 0x002D7C34
|
|
[Token(Token = "0x600C93A")]
|
|
[Address(RVA = "0x2F7B880", Offset = "0x2F7A880", VA = "0x182F7B880")]
|
|
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: 0x0600C93B RID: 51515 RVA: 0x002D9A88 File Offset: 0x002D7C88
|
|
[Token(Token = "0x600C93B")]
|
|
[Address(RVA = "0x2F7B9B0", Offset = "0x2F7A9B0", VA = "0x182F7B9B0")]
|
|
public AuthenticatedSafe(ContentInfo[] info)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600C93C RID: 51516 RVA: 0x002D9AA4 File Offset: 0x002D7CA4
|
|
[Token(Token = "0x600C93C")]
|
|
[Address(RVA = "0x2F7B7A0", Offset = "0x2F7A7A0", VA = "0x182F7B7A0")]
|
|
public ContentInfo[] GetContentInfo()
|
|
{
|
|
ContentInfo[] array = this.info;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600C93D RID: 51517 RVA: 0x002D9AC0 File Offset: 0x002D7CC0
|
|
[Token(Token = "0x600C93D")]
|
|
[Address(RVA = "0x2F7B820", Offset = "0x2F7A820", VA = "0x182F7B820", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C93D)
|
|
|
|
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: 0x04007EB3 RID: 32435
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4007EB3")]
|
|
private readonly ContentInfo[] info;
|
|
}
|
|
}
|