This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,190 @@
using System;
using System.Text;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
{
// Token: 0x02001EE2 RID: 7906
[Token(Token = "0x2001EE2")]
public class DistributionPointName : Asn1Encodable, IAsn1Choice
{
// Token: 0x0600C62D RID: 50733 RVA: 0x002CC4BC File Offset: 0x002CA6BC
[Token(Token = "0x600C62D")]
[Address(RVA = "0x2D8B1B0", Offset = "0x2D8A1B0", VA = "0x182D8B1B0")]
public static DistributionPointName GetInstance(Asn1TaggedObject obj, bool explicitly)
{
return DistributionPointName.GetInstance(Asn1TaggedObject.GetInstance(obj, true));
}
// Token: 0x0600C62E RID: 50734 RVA: 0x002CC4D8 File Offset: 0x002CA6D8
[Token(Token = "0x600C62E")]
[Address(RVA = "0x2D8AF90", Offset = "0x2D89F90", VA = "0x182D8AF90")]
public static DistributionPointName GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600C62E)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.DistributionPointName BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.DistributionPointName::GetInstance(System.Object)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_44:
stloc:string(var_9_4A, call:string(Platform::GetTypeName, ldloc:object(obj)))
stloc:ArgumentException(var_10_62, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_9_4A)), 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: 0x0600C62F RID: 50735 RVA: 0x002CC548 File Offset: 0x002CA748
[Token(Token = "0x600C62F")]
[Address(RVA = "0x2D8B3F0", Offset = "0x2D8A3F0", VA = "0x182D8B3F0")]
public DistributionPointName(int type, Asn1Encodable name)
{
this.type = type;
this.name = name;
}
// Token: 0x0600C630 RID: 50736 RVA: 0x002CC56C File Offset: 0x002CA76C
[Token(Token = "0x600C630")]
[Address(RVA = "0x2D8B430", Offset = "0x2D8A430", VA = "0x182D8B430")]
public DistributionPointName(GeneralNames name)
{
this.type = (int)((ulong)0L);
this.name = name;
}
// Token: 0x17001EA4 RID: 7844
// (get) Token: 0x0600C631 RID: 50737 RVA: 0x002CC590 File Offset: 0x002CA790
[Token(Token = "0x17001EA4")]
public int PointType
{
[Token(Token = "0x600C631")]
[Address(RVA = "0x411540", Offset = "0x410540", VA = "0x180411540")]
get
{
return this.type;
}
}
// Token: 0x17001EA5 RID: 7845
// (get) Token: 0x0600C632 RID: 50738 RVA: 0x002CC5A4 File Offset: 0x002CA7A4
[Token(Token = "0x17001EA5")]
public Asn1Encodable Name
{
[Token(Token = "0x600C632")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return this.name;
}
}
// Token: 0x0600C633 RID: 50739 RVA: 0x002CC5B8 File Offset: 0x002CA7B8
[Token(Token = "0x600C633")]
[Address(RVA = "0x2D8B390", Offset = "0x2D8A390", VA = "0x182D8B390")]
public DistributionPointName(Asn1TaggedObject obj)
{
int tagNo = obj.tagNo;
this.type = tagNo;
int num = 0;
if (tagNo != 0)
{
Asn1Set instance = Asn1Set.GetInstance(obj, num != 0);
this.name = instance;
return;
}
GeneralNames instance2 = GeneralNames.GetInstance(obj, num != 0);
this.name = instance2;
}
// Token: 0x0600C634 RID: 50740 RVA: 0x002CC604 File Offset: 0x002CA804
[Token(Token = "0x600C634")]
[Address(RVA = "0x2D8B1D0", Offset = "0x2D8A1D0", VA = "0x182D8B1D0", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
/*
An exception occurred when decompiling this method (0600C634)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.DistributionPointName::ToAsn1Object()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:int32(var_0_06, ldfld:int32(DistributionPointName::type, ldloc:DistributionPointName(this)))
stloc:Asn1Encodable(var_1_0D, ldfld:Asn1Encodable(DistributionPointName::name, ldloc:DistributionPointName(this)))
stloc:DerTaggedObject(var_2_17, newobj:DerTaggedObject(DerTaggedObject::.ctor, ldloc:int32[exp:bool](var_4), ldloc:int32(var_0_06), ldloc:Asn1Encodable(var_1_0D)))
stloc:int32(var_4, ldc.i4:int32(0))
}
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: 0x0600C635 RID: 50741 RVA: 0x002CC62C File Offset: 0x002CA82C
[Token(Token = "0x600C635")]
[Address(RVA = "0x2D8B240", Offset = "0x2D8A240", VA = "0x182D8B240", Slot = "3")]
public override string ToString()
{
string newLine = Platform.NewLine;
StringBuilder stringBuilder = new StringBuilder();
StringBuilder stringBuilder2 = stringBuilder.Append("DistributionPointName: [");
StringBuilder stringBuilder3 = stringBuilder.Append(newLine);
Asn1Encodable asn1Encodable = this.name;
if (this.type != 0)
{
int hashCode = asn1Encodable.GetHashCode();
}
int hashCode2 = asn1Encodable.GetHashCode();
StringBuilder stringBuilder4 = stringBuilder.Append("]");
StringBuilder stringBuilder5 = stringBuilder.Append(newLine);
throw new NullReferenceException();
}
// Token: 0x0600C636 RID: 50742 RVA: 0x002CC698 File Offset: 0x002CA898
[Token(Token = "0x600C636")]
[Address(RVA = "0x2D8B460", Offset = "0x2D8A460", VA = "0x182D8B460")]
private void appendObject(StringBuilder buf, string sep, string name, string val)
{
StringBuilder stringBuilder = buf.Append(" ");
StringBuilder stringBuilder2 = buf.Append(name);
StringBuilder stringBuilder3 = buf.Append(":");
StringBuilder stringBuilder4 = buf.Append(sep);
StringBuilder stringBuilder5 = buf.Append(" ");
StringBuilder stringBuilder6 = buf.Append(" ");
StringBuilder stringBuilder7 = buf.Append(sep);
}
// Token: 0x04007C4A RID: 31818
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007C4A")]
internal readonly Asn1Encodable name;
// Token: 0x04007C4B RID: 31819
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007C4B")]
internal readonly int type;
// Token: 0x04007C4C RID: 31820
[Token(Token = "0x4007C4C")]
public const int FullName = 0;
// Token: 0x04007C4D RID: 31821
[Token(Token = "0x4007C4D")]
public const int NameRelativeToCrlIssuer = 1;
}
}