133 lines
6.1 KiB
C#
133 lines
6.1 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.Qualified
|
|
{
|
|
// Token: 0x02001F1C RID: 7964
|
|
[Token(Token = "0x2001F1C")]
|
|
public class QCStatement : Asn1Encodable
|
|
{
|
|
// Token: 0x0600C803 RID: 51203 RVA: 0x002D4B8C File Offset: 0x002D2D8C
|
|
[Token(Token = "0x600C803")]
|
|
[Address(RVA = "0x2E848D0", Offset = "0x2E838D0", VA = "0x182E848D0")]
|
|
public static QCStatement GetInstance(object obj)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C803)
|
|
|
|
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: 0x0600C804 RID: 51204 RVA: 0x002D4C08 File Offset: 0x002D2E08
|
|
[Token(Token = "0x600C804")]
|
|
[Address(RVA = "0x2E84CA0", Offset = "0x2E83CA0", VA = "0x182E84CA0")]
|
|
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: 0x0600C805 RID: 51205 RVA: 0x002D4C44 File Offset: 0x002D2E44
|
|
[Token(Token = "0x600C805")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public QCStatement(DerObjectIdentifier qcStatementId)
|
|
{
|
|
this.qcStatementId = qcStatementId;
|
|
}
|
|
|
|
// Token: 0x0600C806 RID: 51206 RVA: 0x002D4C60 File Offset: 0x002D2E60
|
|
[Token(Token = "0x600C806")]
|
|
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
|
public QCStatement(DerObjectIdentifier qcStatementId, Asn1Encodable qcStatementInfo)
|
|
{
|
|
this.qcStatementId = qcStatementId;
|
|
this.qcStatementInfo = qcStatementInfo;
|
|
}
|
|
|
|
// Token: 0x17001F0E RID: 7950
|
|
// (get) Token: 0x0600C807 RID: 51207 RVA: 0x002D4C84 File Offset: 0x002D2E84
|
|
[Token(Token = "0x17001F0E")]
|
|
public DerObjectIdentifier StatementId
|
|
{
|
|
[Token(Token = "0x600C807")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return this.qcStatementId;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001F0F RID: 7951
|
|
// (get) Token: 0x0600C808 RID: 51208 RVA: 0x002D4C98 File Offset: 0x002D2E98
|
|
[Token(Token = "0x17001F0F")]
|
|
public Asn1Encodable StatementInfo
|
|
{
|
|
[Token(Token = "0x600C808")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
|
get
|
|
{
|
|
return this.qcStatementInfo;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C809 RID: 51209 RVA: 0x002D4CAC File Offset: 0x002D2EAC
|
|
[Token(Token = "0x600C809")]
|
|
[Address(RVA = "0x2E84B30", Offset = "0x2E83B30", VA = "0x182E84B30", 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: 0x04007D8B RID: 32139
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4007D8B")]
|
|
private readonly DerObjectIdentifier qcStatementId;
|
|
|
|
// Token: 0x04007D8C RID: 32140
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4007D8C")]
|
|
private readonly Asn1Encodable qcStatementInfo;
|
|
}
|
|
}
|