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,290 @@
using System;
using System.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf
{
// Token: 0x02001FD8 RID: 8152
[Token(Token = "0x2001FD8")]
public class SignerLocation : Asn1Encodable
{
// Token: 0x0600CC13 RID: 52243 RVA: 0x002E5FA0 File Offset: 0x002E41A0
[Token(Token = "0x600CC13")]
[Address(RVA = "0x2EBB720", Offset = "0x2EBA720", VA = "0x182EBB720")]
public SignerLocation(Asn1Sequence seq)
{
int num;
do
{
num = 0;
base..ctor();
IEnumerator enumerator = seq.GetEnumerator();
DirectoryString directoryString2;
if (enumerator != 0)
{
if (enumerator == 0)
{
goto IL_72;
}
if (typeof(Asn1TaggedObject).TypeHandle != 0)
{
if (typeof(Asn1TaggedObject).TypeHandle != 0)
{
if (typeof(Asn1TaggedObject).TypeHandle != (ulong)1L)
{
goto IL_5A;
}
Asn1Sequence asn1Sequence;
this.postalAddress = asn1Sequence;
while (asn1Sequence == 0)
{
}
}
DirectoryString directoryString;
this.localityName = directoryString;
}
this.countryName = directoryString2;
}
if (directoryString2 != 0)
{
}
}
while (num != 0);
return;
IL_5A:
ArgumentException ex = new ArgumentException("illegal tag");
ArgumentException ex2 = new ArgumentException("postal address must contain less than 6 strings");
IL_72:
throw new NullReferenceException();
}
// Token: 0x0600CC14 RID: 52244 RVA: 0x002E602C File Offset: 0x002E422C
[Token(Token = "0x600CC14")]
[Address(RVA = "0x2EBB970", Offset = "0x2EBA970", VA = "0x182EBB970")]
private SignerLocation(DirectoryString countryName, DirectoryString localityName, Asn1Sequence postalAddress)
{
if (postalAddress != 0)
{
}
this.countryName = countryName;
this.localityName = localityName;
this.postalAddress = postalAddress;
}
// Token: 0x0600CC15 RID: 52245 RVA: 0x002E6064 File Offset: 0x002E4264
[Token(Token = "0x600CC15")]
[Address(RVA = "0x2EBB610", Offset = "0x2EBA610", VA = "0x182EBB610")]
public SignerLocation(DirectoryString countryName, DirectoryString localityName, DirectoryString[] postalAddress)
{
DerSequence derSequence = new DerSequence(postalAddress);
}
// Token: 0x0600CC16 RID: 52246 RVA: 0x002E6078 File Offset: 0x002E4278
[Token(Token = "0x600CC16")]
[Address(RVA = "0x2EBB6B0", Offset = "0x2EBA6B0", VA = "0x182EBB6B0")]
public SignerLocation(DerUtf8String countryName, DerUtf8String localityName, Asn1Sequence postalAddress)
{
DirectoryString instance = DirectoryString.GetInstance(countryName);
DirectoryString instance2 = DirectoryString.GetInstance(localityName);
}
// Token: 0x0600CC17 RID: 52247 RVA: 0x002E6094 File Offset: 0x002E4294
[Token(Token = "0x600CC17")]
[Address(RVA = "0x2EBB120", Offset = "0x2EBA120", VA = "0x182EBB120")]
public static SignerLocation GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600CC17)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf.SignerLocation BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Esf.SignerLocation::GetInstance(System.Object)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_2:
brtrue(IL_00, ceq:bool(ldloc:object(obj), ldc.i4:int32[exp:object](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.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.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.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.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: 0x17001FF2 RID: 8178
// (get) Token: 0x0600CC18 RID: 52248 RVA: 0x002E60C4 File Offset: 0x002E42C4
[Token(Token = "0x17001FF2")]
public DirectoryString Country
{
[Token(Token = "0x600CC18")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return this.countryName;
}
}
// Token: 0x17001FF3 RID: 8179
// (get) Token: 0x0600CC19 RID: 52249 RVA: 0x002E60D8 File Offset: 0x002E42D8
[Token(Token = "0x17001FF3")]
public DirectoryString Locality
{
[Token(Token = "0x600CC19")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return this.localityName;
}
}
// Token: 0x0600CC1A RID: 52250 RVA: 0x002E60EC File Offset: 0x002E42EC
[Token(Token = "0x600CC1A")]
[Address(RVA = "0x2EBB220", Offset = "0x2EBA220", VA = "0x182EBB220")]
public DirectoryString[] GetPostal()
{
if (this.postalAddress != 0)
{
Asn1Encodable asn1Encodable;
DirectoryString[] array = new DirectoryString[asn1Encodable];
int num = 0;
if (num != array.Length)
{
Asn1SequenceParser parser = this.postalAddress.Parser;
DirectoryString directoryString;
if (directoryString != 0)
{
}
num++;
array[0] = directoryString;
}
return array;
}
throw new ArrayTypeMismatchException();
}
// Token: 0x17001FF4 RID: 8180
// (get) Token: 0x0600CC1B RID: 52251 RVA: 0x002E613C File Offset: 0x002E433C
[Token(Token = "0x17001FF4")]
[Obsolete]
public DerUtf8String CountryName
{
[Token(Token = "0x600CC1B")]
[Address(RVA = "0x2EBBA30", Offset = "0x2EBAA30", VA = "0x182EBBA30")]
get
{
DirectoryString directoryString = this.countryName;
if (directoryString == 0)
{
}
return new DerUtf8String(directoryString.GetString());
}
}
// Token: 0x17001FF5 RID: 8181
// (get) Token: 0x0600CC1C RID: 52252 RVA: 0x002E6164 File Offset: 0x002E4364
[Token(Token = "0x17001FF5")]
[Obsolete]
public DerUtf8String LocalityName
{
[Token(Token = "0x600CC1C")]
[Address(RVA = "0x2EBBAA0", Offset = "0x2EBAAA0", VA = "0x182EBBAA0")]
get
{
DirectoryString directoryString = this.localityName;
if (directoryString == 0)
{
}
return new DerUtf8String(directoryString.GetString());
}
}
// Token: 0x17001FF6 RID: 8182
// (get) Token: 0x0600CC1D RID: 52253 RVA: 0x002E618C File Offset: 0x002E438C
[Token(Token = "0x17001FF6")]
public Asn1Sequence PostalAddress
{
[Token(Token = "0x600CC1D")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get
{
return this.postalAddress;
}
}
// Token: 0x0600CC1E RID: 52254 RVA: 0x002E61A0 File Offset: 0x002E43A0
[Token(Token = "0x600CC1E")]
[Address(RVA = "0x2EBB340", Offset = "0x2EBA340", VA = "0x182EBB340", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1EncodableVector asn1EncodableVector;
if (this.countryName != (ulong)0L)
{
Asn1Encodable[] array = new Asn1Encodable[1];
DirectoryString directoryString = this.countryName;
int num;
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, directoryString);
num = 0;
if (derTaggedObject != 0)
{
}
array[0] = derTaggedObject;
asn1EncodableVector.Add(array);
}
if (this.localityName != (ulong)0L)
{
Asn1Encodable[] array2 = new Asn1Encodable[1];
DirectoryString directoryString2 = this.localityName;
DerTaggedObject derTaggedObject2 = new DerTaggedObject(16777216 != 0, 16777216, directoryString2);
if (derTaggedObject2 != 0)
{
}
array2[0] = derTaggedObject2;
asn1EncodableVector.Add(array2);
}
if (this.postalAddress != (ulong)0L)
{
Asn1Encodable[] array3 = new Asn1Encodable[1];
Asn1Sequence asn1Sequence = this.postalAddress;
DerTaggedObject derTaggedObject3 = new DerTaggedObject(true, 2, asn1Sequence);
if (derTaggedObject3 != 0)
{
}
array3[0] = derTaggedObject3;
asn1EncodableVector.Add(array3);
}
DerSequence derSequence = new DerSequence(asn1EncodableVector);
throw new NullReferenceException();
}
// Token: 0x04008167 RID: 33127
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4008167")]
private DirectoryString countryName;
// Token: 0x04008168 RID: 33128
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4008168")]
private DirectoryString localityName;
// Token: 0x04008169 RID: 33129
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4008169")]
private Asn1Sequence postalAddress;
}
}