This commit is contained in:
niko
2026-04-08 23:40:05 +02:00
parent d6894bcbc7
commit 18dc73f922
7750 changed files with 1795369 additions and 0 deletions
@@ -0,0 +1,971 @@
using System;
using System.Collections;
using System.Runtime.InteropServices;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Date;
using BestHTTP.SecureProtocol.Org.BouncyCastle.X509.Store;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix
{
// Token: 0x020013A6 RID: 5030
[Token(Token = "0x20013A6")]
[StructLayout(3)]
public class PkixParameters
{
// Token: 0x06007FB6 RID: 32694 RVA: 0x001ADC2C File Offset: 0x001ABE2C
[Token(Token = "0x6007FB6")]
[Address(RVA = "0xCEDA60", Offset = "0xCEC460", VA = "0x180CEDA60")]
public PkixParameters(ISet trustAnchors)
{
ISet set = this.GetTrustAnchors();
HashSet hashSet = new HashSet();
this.initialPolicies = hashSet;
IList list = Platform.CreateArrayList();
this.certPathCheckers = list;
IList list2 = Platform.CreateArrayList();
this.stores = list2;
IList list3 = Platform.CreateArrayList();
this.additionalStores = list3;
HashSet hashSet2 = new HashSet();
this.trustedACIssuers = hashSet2;
HashSet hashSet3 = new HashSet();
this.necessaryACAttributes = hashSet3;
HashSet hashSet4 = new HashSet();
this.prohibitedACAttributes = hashSet4;
HashSet hashSet5 = new HashSet();
this.attrCertCheckers = hashSet5;
}
// Token: 0x170014DD RID: 5341
// (get) Token: 0x06007FB7 RID: 32695 RVA: 0x001ADCD0 File Offset: 0x001ABED0
// (set) Token: 0x06007FB8 RID: 32696 RVA: 0x001ADCE4 File Offset: 0x001ABEE4
[Token(Token = "0x170014DD")]
public virtual bool IsRevocationEnabled
{
[Token(Token = "0x6007FB7")]
[Address(RVA = "0x651230", Offset = "0x64FC30", VA = "0x180651230", Slot = "4")]
get
{
return this.revocationEnabled;
}
[Token(Token = "0x6007FB8")]
[Address(RVA = "0x6C60C0", Offset = "0x6C4AC0", VA = "0x1806C60C0", Slot = "5")]
set
{
this.revocationEnabled = value;
}
}
// Token: 0x170014DE RID: 5342
// (get) Token: 0x06007FB9 RID: 32697 RVA: 0x001ADCF8 File Offset: 0x001ABEF8
// (set) Token: 0x06007FBA RID: 32698 RVA: 0x001ADD0C File Offset: 0x001ABF0C
[Token(Token = "0x170014DE")]
public virtual bool IsExplicitPolicyRequired
{
[Token(Token = "0x6007FB9")]
[Address(RVA = "0x52F470", Offset = "0x52DE70", VA = "0x18052F470", Slot = "6")]
get
{
return this.explicitPolicyRequired;
}
[Token(Token = "0x6007FBA")]
[Address(RVA = "0x52F720", Offset = "0x52E120", VA = "0x18052F720", Slot = "7")]
set
{
this.explicitPolicyRequired = value;
}
}
// Token: 0x170014DF RID: 5343
// (get) Token: 0x06007FBB RID: 32699 RVA: 0x001ADD20 File Offset: 0x001ABF20
// (set) Token: 0x06007FBC RID: 32700 RVA: 0x001ADD34 File Offset: 0x001ABF34
[Token(Token = "0x170014DF")]
public virtual bool IsAnyPolicyInhibited
{
[Token(Token = "0x6007FBB")]
[Address(RVA = "0x595D80", Offset = "0x594780", VA = "0x180595D80", Slot = "8")]
get
{
return this.anyPolicyInhibited;
}
[Token(Token = "0x6007FBC")]
[Address(RVA = "0x72B8E0", Offset = "0x72A2E0", VA = "0x18072B8E0", Slot = "9")]
set
{
this.anyPolicyInhibited = value;
}
}
// Token: 0x170014E0 RID: 5344
// (get) Token: 0x06007FBD RID: 32701 RVA: 0x001ADD48 File Offset: 0x001ABF48
// (set) Token: 0x06007FBE RID: 32702 RVA: 0x001ADD5C File Offset: 0x001ABF5C
[Token(Token = "0x170014E0")]
public virtual bool IsPolicyMappingInhibited
{
[Token(Token = "0x6007FBD")]
[Address(RVA = "0x595D70", Offset = "0x594770", VA = "0x180595D70", Slot = "10")]
get
{
return this.policyMappingInhibited;
}
[Token(Token = "0x6007FBE")]
[Address(RVA = "0x596160", Offset = "0x594B60", VA = "0x180596160", Slot = "11")]
set
{
this.policyMappingInhibited = value;
}
}
// Token: 0x170014E1 RID: 5345
// (get) Token: 0x06007FBF RID: 32703 RVA: 0x001ADD70 File Offset: 0x001ABF70
// (set) Token: 0x06007FC0 RID: 32704 RVA: 0x001ADD84 File Offset: 0x001ABF84
[Token(Token = "0x170014E1")]
public virtual bool IsPolicyQualifiersRejected
{
[Token(Token = "0x6007FBF")]
[Address(RVA = "0xCEDBA0", Offset = "0xCEC5A0", VA = "0x180CEDBA0", Slot = "12")]
get
{
return this.policyQualifiersRejected;
}
[Token(Token = "0x6007FC0")]
[Address(RVA = "0xCEDBC0", Offset = "0xCEC5C0", VA = "0x180CEDBC0", Slot = "13")]
set
{
this.policyQualifiersRejected = value;
}
}
// Token: 0x170014E2 RID: 5346
// (get) Token: 0x06007FC1 RID: 32705 RVA: 0x001ADD98 File Offset: 0x001ABF98
// (set) Token: 0x06007FC2 RID: 32706 RVA: 0x001ADDAC File Offset: 0x001ABFAC
[Token(Token = "0x170014E2")]
public virtual DateTimeObject Date
{
[Token(Token = "0x6007FC1")]
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "14")]
get
{
return this.date;
}
[Token(Token = "0x6007FC2")]
[Address(RVA = "0x3C1280", Offset = "0x3BFC80", VA = "0x1803C1280", Slot = "15")]
set
{
this.date = value;
}
}
// Token: 0x06007FC3 RID: 32707 RVA: 0x001ADDC0 File Offset: 0x001ABFC0
[Token(Token = "0x6007FC3")]
[Address(RVA = "0xCEC2F0", Offset = "0xCEACF0", VA = "0x180CEC2F0", Slot = "16")]
public virtual ISet GetTrustAnchors()
{
/*
An exception occurred when decompiling this method (06007FC3)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixParameters::GetTrustAnchors()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:HashSet(var_0_0B, newobj:HashSet(HashSet::.ctor, ldfld:ISet[exp:IEnumerable](PkixParameters::trustAnchors, ldloc:PkixParameters(this))))
}
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: 0x06007FC4 RID: 32708 RVA: 0x001ADDD8 File Offset: 0x001ABFD8
[Token(Token = "0x6007FC4")]
[Address(RVA = "0xCED560", Offset = "0xCEBF60", VA = "0x180CED560", Slot = "17")]
public virtual void SetTrustAnchors(ISet tas)
{
/*
An exception occurred when decompiling this method (06007FC4)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixParameters::SetTrustAnchors(BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_54:
stloc:ArgumentException(var_5_63, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("non-empty set required"), ldstr:string("value")))
}
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: 0x06007FC5 RID: 32709 RVA: 0x001ADE4C File Offset: 0x001AC04C
[Token(Token = "0x6007FC5")]
[Address(RVA = "0xCEC1D0", Offset = "0xCEABD0", VA = "0x180CEC1D0", Slot = "18")]
public virtual X509CertStoreSelector GetTargetCertConstraints()
{
for (;;)
{
IX509Selector ix509Selector = this.certSelector;
if (ix509Selector == 0 || ix509Selector != 0)
{
return;
}
}
}
// Token: 0x06007FC6 RID: 32710 RVA: 0x001ADE70 File Offset: 0x001AC070
[Token(Token = "0x6007FC6")]
[Address(RVA = "0xCED420", Offset = "0xCEBE20", VA = "0x180CED420", Slot = "19")]
public virtual void SetTargetCertConstraints(IX509Selector selector)
{
if (selector != 0)
{
return;
}
int num = 0;
this.certSelector = num;
}
// Token: 0x06007FC7 RID: 32711 RVA: 0x001ADE8C File Offset: 0x001AC08C
[Token(Token = "0x6007FC7")]
[Address(RVA = "0xCEC030", Offset = "0xCEAA30", VA = "0x180CEC030", Slot = "20")]
public virtual ISet GetInitialPolicies()
{
/*
An exception occurred when decompiling this method (06007FC7)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixParameters::GetInitialPolicies()
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_11:
stloc:HashSet(var_2_17, newobj:HashSet(HashSet::.ctor, ldloc:ISet[exp:IEnumerable](var_0_06)))
}
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: 0x06007FC8 RID: 32712 RVA: 0x001ADEB0 File Offset: 0x001AC0B0
[Token(Token = "0x6007FC8")]
[Address(RVA = "0xCEC8D0", Offset = "0xCEB2D0", VA = "0x180CEC8D0", Slot = "21")]
public virtual void SetInitialPolicies(ISet initialPolicies)
{
int num;
do
{
num = 0;
HashSet hashSet = new HashSet();
this.initialPolicies = hashSet;
if (initialPolicies == 0)
{
break;
}
if (hashSet != 0)
{
if (num < hashSet)
{
num += num;
num++;
}
while (num == 0)
{
}
if (num == 0)
{
goto IL_4E;
}
ISet set = this.initialPolicies;
num++;
num += 19;
}
if (num != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
return;
IL_4E:
throw new NullReferenceException();
}
// Token: 0x06007FC9 RID: 32713 RVA: 0x001ADF10 File Offset: 0x001AC110
[Token(Token = "0x6007FC9")]
[Address(RVA = "0xCEC620", Offset = "0xCEB020", VA = "0x180CEC620", Slot = "22")]
public virtual void SetCertPathCheckers(IList checkers)
{
int num;
do
{
num = 0;
IList list = Platform.CreateArrayList();
this.certPathCheckers = list;
if (checkers == 0)
{
break;
}
if (list != 0)
{
if (num < list)
{
num += num;
num++;
}
if (num == 0)
{
num++;
num += 19;
}
if (num == 0)
{
goto IL_75;
}
IList list2 = this.certPathCheckers;
if (num < num)
{
num += num;
num++;
}
bool flag;
flag += flag;
num += 2;
num += 19;
}
if (num != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
return;
IL_75:
throw new NullReferenceException();
}
// Token: 0x06007FCA RID: 32714 RVA: 0x001ADF98 File Offset: 0x001AC198
[Token(Token = "0x6007FCA")]
[Address(RVA = "0xCEBD70", Offset = "0xCEA770", VA = "0x180CEBD70", Slot = "23")]
public virtual IList GetCertPathCheckers()
{
int num;
IList list;
do
{
num = 0;
list = Platform.CreateArrayList();
IList list2 = this.certPathCheckers;
if (list != 0)
{
if (num < list)
{
num += num;
num++;
}
ulong num2;
num2 += (ulong)1L;
if (list == 0)
{
goto IL_5F;
}
if (num < list)
{
num += num;
num++;
}
num += 2;
num += 19;
}
if (num != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
return list;
IL_5F:
throw new NullReferenceException();
}
// Token: 0x06007FCB RID: 32715 RVA: 0x001AE010 File Offset: 0x001AC210
[Token(Token = "0x6007FCB")]
[Address(RVA = "0xCEBA30", Offset = "0xCEA430", VA = "0x180CEBA30", Slot = "24")]
public virtual void AddCertPathChecker(PkixCertPathChecker checker)
{
if (checker != 0)
{
IList list = this.certPathCheckers;
}
}
// Token: 0x06007FCC RID: 32716 RVA: 0x001AE030 File Offset: 0x001AC230
[Token(Token = "0x6007FCC")]
[Address(RVA = "0xCEBB10", Offset = "0xCEA510", VA = "0x180CEBB10", Slot = "25")]
public virtual object Clone()
{
/*
An exception occurred when decompiling this method (06007FCC)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixParameters::Clone()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stfld:bool(PkixParameters::revocationEnabled, ldloc:PkixParameters(var_0), ldc.i4:bool(1))
stfld:bool(PkixParameters::policyQualifiersRejected, ldloc:PkixParameters(var_0), ldc.i4:bool(1))
stloc:ISet(var_1_14, callvirt:ISet(PkixParameters::GetTrustAnchors, ldloc:PkixParameters(var_0)))
stloc:HashSet(var_2_1A, newobj:HashSet(HashSet::.ctor))
stfld:ISet(PkixParameters::initialPolicies, ldloc:PkixParameters(var_0), ldloc:HashSet[exp:ISet](var_2_1A))
stloc:IList(var_4_29, call:IList(Platform::CreateArrayList))
stfld:IList(PkixParameters::certPathCheckers, ldloc:PkixParameters(var_0), ldloc:IList(var_4_29))
stloc:IList(var_6_3B, call:IList(Platform::CreateArrayList))
stfld:IList(PkixParameters::stores, ldloc:PkixParameters(var_0), ldloc:IList(var_6_3B))
stloc:IList(var_8_4D, call:IList(Platform::CreateArrayList))
stfld:IList(PkixParameters::additionalStores, ldloc:PkixParameters(var_0), ldloc:IList(var_8_4D))
stloc:HashSet(var_9_5C, newobj:HashSet(HashSet::.ctor))
stfld:ISet(PkixParameters::trustedACIssuers, ldloc:PkixParameters(var_0), ldloc:HashSet[exp:ISet](var_9_5C))
stloc:HashSet(var_10_6B, newobj:HashSet(HashSet::.ctor))
stfld:ISet(PkixParameters::necessaryACAttributes, ldloc:PkixParameters(var_0), ldloc:HashSet[exp:ISet](var_10_6B))
stloc:HashSet(var_11_7A, newobj:HashSet(HashSet::.ctor))
stfld:ISet(PkixParameters::prohibitedACAttributes, ldloc:PkixParameters(var_0), ldloc:HashSet[exp:ISet](var_11_7A))
stloc:HashSet(var_12_89, newobj:HashSet(HashSet::.ctor))
stfld:ISet(PkixParameters::attrCertCheckers, ldloc:PkixParameters(var_0), ldloc:HashSet[exp:ISet](var_12_89))
stloc:object(var_13_99, callvirt:object(PkixParameters::Clone, ldloc:PkixParameters(var_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: 0x06007FCD RID: 32717 RVA: 0x001AE0D8 File Offset: 0x001AC2D8
[Token(Token = "0x6007FCD")]
[Address(RVA = "0xCECCB0", Offset = "0xCEB6B0", VA = "0x180CECCB0", Slot = "26")]
protected virtual void SetParams(PkixParameters parameters)
{
bool flag2;
do
{
DateTimeObject dateTimeObject = this.Date;
bool isAnyPolicyInhibited = this.IsAnyPolicyInhibited;
bool isExplicitPolicyRequired = this.IsExplicitPolicyRequired;
bool isPolicyMappingInhibited = this.IsPolicyMappingInhibited;
string text = parameters.ToString();
bool isRevocationEnabled = this.IsRevocationEnabled;
ISet set = this.GetInitialPolicies();
bool isPolicyQualifiersRejected = this.IsPolicyQualifiersRejected;
X509CertStoreSelector targetCertConstraints = this.GetTargetCertConstraints();
ISet set2 = this.GetTrustAnchors();
int num = parameters.validityModel;
this.validityModel = num;
bool flag = parameters.useDeltas;
this.useDeltas = flag;
flag2 = parameters.additionalLocationsEnabled;
this.additionalLocationsEnabled = flag2;
if (parameters.selector == 0)
{
}
}
while (flag2 && !flag2);
this.selector = flag2;
IList list = Platform.CreateArrayList(parameters.stores);
this.stores = list;
IList list2 = Platform.CreateArrayList(parameters.additionalStores);
this.additionalStores = list2;
HashSet hashSet = new HashSet(parameters.trustedACIssuers);
this.trustedACIssuers = hashSet;
HashSet hashSet2 = new HashSet(parameters.prohibitedACAttributes);
this.prohibitedACAttributes = hashSet2;
HashSet hashSet3 = new HashSet(parameters.necessaryACAttributes);
this.necessaryACAttributes = hashSet3;
HashSet hashSet4 = new HashSet(parameters.attrCertCheckers);
this.attrCertCheckers = hashSet4;
}
// Token: 0x170014E3 RID: 5347
// (get) Token: 0x06007FCE RID: 32718 RVA: 0x001AE204 File Offset: 0x001AC404
// (set) Token: 0x06007FCF RID: 32719 RVA: 0x001AE218 File Offset: 0x001AC418
[Token(Token = "0x170014E3")]
public virtual bool IsUseDeltasEnabled
{
[Token(Token = "0x6007FCE")]
[Address(RVA = "0xCEDBB0", Offset = "0xCEC5B0", VA = "0x180CEDBB0", Slot = "27")]
get
{
return this.useDeltas;
}
[Token(Token = "0x6007FCF")]
[Address(RVA = "0xCEDBD0", Offset = "0xCEC5D0", VA = "0x180CEDBD0", Slot = "28")]
set
{
this.useDeltas = value;
}
}
// Token: 0x170014E4 RID: 5348
// (get) Token: 0x06007FD0 RID: 32720 RVA: 0x001AE22C File Offset: 0x001AC42C
// (set) Token: 0x06007FD1 RID: 32721 RVA: 0x001AE240 File Offset: 0x001AC440
[Token(Token = "0x170014E4")]
public virtual int ValidityModel
{
[Token(Token = "0x6007FD0")]
[Address(RVA = "0x54D7F0", Offset = "0x54C1F0", VA = "0x18054D7F0", Slot = "29")]
get
{
return this.validityModel;
}
[Token(Token = "0x6007FD1")]
[Address(RVA = "0xA07390", Offset = "0xA05D90", VA = "0x180A07390", Slot = "30")]
set
{
this.validityModel = value;
}
}
// Token: 0x06007FD2 RID: 32722 RVA: 0x001AE254 File Offset: 0x001AC454
[Token(Token = "0x6007FD2")]
[Address(RVA = "0xCED1E0", Offset = "0xCEBBE0", VA = "0x180CED1E0", Slot = "31")]
public virtual void SetStores(IList stores)
{
int num;
do
{
num = 0;
if (stores == 0)
{
goto IL_15;
}
if (num != -1)
{
}
}
while (num != 0);
IList list = Platform.CreateArrayList(stores);
IL_15:
IList list2 = Platform.CreateArrayList();
this.stores = list2;
}
// Token: 0x06007FD3 RID: 32723 RVA: 0x001AE2A8 File Offset: 0x001AC4A8
[Token(Token = "0x6007FD3")]
[Address(RVA = "0xCEBAB0", Offset = "0xCEA4B0", VA = "0x180CEBAB0", Slot = "32")]
public virtual void AddStore(IX509Store store)
{
if (store != 0)
{
IList list = this.stores;
}
}
// Token: 0x06007FD4 RID: 32724 RVA: 0x001AE2C8 File Offset: 0x001AC4C8
[Token(Token = "0x6007FD4")]
[Address(RVA = "0xCEB9D0", Offset = "0xCEA3D0", VA = "0x180CEB9D0", Slot = "33")]
public virtual void AddAdditionalStore(IX509Store store)
{
if (store != 0)
{
IList list = this.additionalStores;
}
}
// Token: 0x06007FD5 RID: 32725 RVA: 0x001AE2E8 File Offset: 0x001AC4E8
[Token(Token = "0x6007FD5")]
[Address(RVA = "0xCEBCB0", Offset = "0xCEA6B0", VA = "0x180CEBCB0", Slot = "34")]
public virtual IList GetAdditionalStores()
{
return Platform.CreateArrayList(this.additionalStores);
}
// Token: 0x06007FD6 RID: 32726 RVA: 0x001AE300 File Offset: 0x001AC500
[Token(Token = "0x6007FD6")]
[Address(RVA = "0xCEC170", Offset = "0xCEAB70", VA = "0x180CEC170", Slot = "35")]
public virtual IList GetStores()
{
return Platform.CreateArrayList(this.stores);
}
// Token: 0x170014E5 RID: 5349
// (get) Token: 0x06007FD7 RID: 32727 RVA: 0x001AE318 File Offset: 0x001AC518
[Token(Token = "0x170014E5")]
public virtual bool IsAdditionalLocationsEnabled
{
[Token(Token = "0x6007FD7")]
[Address(RVA = "0x566D70", Offset = "0x565770", VA = "0x180566D70", Slot = "36")]
get
{
return this.additionalLocationsEnabled;
}
}
// Token: 0x06007FD8 RID: 32728 RVA: 0x001AE32C File Offset: 0x001AC52C
[Token(Token = "0x6007FD8")]
[Address(RVA = "0x566E50", Offset = "0x565850", VA = "0x180566E50", Slot = "37")]
public virtual void SetAdditionalLocationsEnabled(bool enabled)
{
this.additionalLocationsEnabled = enabled;
}
// Token: 0x06007FD9 RID: 32729 RVA: 0x001AE340 File Offset: 0x001AC540
[Token(Token = "0x6007FD9")]
[Address(RVA = "0xCEC270", Offset = "0xCEAC70", VA = "0x180CEC270", Slot = "38")]
public virtual IX509Selector GetTargetConstraints()
{
while (this.selector != 0)
{
}
}
// Token: 0x06007FDA RID: 32730 RVA: 0x001AE358 File Offset: 0x001AC558
[Token(Token = "0x6007FDA")]
[Address(RVA = "0xCED4C0", Offset = "0xCEBEC0", VA = "0x180CED4C0", Slot = "39")]
public virtual void SetTargetConstraints(IX509Selector selector)
{
if (selector == 0)
{
int num = 0;
this.selector = num;
return;
}
}
// Token: 0x06007FDB RID: 32731 RVA: 0x001AE374 File Offset: 0x001AC574
[Token(Token = "0x6007FDB")]
[Address(RVA = "0xCEC350", Offset = "0xCEAD50", VA = "0x180CEC350", Slot = "40")]
public virtual ISet GetTrustedACIssuers()
{
/*
An exception occurred when decompiling this method (06007FDB)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixParameters::GetTrustedACIssuers()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:HashSet(var_0_0B, newobj:HashSet(HashSet::.ctor, ldfld:ISet[exp:IEnumerable](PkixParameters::trustedACIssuers, ldloc:PkixParameters(this))))
}
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: 0x06007FDC RID: 32732 RVA: 0x001AE38C File Offset: 0x001AC58C
[Token(Token = "0x6007FDC")]
[Address(RVA = "0xCED800", Offset = "0xCEC200", VA = "0x180CED800", Slot = "41")]
public virtual void SetTrustedACIssuers(ISet trustedACIssuers)
{
int num;
do
{
num = 0;
if (trustedACIssuers == 0)
{
goto IL_17;
}
if (num != -1)
{
}
}
while (num != 0);
HashSet hashSet = new HashSet(trustedACIssuers);
IL_17:
HashSet hashSet2 = new HashSet();
this.trustedACIssuers = hashSet2;
}
// Token: 0x06007FDD RID: 32733 RVA: 0x001AE3E0 File Offset: 0x001AC5E0
[Token(Token = "0x6007FDD")]
[Address(RVA = "0xCEC0B0", Offset = "0xCEAAB0", VA = "0x180CEC0B0", Slot = "42")]
public virtual ISet GetNecessaryACAttributes()
{
/*
An exception occurred when decompiling this method (06007FDD)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixParameters::GetNecessaryACAttributes()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:HashSet(var_0_0B, newobj:HashSet(HashSet::.ctor, ldfld:ISet[exp:IEnumerable](PkixParameters::necessaryACAttributes, ldloc:PkixParameters(this))))
}
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: 0x06007FDE RID: 32734 RVA: 0x001AE3F8 File Offset: 0x001AC5F8
[Token(Token = "0x6007FDE")]
[Address(RVA = "0xCECAD0", Offset = "0xCEB4D0", VA = "0x180CECAD0", Slot = "43")]
public virtual void SetNecessaryACAttributes(ISet necessaryACAttributes)
{
int num;
do
{
num = 0;
if (necessaryACAttributes == 0)
{
goto IL_15;
}
if (num != -1)
{
}
}
while (num != 0);
HashSet hashSet = new HashSet(necessaryACAttributes);
IL_15:
HashSet hashSet2 = new HashSet();
this.necessaryACAttributes = hashSet2;
}
// Token: 0x06007FDF RID: 32735 RVA: 0x001AE438 File Offset: 0x001AC638
[Token(Token = "0x6007FDF")]
[Address(RVA = "0xCEC110", Offset = "0xCEAB10", VA = "0x180CEC110", Slot = "44")]
public virtual ISet GetProhibitedACAttributes()
{
/*
An exception occurred when decompiling this method (06007FDF)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixParameters::GetProhibitedACAttributes()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:HashSet(var_0_0B, newobj:HashSet(HashSet::.ctor, ldfld:ISet[exp:IEnumerable](PkixParameters::prohibitedACAttributes, ldloc:PkixParameters(this))))
}
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: 0x06007FE0 RID: 32736 RVA: 0x001AE450 File Offset: 0x001AC650
[Token(Token = "0x6007FE0")]
[Address(RVA = "0xCED000", Offset = "0xCEBA00", VA = "0x180CED000", Slot = "45")]
public virtual void SetProhibitedACAttributes(ISet prohibitedACAttributes)
{
int num;
do
{
num = 0;
if (prohibitedACAttributes == 0)
{
goto IL_15;
}
if (num != -1)
{
}
}
while (num != 0);
HashSet hashSet = new HashSet(prohibitedACAttributes);
IL_15:
HashSet hashSet2 = new HashSet();
this.prohibitedACAttributes = hashSet2;
}
// Token: 0x06007FE1 RID: 32737 RVA: 0x001AE490 File Offset: 0x001AC690
[Token(Token = "0x6007FE1")]
[Address(RVA = "0xCEBD10", Offset = "0xCEA710", VA = "0x180CEBD10", Slot = "46")]
public virtual ISet GetAttrCertCheckers()
{
/*
An exception occurred when decompiling this method (06007FE1)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities.Collections.ISet BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixParameters::GetAttrCertCheckers()
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:HashSet(var_0_0B, newobj:HashSet(HashSet::.ctor, ldfld:ISet[exp:IEnumerable](PkixParameters::attrCertCheckers, ldloc:PkixParameters(this))))
}
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: 0x06007FE2 RID: 32738 RVA: 0x001AE4A8 File Offset: 0x001AC6A8
[Token(Token = "0x6007FE2")]
[Address(RVA = "0xCEC3B0", Offset = "0xCEADB0", VA = "0x180CEC3B0", Slot = "47")]
public virtual void SetAttrCertCheckers(ISet attrCertCheckers)
{
int num;
do
{
num = 0;
if (attrCertCheckers == 0)
{
goto IL_17;
}
if (num != -1)
{
}
}
while (num != 0);
HashSet hashSet = new HashSet(attrCertCheckers);
IL_17:
HashSet hashSet2 = new HashSet();
this.attrCertCheckers = hashSet2;
}
// Token: 0x04005AB1 RID: 23217
[Token(Token = "0x4005AB1")]
public const int PkixValidityModel = 0;
// Token: 0x04005AB2 RID: 23218
[Token(Token = "0x4005AB2")]
public const int ChainValidityModel = 1;
// Token: 0x04005AB3 RID: 23219
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4005AB3")]
private ISet trustAnchors;
// Token: 0x04005AB4 RID: 23220
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4005AB4")]
private DateTimeObject date;
// Token: 0x04005AB5 RID: 23221
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x4005AB5")]
private IList certPathCheckers;
// Token: 0x04005AB6 RID: 23222
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x4005AB6")]
private bool revocationEnabled = true;
// Token: 0x04005AB7 RID: 23223
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x4005AB7")]
private ISet initialPolicies;
// Token: 0x04005AB8 RID: 23224
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
[Token(Token = "0x4005AB8")]
private bool explicitPolicyRequired;
// Token: 0x04005AB9 RID: 23225
[global::Cpp2IlInjected.FieldOffset(Offset = "0x39")]
[Token(Token = "0x4005AB9")]
private bool anyPolicyInhibited;
// Token: 0x04005ABA RID: 23226
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3A")]
[Token(Token = "0x4005ABA")]
private bool policyMappingInhibited;
// Token: 0x04005ABB RID: 23227
[global::Cpp2IlInjected.FieldOffset(Offset = "0x3B")]
[Token(Token = "0x4005ABB")]
private bool policyQualifiersRejected = true;
// Token: 0x04005ABC RID: 23228
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x4005ABC")]
private IX509Selector certSelector;
// Token: 0x04005ABD RID: 23229
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x4005ABD")]
private IList stores;
// Token: 0x04005ABE RID: 23230
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x4005ABE")]
private IX509Selector selector;
// Token: 0x04005ABF RID: 23231
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x4005ABF")]
private bool additionalLocationsEnabled;
// Token: 0x04005AC0 RID: 23232
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x4005AC0")]
private IList additionalStores;
// Token: 0x04005AC1 RID: 23233
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x4005AC1")]
private ISet trustedACIssuers;
// Token: 0x04005AC2 RID: 23234
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x4005AC2")]
private ISet necessaryACAttributes;
// Token: 0x04005AC3 RID: 23235
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
[Token(Token = "0x4005AC3")]
private ISet prohibitedACAttributes;
// Token: 0x04005AC4 RID: 23236
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
[Token(Token = "0x4005AC4")]
private ISet attrCertCheckers;
// Token: 0x04005AC5 RID: 23237
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
[Token(Token = "0x4005AC5")]
private int validityModel;
// Token: 0x04005AC6 RID: 23238
[global::Cpp2IlInjected.FieldOffset(Offset = "0x8C")]
[Token(Token = "0x4005AC6")]
private bool useDeltas;
}
}