Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

145 lines
8.5 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509
{
// Token: 0x02001E10 RID: 7696
[Token(Token = "0x2001E10")]
public class PolicyInformation : Asn1Encodable
{
// Token: 0x0600C2DC RID: 49884 RVA: 0x002C62CC File Offset: 0x002C44CC
[Token(Token = "0x600C2DC")]
[Address(RVA = "0x2B3BF10", Offset = "0x2B3AD10", VA = "0x182B3BF10")]
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: 0x0600C2DD RID: 49885 RVA: 0x002C630C File Offset: 0x002C450C
[Token(Token = "0x600C2DD")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public PolicyInformation(DerObjectIdentifier policyIdentifier)
{
this.policyIdentifier = policyIdentifier;
}
// Token: 0x0600C2DE RID: 49886 RVA: 0x002C6328 File Offset: 0x002C4528
[Token(Token = "0x600C2DE")]
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
public PolicyInformation(DerObjectIdentifier policyIdentifier, Asn1Sequence policyQualifiers)
{
this.policyIdentifier = policyIdentifier;
this.policyQualifiers = policyQualifiers;
}
// Token: 0x0600C2DF RID: 49887 RVA: 0x002C634C File Offset: 0x002C454C
[Token(Token = "0x600C2DF")]
[Address(RVA = "0x2B3BB40", Offset = "0x2B3A940", VA = "0x182B3BB40")]
public static PolicyInformation GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600C2DF)
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 1660
*/;
}
// Token: 0x17001E25 RID: 7717
// (get) Token: 0x0600C2E0 RID: 49888 RVA: 0x002C63A0 File Offset: 0x002C45A0
[Token(Token = "0x17001E25")]
public DerObjectIdentifier PolicyIdentifier
{
[Token(Token = "0x600C2E0")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
get
{
return this.policyIdentifier;
}
}
// Token: 0x17001E26 RID: 7718
// (get) Token: 0x0600C2E1 RID: 49889 RVA: 0x002C63B4 File Offset: 0x002C45B4
[Token(Token = "0x17001E26")]
public Asn1Sequence PolicyQualifiers
{
[Token(Token = "0x600C2E1")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
get
{
return this.policyQualifiers;
}
}
// Token: 0x0600C2E2 RID: 49890 RVA: 0x002C63C8 File Offset: 0x002C45C8
[Token(Token = "0x600C2E2")]
[Address(RVA = "0x2B3BDA0", Offset = "0x2B3ABA0", VA = "0x182B3BDA0", 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: 0x04007ADB RID: 31451
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007ADB")]
private readonly DerObjectIdentifier policyIdentifier;
// Token: 0x04007ADC RID: 31452
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4007ADC")]
private readonly Asn1Sequence policyQualifiers;
}
}