Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

145 lines
8.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
{
// Token: 0x02001EF0 RID: 7920
[Token(Token = "0x2001EF0")]
public class PolicyInformation : Asn1Encodable
{
// Token: 0x0600C6AA RID: 50858 RVA: 0x002CEB30 File Offset: 0x002CCD30
[Token(Token = "0x600C6AA")]
[Address(RVA = "0x2E83550", Offset = "0x2E82550", VA = "0x182E83550")]
private PolicyInformation(Asn1Sequence seq)
{
Asn1SequenceParser parser = seq.Parser;
DerObjectIdentifier derObjectIdentifier;
this.policyIdentifier = derObjectIdentifier;
Asn1Encodable asn1Encodable;
if (asn1Encodable > (ulong)1L)
{
Asn1SequenceParser parser2 = seq.Parser;
Asn1Sequence asn1Sequence;
this.policyQualifiers = asn1Sequence;
}
}
// Token: 0x0600C6AB RID: 50859 RVA: 0x002CEB70 File Offset: 0x002CCD70
[Token(Token = "0x600C6AB")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public PolicyInformation(DerObjectIdentifier policyIdentifier)
{
this.policyIdentifier = policyIdentifier;
}
// Token: 0x0600C6AC RID: 50860 RVA: 0x002CEB8C File Offset: 0x002CCD8C
[Token(Token = "0x600C6AC")]
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
public PolicyInformation(DerObjectIdentifier policyIdentifier, Asn1Sequence policyQualifiers)
{
this.policyIdentifier = policyIdentifier;
this.policyQualifiers = policyQualifiers;
}
// Token: 0x0600C6AD RID: 50861 RVA: 0x002CEBB0 File Offset: 0x002CCDB0
[Token(Token = "0x600C6AD")]
[Address(RVA = "0x2E83180", Offset = "0x2E82180", VA = "0x182E83180")]
public static PolicyInformation GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600C6AD)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.PolicyInformation BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.PolicyInformation::GetInstance(System.Object)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_3:
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: 0x17001EC2 RID: 7874
// (get) Token: 0x0600C6AE RID: 50862 RVA: 0x002CEC04 File Offset: 0x002CCE04
[Token(Token = "0x17001EC2")]
public DerObjectIdentifier PolicyIdentifier
{
[Token(Token = "0x600C6AE")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return this.policyIdentifier;
}
}
// Token: 0x17001EC3 RID: 7875
// (get) Token: 0x0600C6AF RID: 50863 RVA: 0x002CEC18 File Offset: 0x002CCE18
[Token(Token = "0x17001EC3")]
public Asn1Sequence PolicyQualifiers
{
[Token(Token = "0x600C6AF")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
get
{
return this.policyQualifiers;
}
}
// Token: 0x0600C6B0 RID: 50864 RVA: 0x002CEC2C File Offset: 0x002CCE2C
[Token(Token = "0x600C6B0")]
[Address(RVA = "0x2E833E0", Offset = "0x2E823E0", VA = "0x182E833E0", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[1];
DerObjectIdentifier derObjectIdentifier = this.policyIdentifier;
if (derObjectIdentifier != 0)
{
}
array[0] = derObjectIdentifier;
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
if (this.policyQualifiers != (ulong)0L)
{
Asn1Encodable[] array2 = new Asn1Encodable[1];
Asn1Sequence asn1Sequence = this.policyQualifiers;
if (asn1Sequence != 0)
{
}
array2[0] = asn1Sequence;
asn1EncodableVector.Add(array2);
}
DerSequence derSequence = new DerSequence(asn1EncodableVector);
throw new NullReferenceException();
}
// Token: 0x04007C94 RID: 31892
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007C94")]
private readonly DerObjectIdentifier policyIdentifier;
// Token: 0x04007C95 RID: 31893
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007C95")]
private readonly Asn1Sequence policyQualifiers;
}
}