946 lines
44 KiB
C#
946 lines
44 KiB
C#
using System;
|
|
using System.Collections;
|
|
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: 0x02001983 RID: 6531
|
|
[Token(Token = "0x2001983")]
|
|
public class PkixParameters
|
|
{
|
|
// Token: 0x06009B90 RID: 39824 RVA: 0x002052A8 File Offset: 0x002034A8
|
|
[Token(Token = "0x6009B90")]
|
|
[Address(RVA = "0x19B5130", Offset = "0x19B3F30", VA = "0x1819B5130")]
|
|
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: 0x170018DE RID: 6366
|
|
// (get) Token: 0x06009B91 RID: 39825 RVA: 0x0020534C File Offset: 0x0020354C
|
|
// (set) Token: 0x06009B92 RID: 39826 RVA: 0x00205360 File Offset: 0x00203560
|
|
[Token(Token = "0x170018DE")]
|
|
public virtual bool IsRevocationEnabled
|
|
{
|
|
[Token(Token = "0x6009B91")]
|
|
[Address(RVA = "0x494270", Offset = "0x493070", VA = "0x180494270", Slot = "4")]
|
|
get
|
|
{
|
|
return this.revocationEnabled;
|
|
}
|
|
[Token(Token = "0x6009B92")]
|
|
[Address(RVA = "0x494500", Offset = "0x493300", VA = "0x180494500", Slot = "5")]
|
|
set
|
|
{
|
|
this.revocationEnabled = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170018DF RID: 6367
|
|
// (get) Token: 0x06009B93 RID: 39827 RVA: 0x00205374 File Offset: 0x00203574
|
|
// (set) Token: 0x06009B94 RID: 39828 RVA: 0x00205388 File Offset: 0x00203588
|
|
[Token(Token = "0x170018DF")]
|
|
public virtual bool IsExplicitPolicyRequired
|
|
{
|
|
[Token(Token = "0x6009B93")]
|
|
[Address(RVA = "0x43A970", Offset = "0x439770", VA = "0x18043A970", Slot = "6")]
|
|
get
|
|
{
|
|
return this.explicitPolicyRequired;
|
|
}
|
|
[Token(Token = "0x6009B94")]
|
|
[Address(RVA = "0x43ABB0", Offset = "0x4399B0", VA = "0x18043ABB0", Slot = "7")]
|
|
set
|
|
{
|
|
this.explicitPolicyRequired = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170018E0 RID: 6368
|
|
// (get) Token: 0x06009B95 RID: 39829 RVA: 0x0020539C File Offset: 0x0020359C
|
|
// (set) Token: 0x06009B96 RID: 39830 RVA: 0x002053B0 File Offset: 0x002035B0
|
|
[Token(Token = "0x170018E0")]
|
|
public virtual bool IsAnyPolicyInhibited
|
|
{
|
|
[Token(Token = "0x6009B95")]
|
|
[Address(RVA = "0x43AAA0", Offset = "0x4398A0", VA = "0x18043AAA0", Slot = "8")]
|
|
get
|
|
{
|
|
return this.anyPolicyInhibited;
|
|
}
|
|
[Token(Token = "0x6009B96")]
|
|
[Address(RVA = "0x43ACB0", Offset = "0x439AB0", VA = "0x18043ACB0", Slot = "9")]
|
|
set
|
|
{
|
|
this.anyPolicyInhibited = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170018E1 RID: 6369
|
|
// (get) Token: 0x06009B97 RID: 39831 RVA: 0x002053C4 File Offset: 0x002035C4
|
|
// (set) Token: 0x06009B98 RID: 39832 RVA: 0x002053D8 File Offset: 0x002035D8
|
|
[Token(Token = "0x170018E1")]
|
|
public virtual bool IsPolicyMappingInhibited
|
|
{
|
|
[Token(Token = "0x6009B97")]
|
|
[Address(RVA = "0x718510", Offset = "0x717310", VA = "0x180718510", Slot = "10")]
|
|
get
|
|
{
|
|
return this.policyMappingInhibited;
|
|
}
|
|
[Token(Token = "0x6009B98")]
|
|
[Address(RVA = "0x718A40", Offset = "0x717840", VA = "0x180718A40", Slot = "11")]
|
|
set
|
|
{
|
|
this.policyMappingInhibited = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170018E2 RID: 6370
|
|
// (get) Token: 0x06009B99 RID: 39833 RVA: 0x002053EC File Offset: 0x002035EC
|
|
// (set) Token: 0x06009B9A RID: 39834 RVA: 0x00205400 File Offset: 0x00203600
|
|
[Token(Token = "0x170018E2")]
|
|
public virtual bool IsPolicyQualifiersRejected
|
|
{
|
|
[Token(Token = "0x6009B99")]
|
|
[Address(RVA = "0x19B5270", Offset = "0x19B4070", VA = "0x1819B5270", Slot = "12")]
|
|
get
|
|
{
|
|
return this.policyQualifiersRejected;
|
|
}
|
|
[Token(Token = "0x6009B9A")]
|
|
[Address(RVA = "0x19B5280", Offset = "0x19B4080", VA = "0x1819B5280", Slot = "13")]
|
|
set
|
|
{
|
|
this.policyQualifiersRejected = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170018E3 RID: 6371
|
|
// (get) Token: 0x06009B9B RID: 39835 RVA: 0x00205414 File Offset: 0x00203614
|
|
// (set) Token: 0x06009B9C RID: 39836 RVA: 0x00205428 File Offset: 0x00203628
|
|
[Token(Token = "0x170018E3")]
|
|
public virtual DateTimeObject Date
|
|
{
|
|
[Token(Token = "0x6009B9B")]
|
|
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "14")]
|
|
get
|
|
{
|
|
return this.date;
|
|
}
|
|
[Token(Token = "0x6009B9C")]
|
|
[Address(RVA = "0x3F7210", Offset = "0x3F6010", VA = "0x1803F7210", Slot = "15")]
|
|
set
|
|
{
|
|
this.date = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009B9D RID: 39837 RVA: 0x0020543C File Offset: 0x0020363C
|
|
[Token(Token = "0x6009B9D")]
|
|
[Address(RVA = "0x19B3AF0", Offset = "0x19B28F0", VA = "0x1819B3AF0", Slot = "16")]
|
|
public virtual ISet GetTrustAnchors()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009B9D)
|
|
|
|
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: 0x06009B9E RID: 39838 RVA: 0x00205454 File Offset: 0x00203654
|
|
[Token(Token = "0x6009B9E")]
|
|
[Address(RVA = "0x19B4C70", Offset = "0x19B3A70", VA = "0x1819B4C70", Slot = "17")]
|
|
public virtual void SetTrustAnchors(ISet tas)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009B9E)
|
|
|
|
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_50:
|
|
stloc:ArgumentException(var_5_5F, 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: 0x06009B9F RID: 39839 RVA: 0x002054C4 File Offset: 0x002036C4
|
|
[Token(Token = "0x6009B9F")]
|
|
[Address(RVA = "0x19B39D0", Offset = "0x19B27D0", VA = "0x1819B39D0", Slot = "18")]
|
|
public virtual X509CertStoreSelector GetTargetCertConstraints()
|
|
{
|
|
for (;;)
|
|
{
|
|
IX509Selector ix509Selector = this.certSelector;
|
|
if (ix509Selector == 0 || ix509Selector != 0)
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009BA0 RID: 39840 RVA: 0x002054E8 File Offset: 0x002036E8
|
|
[Token(Token = "0x6009BA0")]
|
|
[Address(RVA = "0x19B4B30", Offset = "0x19B3930", VA = "0x1819B4B30", Slot = "19")]
|
|
public virtual void SetTargetCertConstraints(IX509Selector selector)
|
|
{
|
|
if (selector != 0)
|
|
{
|
|
return;
|
|
}
|
|
int num = 0;
|
|
this.certSelector = num;
|
|
}
|
|
|
|
// Token: 0x06009BA1 RID: 39841 RVA: 0x00205504 File Offset: 0x00203704
|
|
[Token(Token = "0x6009BA1")]
|
|
[Address(RVA = "0x19B3830", Offset = "0x19B2630", VA = "0x1819B3830", Slot = "20")]
|
|
public virtual ISet GetInitialPolicies()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009BA1)
|
|
|
|
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: 0x06009BA2 RID: 39842 RVA: 0x00205528 File Offset: 0x00203728
|
|
[Token(Token = "0x6009BA2")]
|
|
[Address(RVA = "0x19B4090", Offset = "0x19B2E90", VA = "0x1819B4090", 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_4A;
|
|
}
|
|
ISet set = this.initialPolicies;
|
|
num++;
|
|
num += 19;
|
|
}
|
|
if (num != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return;
|
|
IL_4A:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06009BA3 RID: 39843 RVA: 0x00205584 File Offset: 0x00203784
|
|
[Token(Token = "0x6009BA3")]
|
|
[Address(RVA = "0x19B3DF0", Offset = "0x19B2BF0", VA = "0x1819B3DF0", 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_71;
|
|
}
|
|
IList list2 = this.certPathCheckers;
|
|
if (num < num)
|
|
{
|
|
num += num;
|
|
num++;
|
|
}
|
|
bool flag;
|
|
flag += flag;
|
|
num += 2;
|
|
num += 19;
|
|
}
|
|
if (num != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return;
|
|
IL_71:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06009BA4 RID: 39844 RVA: 0x00205608 File Offset: 0x00203808
|
|
[Token(Token = "0x6009BA4")]
|
|
[Address(RVA = "0x19B3590", Offset = "0x19B2390", VA = "0x1819B3590", 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_5B;
|
|
}
|
|
if (num < list)
|
|
{
|
|
num += num;
|
|
num++;
|
|
}
|
|
num += 2;
|
|
num += 19;
|
|
}
|
|
if (num != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return list;
|
|
IL_5B:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06009BA5 RID: 39845 RVA: 0x0020567C File Offset: 0x0020387C
|
|
[Token(Token = "0x6009BA5")]
|
|
[Address(RVA = "0x19B3250", Offset = "0x19B2050", VA = "0x1819B3250", Slot = "24")]
|
|
public virtual void AddCertPathChecker(PkixCertPathChecker checker)
|
|
{
|
|
if (checker != 0)
|
|
{
|
|
IList list = this.certPathCheckers;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009BA6 RID: 39846 RVA: 0x0020569C File Offset: 0x0020389C
|
|
[Token(Token = "0x6009BA6")]
|
|
[Address(RVA = "0x19B3330", Offset = "0x19B2130", VA = "0x1819B3330", Slot = "25")]
|
|
public virtual object Clone()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009BA6)
|
|
|
|
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: 0x06009BA7 RID: 39847 RVA: 0x00205744 File Offset: 0x00203944
|
|
[Token(Token = "0x6009BA7")]
|
|
[Address(RVA = "0x19B4420", Offset = "0x19B3220", VA = "0x1819B4420", 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: 0x170018E4 RID: 6372
|
|
// (get) Token: 0x06009BA8 RID: 39848 RVA: 0x00205870 File Offset: 0x00203A70
|
|
// (set) Token: 0x06009BA9 RID: 39849 RVA: 0x00205884 File Offset: 0x00203A84
|
|
[Token(Token = "0x170018E4")]
|
|
public virtual bool IsUseDeltasEnabled
|
|
{
|
|
[Token(Token = "0x6009BA8")]
|
|
[Address(RVA = "0x774EC0", Offset = "0x773CC0", VA = "0x180774EC0", Slot = "27")]
|
|
get
|
|
{
|
|
return this.useDeltas;
|
|
}
|
|
[Token(Token = "0x6009BA9")]
|
|
[Address(RVA = "0x774EB0", Offset = "0x773CB0", VA = "0x180774EB0", Slot = "28")]
|
|
set
|
|
{
|
|
this.useDeltas = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170018E5 RID: 6373
|
|
// (get) Token: 0x06009BAA RID: 39850 RVA: 0x00205898 File Offset: 0x00203A98
|
|
// (set) Token: 0x06009BAB RID: 39851 RVA: 0x002058AC File Offset: 0x00203AAC
|
|
[Token(Token = "0x170018E5")]
|
|
public virtual int ValidityModel
|
|
{
|
|
[Token(Token = "0x6009BAA")]
|
|
[Address(RVA = "0x404240", Offset = "0x403040", VA = "0x180404240", Slot = "29")]
|
|
get
|
|
{
|
|
return this.validityModel;
|
|
}
|
|
[Token(Token = "0x6009BAB")]
|
|
[Address(RVA = "0x6E19B0", Offset = "0x6E07B0", VA = "0x1806E19B0", Slot = "30")]
|
|
set
|
|
{
|
|
this.validityModel = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009BAC RID: 39852 RVA: 0x002058C0 File Offset: 0x00203AC0
|
|
[Token(Token = "0x6009BAC")]
|
|
[Address(RVA = "0x19B4920", Offset = "0x19B3720", VA = "0x1819B4920", Slot = "31")]
|
|
public virtual void SetStores(IList stores)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
if (stores == 0)
|
|
{
|
|
goto IL_11;
|
|
}
|
|
}
|
|
while (num != 0);
|
|
IList list = Platform.CreateArrayList(stores);
|
|
IL_11:
|
|
IList list2 = Platform.CreateArrayList();
|
|
this.stores = list2;
|
|
}
|
|
|
|
// Token: 0x06009BAD RID: 39853 RVA: 0x00205910 File Offset: 0x00203B10
|
|
[Token(Token = "0x6009BAD")]
|
|
[Address(RVA = "0x19B32D0", Offset = "0x19B20D0", VA = "0x1819B32D0", Slot = "32")]
|
|
public virtual void AddStore(IX509Store store)
|
|
{
|
|
if (store != 0)
|
|
{
|
|
IList list = this.stores;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009BAE RID: 39854 RVA: 0x00205930 File Offset: 0x00203B30
|
|
[Token(Token = "0x6009BAE")]
|
|
[Address(RVA = "0x19B31F0", Offset = "0x19B1FF0", VA = "0x1819B31F0", Slot = "33")]
|
|
public virtual void AddAdditionalStore(IX509Store store)
|
|
{
|
|
if (store != 0)
|
|
{
|
|
IList list = this.additionalStores;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009BAF RID: 39855 RVA: 0x00205950 File Offset: 0x00203B50
|
|
[Token(Token = "0x6009BAF")]
|
|
[Address(RVA = "0x19B34D0", Offset = "0x19B22D0", VA = "0x1819B34D0", Slot = "34")]
|
|
public virtual IList GetAdditionalStores()
|
|
{
|
|
return Platform.CreateArrayList(this.additionalStores);
|
|
}
|
|
|
|
// Token: 0x06009BB0 RID: 39856 RVA: 0x00205968 File Offset: 0x00203B68
|
|
[Token(Token = "0x6009BB0")]
|
|
[Address(RVA = "0x19B3970", Offset = "0x19B2770", VA = "0x1819B3970", Slot = "35")]
|
|
public virtual IList GetStores()
|
|
{
|
|
return Platform.CreateArrayList(this.stores);
|
|
}
|
|
|
|
// Token: 0x170018E6 RID: 6374
|
|
// (get) Token: 0x06009BB1 RID: 39857 RVA: 0x00205980 File Offset: 0x00203B80
|
|
[Token(Token = "0x170018E6")]
|
|
public virtual bool IsAdditionalLocationsEnabled
|
|
{
|
|
[Token(Token = "0x6009BB1")]
|
|
[Address(RVA = "0x40FFA0", Offset = "0x40EDA0", VA = "0x18040FFA0", Slot = "36")]
|
|
get
|
|
{
|
|
return this.additionalLocationsEnabled;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009BB2 RID: 39858 RVA: 0x00205994 File Offset: 0x00203B94
|
|
[Token(Token = "0x6009BB2")]
|
|
[Address(RVA = "0x410010", Offset = "0x40EE10", VA = "0x180410010", Slot = "37")]
|
|
public virtual void SetAdditionalLocationsEnabled(bool enabled)
|
|
{
|
|
this.additionalLocationsEnabled = enabled;
|
|
}
|
|
|
|
// Token: 0x06009BB3 RID: 39859 RVA: 0x002059A8 File Offset: 0x00203BA8
|
|
[Token(Token = "0x6009BB3")]
|
|
[Address(RVA = "0x19B3A70", Offset = "0x19B2870", VA = "0x1819B3A70", Slot = "38")]
|
|
public virtual IX509Selector GetTargetConstraints()
|
|
{
|
|
while (this.selector != 0)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009BB4 RID: 39860 RVA: 0x002059C0 File Offset: 0x00203BC0
|
|
[Token(Token = "0x6009BB4")]
|
|
[Address(RVA = "0x19B4BD0", Offset = "0x19B39D0", VA = "0x1819B4BD0", Slot = "39")]
|
|
public virtual void SetTargetConstraints(IX509Selector selector)
|
|
{
|
|
if (selector == 0)
|
|
{
|
|
int num = 0;
|
|
this.selector = num;
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06009BB5 RID: 39861 RVA: 0x002059DC File Offset: 0x00203BDC
|
|
[Token(Token = "0x6009BB5")]
|
|
[Address(RVA = "0x19B3B50", Offset = "0x19B2950", VA = "0x1819B3B50", Slot = "40")]
|
|
public virtual ISet GetTrustedACIssuers()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009BB5)
|
|
|
|
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: 0x06009BB6 RID: 39862 RVA: 0x002059F4 File Offset: 0x00203BF4
|
|
[Token(Token = "0x6009BB6")]
|
|
[Address(RVA = "0x19B4EF0", Offset = "0x19B3CF0", VA = "0x1819B4EF0", Slot = "41")]
|
|
public virtual void SetTrustedACIssuers(ISet trustedACIssuers)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
if (trustedACIssuers == 0)
|
|
{
|
|
goto IL_13;
|
|
}
|
|
}
|
|
while (num != 0);
|
|
HashSet hashSet = new HashSet(trustedACIssuers);
|
|
IL_13:
|
|
HashSet hashSet2 = new HashSet();
|
|
this.trustedACIssuers = hashSet2;
|
|
}
|
|
|
|
// Token: 0x06009BB7 RID: 39863 RVA: 0x00205A44 File Offset: 0x00203C44
|
|
[Token(Token = "0x6009BB7")]
|
|
[Address(RVA = "0x19B38B0", Offset = "0x19B26B0", VA = "0x1819B38B0", Slot = "42")]
|
|
public virtual ISet GetNecessaryACAttributes()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009BB7)
|
|
|
|
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: 0x06009BB8 RID: 39864 RVA: 0x00205A5C File Offset: 0x00203C5C
|
|
[Token(Token = "0x6009BB8")]
|
|
[Address(RVA = "0x19B4270", Offset = "0x19B3070", VA = "0x1819B4270", Slot = "43")]
|
|
public virtual void SetNecessaryACAttributes(ISet necessaryACAttributes)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
if (necessaryACAttributes == 0)
|
|
{
|
|
goto IL_11;
|
|
}
|
|
}
|
|
while (num != 0);
|
|
HashSet hashSet = new HashSet(necessaryACAttributes);
|
|
IL_11:
|
|
HashSet hashSet2 = new HashSet();
|
|
this.necessaryACAttributes = hashSet2;
|
|
}
|
|
|
|
// Token: 0x06009BB9 RID: 39865 RVA: 0x00205A98 File Offset: 0x00203C98
|
|
[Token(Token = "0x6009BB9")]
|
|
[Address(RVA = "0x19B3910", Offset = "0x19B2710", VA = "0x1819B3910", Slot = "44")]
|
|
public virtual ISet GetProhibitedACAttributes()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009BB9)
|
|
|
|
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: 0x06009BBA RID: 39866 RVA: 0x00205AB0 File Offset: 0x00203CB0
|
|
[Token(Token = "0x6009BBA")]
|
|
[Address(RVA = "0x19B4770", Offset = "0x19B3570", VA = "0x1819B4770", Slot = "45")]
|
|
public virtual void SetProhibitedACAttributes(ISet prohibitedACAttributes)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
if (prohibitedACAttributes == 0)
|
|
{
|
|
goto IL_11;
|
|
}
|
|
}
|
|
while (num != 0);
|
|
HashSet hashSet = new HashSet(prohibitedACAttributes);
|
|
IL_11:
|
|
HashSet hashSet2 = new HashSet();
|
|
this.prohibitedACAttributes = hashSet2;
|
|
}
|
|
|
|
// Token: 0x06009BBB RID: 39867 RVA: 0x00205AEC File Offset: 0x00203CEC
|
|
[Token(Token = "0x6009BBB")]
|
|
[Address(RVA = "0x19B3530", Offset = "0x19B2330", VA = "0x1819B3530", Slot = "46")]
|
|
public virtual ISet GetAttrCertCheckers()
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (06009BBB)
|
|
|
|
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: 0x06009BBC RID: 39868 RVA: 0x00205B04 File Offset: 0x00203D04
|
|
[Token(Token = "0x6009BBC")]
|
|
[Address(RVA = "0x19B3BB0", Offset = "0x19B29B0", VA = "0x1819B3BB0", Slot = "47")]
|
|
public virtual void SetAttrCertCheckers(ISet attrCertCheckers)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
if (attrCertCheckers == 0)
|
|
{
|
|
goto IL_13;
|
|
}
|
|
}
|
|
while (num != 0);
|
|
HashSet hashSet = new HashSet(attrCertCheckers);
|
|
IL_13:
|
|
HashSet hashSet2 = new HashSet();
|
|
this.attrCertCheckers = hashSet2;
|
|
}
|
|
|
|
// Token: 0x040068F4 RID: 26868
|
|
[Token(Token = "0x40068F4")]
|
|
public const int PkixValidityModel = 0;
|
|
|
|
// Token: 0x040068F5 RID: 26869
|
|
[Token(Token = "0x40068F5")]
|
|
public const int ChainValidityModel = 1;
|
|
|
|
// Token: 0x040068F6 RID: 26870
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x40068F6")]
|
|
private ISet trustAnchors;
|
|
|
|
// Token: 0x040068F7 RID: 26871
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40068F7")]
|
|
private DateTimeObject date;
|
|
|
|
// Token: 0x040068F8 RID: 26872
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40068F8")]
|
|
private IList certPathCheckers;
|
|
|
|
// Token: 0x040068F9 RID: 26873
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40068F9")]
|
|
private bool revocationEnabled = true;
|
|
|
|
// Token: 0x040068FA RID: 26874
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40068FA")]
|
|
private ISet initialPolicies;
|
|
|
|
// Token: 0x040068FB RID: 26875
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40068FB")]
|
|
private bool explicitPolicyRequired;
|
|
|
|
// Token: 0x040068FC RID: 26876
|
|
[FieldOffset(Offset = "0x39")]
|
|
[Token(Token = "0x40068FC")]
|
|
private bool anyPolicyInhibited;
|
|
|
|
// Token: 0x040068FD RID: 26877
|
|
[FieldOffset(Offset = "0x3A")]
|
|
[Token(Token = "0x40068FD")]
|
|
private bool policyMappingInhibited;
|
|
|
|
// Token: 0x040068FE RID: 26878
|
|
[FieldOffset(Offset = "0x3B")]
|
|
[Token(Token = "0x40068FE")]
|
|
private bool policyQualifiersRejected = true;
|
|
|
|
// Token: 0x040068FF RID: 26879
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40068FF")]
|
|
private IX509Selector certSelector;
|
|
|
|
// Token: 0x04006900 RID: 26880
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4006900")]
|
|
private IList stores;
|
|
|
|
// Token: 0x04006901 RID: 26881
|
|
[FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x4006901")]
|
|
private IX509Selector selector;
|
|
|
|
// Token: 0x04006902 RID: 26882
|
|
[FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x4006902")]
|
|
private bool additionalLocationsEnabled;
|
|
|
|
// Token: 0x04006903 RID: 26883
|
|
[FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4006903")]
|
|
private IList additionalStores;
|
|
|
|
// Token: 0x04006904 RID: 26884
|
|
[FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4006904")]
|
|
private ISet trustedACIssuers;
|
|
|
|
// Token: 0x04006905 RID: 26885
|
|
[FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4006905")]
|
|
private ISet necessaryACAttributes;
|
|
|
|
// Token: 0x04006906 RID: 26886
|
|
[FieldOffset(Offset = "0x78")]
|
|
[Token(Token = "0x4006906")]
|
|
private ISet prohibitedACAttributes;
|
|
|
|
// Token: 0x04006907 RID: 26887
|
|
[FieldOffset(Offset = "0x80")]
|
|
[Token(Token = "0x4006907")]
|
|
private ISet attrCertCheckers;
|
|
|
|
// Token: 0x04006908 RID: 26888
|
|
[FieldOffset(Offset = "0x88")]
|
|
[Token(Token = "0x4006908")]
|
|
private int validityModel;
|
|
|
|
// Token: 0x04006909 RID: 26889
|
|
[FieldOffset(Offset = "0x8C")]
|
|
[Token(Token = "0x4006909")]
|
|
private bool useDeltas;
|
|
}
|
|
}
|