104 lines
5.7 KiB
C#
104 lines
5.7 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
|
|
{
|
|
// Token: 0x02001ECE RID: 7886
|
|
[Token(Token = "0x2001ECE")]
|
|
public class AttCertIssuer : Asn1Encodable, IAsn1Choice
|
|
{
|
|
// Token: 0x0600C596 RID: 50582 RVA: 0x002CA050 File Offset: 0x002C8250
|
|
[Token(Token = "0x600C596")]
|
|
[Address(RVA = "0x2D820E0", Offset = "0x2D810E0", VA = "0x182D820E0")]
|
|
public static AttCertIssuer GetInstance(object obj)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C596)
|
|
|
|
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: 0x0600C597 RID: 50583 RVA: 0x002CA0D4 File Offset: 0x002C82D4
|
|
[Token(Token = "0x600C597")]
|
|
[Address(RVA = "0x2D820B0", Offset = "0x2D810B0", VA = "0x182D820B0")]
|
|
public static AttCertIssuer GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
|
{
|
|
return AttCertIssuer.GetInstance(obj.GetObject());
|
|
}
|
|
|
|
// Token: 0x0600C598 RID: 50584 RVA: 0x002CA0F4 File Offset: 0x002C82F4
|
|
[Token(Token = "0x600C598")]
|
|
[Address(RVA = "0x2D823D0", Offset = "0x2D813D0", VA = "0x182D823D0")]
|
|
public AttCertIssuer(GeneralNames names)
|
|
{
|
|
this.obj = names;
|
|
Asn1Object asn1Object = names.ToAsn1Object();
|
|
this.choiceObj = asn1Object;
|
|
}
|
|
|
|
// Token: 0x0600C599 RID: 50585 RVA: 0x002CA124 File Offset: 0x002C8324
|
|
[Token(Token = "0x600C599")]
|
|
[Address(RVA = "0x2D82420", Offset = "0x2D81420", VA = "0x182D82420")]
|
|
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: 0x17001E7F RID: 7807
|
|
// (get) Token: 0x0600C59A RID: 50586 RVA: 0x002CA154 File Offset: 0x002C8354
|
|
[Token(Token = "0x17001E7F")]
|
|
public Asn1Encodable Issuer
|
|
{
|
|
[Token(Token = "0x600C59A")]
|
|
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
|
get
|
|
{
|
|
return this.obj;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C59B RID: 50587 RVA: 0x002CA168 File Offset: 0x002C8368
|
|
[Token(Token = "0x600C59B")]
|
|
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
return this.choiceObj;
|
|
}
|
|
|
|
// Token: 0x04007C10 RID: 31760
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4007C10")]
|
|
internal readonly Asn1Encodable obj;
|
|
|
|
// Token: 0x04007C11 RID: 31761
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4007C11")]
|
|
internal readonly Asn1Object choiceObj;
|
|
}
|
|
}
|