106 lines
5.8 KiB
C#
106 lines
5.8 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
|
{
|
|
// Token: 0x02001811 RID: 6161
|
|
[Token(Token = "0x2001811")]
|
|
[StructLayout(3)]
|
|
public class AttCertIssuer : Asn1Encodable, IAsn1Choice
|
|
{
|
|
// Token: 0x0600A5EE RID: 42478 RVA: 0x00269210 File Offset: 0x00267410
|
|
[Token(Token = "0x600A5EE")]
|
|
[Address(RVA = "0x2AFB570", Offset = "0x2AF9F70", VA = "0x182AFB570")]
|
|
public static AttCertIssuer GetInstance(object obj)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600A5EE)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AttCertIssuer BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AttCertIssuer::GetInstance(System.Object)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_55:
|
|
stloc:string(var_11_5C, call:string(Platform::GetTypeName, ldloc:GeneralNames[exp:object](var_9)))
|
|
stloc:ArgumentException(var_12_74, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_11_5C)), 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.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: 0x0600A5EF RID: 42479 RVA: 0x00269294 File Offset: 0x00267494
|
|
[Token(Token = "0x600A5EF")]
|
|
[Address(RVA = "0x2AFB540", Offset = "0x2AF9F40", VA = "0x182AFB540")]
|
|
public static AttCertIssuer GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
|
{
|
|
return AttCertIssuer.GetInstance(obj.GetObject());
|
|
}
|
|
|
|
// Token: 0x0600A5F0 RID: 42480 RVA: 0x002692B4 File Offset: 0x002674B4
|
|
[Token(Token = "0x600A5F0")]
|
|
[Address(RVA = "0x2AFB860", Offset = "0x2AFA260", VA = "0x182AFB860")]
|
|
public AttCertIssuer(GeneralNames names)
|
|
{
|
|
this.obj = names;
|
|
Asn1Object asn1Object = names.ToAsn1Object();
|
|
this.choiceObj = asn1Object;
|
|
}
|
|
|
|
// Token: 0x0600A5F1 RID: 42481 RVA: 0x002692E4 File Offset: 0x002674E4
|
|
[Token(Token = "0x600A5F1")]
|
|
[Address(RVA = "0x2AFB8B0", Offset = "0x2AFA2B0", VA = "0x182AFB8B0")]
|
|
public AttCertIssuer(V2Form v2Form)
|
|
{
|
|
this.obj = v2Form;
|
|
int num;
|
|
int num2;
|
|
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, v2Form);
|
|
num2 = 0;
|
|
num = 0;
|
|
this.choiceObj = derTaggedObject;
|
|
}
|
|
|
|
// Token: 0x170019E1 RID: 6625
|
|
// (get) Token: 0x0600A5F2 RID: 42482 RVA: 0x00269314 File Offset: 0x00267514
|
|
[Token(Token = "0x170019E1")]
|
|
public Asn1Encodable Issuer
|
|
{
|
|
[Token(Token = "0x600A5F2")]
|
|
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
|
get
|
|
{
|
|
return this.obj;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600A5F3 RID: 42483 RVA: 0x00269328 File Offset: 0x00267528
|
|
[Token(Token = "0x600A5F3")]
|
|
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
return this.choiceObj;
|
|
}
|
|
|
|
// Token: 0x04006C14 RID: 27668
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4006C14")]
|
|
internal readonly Asn1Encodable obj;
|
|
|
|
// Token: 0x04006C15 RID: 27669
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4006C15")]
|
|
internal readonly Asn1Object choiceObj;
|
|
}
|
|
}
|