135 lines
6.2 KiB
C#
135 lines
6.2 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified
|
|
{
|
|
// Token: 0x0200185F RID: 6239
|
|
[Token(Token = "0x200185F")]
|
|
[StructLayout(3)]
|
|
public class QCStatement : Asn1Encodable
|
|
{
|
|
// Token: 0x0600A85B RID: 43099 RVA: 0x00273E04 File Offset: 0x00272004
|
|
[Token(Token = "0x600A85B")]
|
|
[Address(RVA = "0x2B0FD70", Offset = "0x2B0E770", VA = "0x182B0FD70")]
|
|
public static QCStatement GetInstance(object obj)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A85B)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified.QCStatement BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified.QCStatement::GetInstance(System.Object)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_50:
|
|
stloc:string(var_10_56, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
|
stloc:ArgumentException(var_11_6E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in GetInstance: "), ldloc:string(var_10_56)), ldstr:string("obj")))
|
|
}
|
|
|
|
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: 0x0600A85C RID: 43100 RVA: 0x00273E80 File Offset: 0x00272080
|
|
[Token(Token = "0x600A85C")]
|
|
[Address(RVA = "0x2B10140", Offset = "0x2B0EB40", VA = "0x182B10140")]
|
|
private QCStatement(Asn1Sequence seq)
|
|
{
|
|
Asn1SequenceParser parser = seq.Parser;
|
|
DerObjectIdentifier derObjectIdentifier;
|
|
this.qcStatementId = derObjectIdentifier;
|
|
Asn1Encodable asn1Encodable;
|
|
if (asn1Encodable > (ulong)1L)
|
|
{
|
|
Asn1SequenceParser parser2 = seq.Parser;
|
|
this.qcStatementInfo = parser2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600A85D RID: 43101 RVA: 0x00273EBC File Offset: 0x002720BC
|
|
[Token(Token = "0x600A85D")]
|
|
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
|
public QCStatement(DerObjectIdentifier qcStatementId)
|
|
{
|
|
this.qcStatementId = qcStatementId;
|
|
}
|
|
|
|
// Token: 0x0600A85E RID: 43102 RVA: 0x00273ED8 File Offset: 0x002720D8
|
|
[Token(Token = "0x600A85E")]
|
|
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
|
public QCStatement(DerObjectIdentifier qcStatementId, Asn1Encodable qcStatementInfo)
|
|
{
|
|
this.qcStatementId = qcStatementId;
|
|
this.qcStatementInfo = qcStatementInfo;
|
|
}
|
|
|
|
// Token: 0x17001A70 RID: 6768
|
|
// (get) Token: 0x0600A85F RID: 43103 RVA: 0x00273EFC File Offset: 0x002720FC
|
|
[Token(Token = "0x17001A70")]
|
|
public DerObjectIdentifier StatementId
|
|
{
|
|
[Token(Token = "0x600A85F")]
|
|
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
|
get
|
|
{
|
|
return this.qcStatementId;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001A71 RID: 6769
|
|
// (get) Token: 0x0600A860 RID: 43104 RVA: 0x00273F10 File Offset: 0x00272110
|
|
[Token(Token = "0x17001A71")]
|
|
public Asn1Encodable StatementInfo
|
|
{
|
|
[Token(Token = "0x600A860")]
|
|
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
|
get
|
|
{
|
|
return this.qcStatementInfo;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600A861 RID: 43105 RVA: 0x00273F24 File Offset: 0x00272124
|
|
[Token(Token = "0x600A861")]
|
|
[Address(RVA = "0x2B0FFD0", Offset = "0x2B0E9D0", VA = "0x182B0FFD0", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
Asn1Encodable[] array = new Asn1Encodable[1];
|
|
DerObjectIdentifier derObjectIdentifier = this.qcStatementId;
|
|
if (derObjectIdentifier != 0)
|
|
{
|
|
}
|
|
array[0] = derObjectIdentifier;
|
|
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
|
if (this.qcStatementInfo != (ulong)0L)
|
|
{
|
|
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
|
Asn1Encodable asn1Encodable = this.qcStatementInfo;
|
|
if (asn1Encodable != 0)
|
|
{
|
|
}
|
|
array2[0] = asn1Encodable;
|
|
asn1EncodableVector.Add(array2);
|
|
}
|
|
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x04006D8F RID: 28047
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4006D8F")]
|
|
private readonly DerObjectIdentifier qcStatementId;
|
|
|
|
// Token: 0x04006D90 RID: 28048
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4006D90")]
|
|
private readonly Asn1Encodable qcStatementInfo;
|
|
}
|
|
}
|