m
This commit is contained in:
@@ -0,0 +1,945 @@
|
||||
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: 0x02001A63 RID: 6755
|
||||
[Token(Token = "0x2001A63")]
|
||||
public class PkixParameters
|
||||
{
|
||||
// Token: 0x06009F5E RID: 40798 RVA: 0x0020E338 File Offset: 0x0020C538
|
||||
[Token(Token = "0x6009F5E")]
|
||||
[Address(RVA = "0x51F0E0", Offset = "0x51E0E0", VA = "0x18051F0E0")]
|
||||
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: 0x1700197B RID: 6523
|
||||
// (get) Token: 0x06009F5F RID: 40799 RVA: 0x0020E3DC File Offset: 0x0020C5DC
|
||||
// (set) Token: 0x06009F60 RID: 40800 RVA: 0x0020E3F0 File Offset: 0x0020C5F0
|
||||
[Token(Token = "0x1700197B")]
|
||||
public virtual bool IsRevocationEnabled
|
||||
{
|
||||
[Token(Token = "0x6009F5F")]
|
||||
[Address(RVA = "0x51F260", Offset = "0x51E260", VA = "0x18051F260", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return this.revocationEnabled;
|
||||
}
|
||||
[Token(Token = "0x6009F60")]
|
||||
[Address(RVA = "0x51F2B0", Offset = "0x51E2B0", VA = "0x18051F2B0", Slot = "5")]
|
||||
set
|
||||
{
|
||||
this.revocationEnabled = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700197C RID: 6524
|
||||
// (get) Token: 0x06009F61 RID: 40801 RVA: 0x0020E404 File Offset: 0x0020C604
|
||||
// (set) Token: 0x06009F62 RID: 40802 RVA: 0x0020E418 File Offset: 0x0020C618
|
||||
[Token(Token = "0x1700197C")]
|
||||
public virtual bool IsExplicitPolicyRequired
|
||||
{
|
||||
[Token(Token = "0x6009F61")]
|
||||
[Address(RVA = "0x417650", Offset = "0x416650", VA = "0x180417650", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.explicitPolicyRequired;
|
||||
}
|
||||
[Token(Token = "0x6009F62")]
|
||||
[Address(RVA = "0x417950", Offset = "0x416950", VA = "0x180417950", Slot = "7")]
|
||||
set
|
||||
{
|
||||
this.explicitPolicyRequired = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700197D RID: 6525
|
||||
// (get) Token: 0x06009F63 RID: 40803 RVA: 0x0020E42C File Offset: 0x0020C62C
|
||||
// (set) Token: 0x06009F64 RID: 40804 RVA: 0x0020E440 File Offset: 0x0020C640
|
||||
[Token(Token = "0x1700197D")]
|
||||
public virtual bool IsAnyPolicyInhibited
|
||||
{
|
||||
[Token(Token = "0x6009F63")]
|
||||
[Address(RVA = "0x51F230", Offset = "0x51E230", VA = "0x18051F230", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.anyPolicyInhibited;
|
||||
}
|
||||
[Token(Token = "0x6009F64")]
|
||||
[Address(RVA = "0x51F280", Offset = "0x51E280", VA = "0x18051F280", Slot = "9")]
|
||||
set
|
||||
{
|
||||
this.anyPolicyInhibited = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700197E RID: 6526
|
||||
// (get) Token: 0x06009F65 RID: 40805 RVA: 0x0020E454 File Offset: 0x0020C654
|
||||
// (set) Token: 0x06009F66 RID: 40806 RVA: 0x0020E468 File Offset: 0x0020C668
|
||||
[Token(Token = "0x1700197E")]
|
||||
public virtual bool IsPolicyMappingInhibited
|
||||
{
|
||||
[Token(Token = "0x6009F65")]
|
||||
[Address(RVA = "0x51F240", Offset = "0x51E240", VA = "0x18051F240", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.policyMappingInhibited;
|
||||
}
|
||||
[Token(Token = "0x6009F66")]
|
||||
[Address(RVA = "0x51F290", Offset = "0x51E290", VA = "0x18051F290", Slot = "11")]
|
||||
set
|
||||
{
|
||||
this.policyMappingInhibited = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700197F RID: 6527
|
||||
// (get) Token: 0x06009F67 RID: 40807 RVA: 0x0020E47C File Offset: 0x0020C67C
|
||||
// (set) Token: 0x06009F68 RID: 40808 RVA: 0x0020E490 File Offset: 0x0020C690
|
||||
[Token(Token = "0x1700197F")]
|
||||
public virtual bool IsPolicyQualifiersRejected
|
||||
{
|
||||
[Token(Token = "0x6009F67")]
|
||||
[Address(RVA = "0x51F250", Offset = "0x51E250", VA = "0x18051F250", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return this.policyQualifiersRejected;
|
||||
}
|
||||
[Token(Token = "0x6009F68")]
|
||||
[Address(RVA = "0x51F2A0", Offset = "0x51E2A0", VA = "0x18051F2A0", Slot = "13")]
|
||||
set
|
||||
{
|
||||
this.policyQualifiersRejected = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001980 RID: 6528
|
||||
// (get) Token: 0x06009F69 RID: 40809 RVA: 0x0020E4A4 File Offset: 0x0020C6A4
|
||||
// (set) Token: 0x06009F6A RID: 40810 RVA: 0x0020E4B8 File Offset: 0x0020C6B8
|
||||
[Token(Token = "0x17001980")]
|
||||
public virtual DateTimeObject Date
|
||||
{
|
||||
[Token(Token = "0x6009F69")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "14")]
|
||||
get
|
||||
{
|
||||
return this.date;
|
||||
}
|
||||
[Token(Token = "0x6009F6A")]
|
||||
[Address(RVA = "0x4157F0", Offset = "0x4147F0", VA = "0x1804157F0", Slot = "15")]
|
||||
set
|
||||
{
|
||||
this.date = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F6B RID: 40811 RVA: 0x0020E4CC File Offset: 0x0020C6CC
|
||||
[Token(Token = "0x6009F6B")]
|
||||
[Address(RVA = "0x51DA90", Offset = "0x51CA90", VA = "0x18051DA90", Slot = "16")]
|
||||
public virtual ISet GetTrustAnchors()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009F6B)
|
||||
|
||||
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: 0x06009F6C RID: 40812 RVA: 0x0020E4E4 File Offset: 0x0020C6E4
|
||||
[Token(Token = "0x6009F6C")]
|
||||
[Address(RVA = "0x51EC20", Offset = "0x51DC20", VA = "0x18051EC20", Slot = "17")]
|
||||
public virtual void SetTrustAnchors(ISet tas)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009F6C)
|
||||
|
||||
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: 0x06009F6D RID: 40813 RVA: 0x0020E554 File Offset: 0x0020C754
|
||||
[Token(Token = "0x6009F6D")]
|
||||
[Address(RVA = "0x51D970", Offset = "0x51C970", VA = "0x18051D970", Slot = "18")]
|
||||
public virtual X509CertStoreSelector GetTargetCertConstraints()
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
IX509Selector ix509Selector = this.certSelector;
|
||||
if (ix509Selector == 0 || ix509Selector != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F6E RID: 40814 RVA: 0x0020E578 File Offset: 0x0020C778
|
||||
[Token(Token = "0x6009F6E")]
|
||||
[Address(RVA = "0x51EAE0", Offset = "0x51DAE0", VA = "0x18051EAE0", Slot = "19")]
|
||||
public virtual void SetTargetCertConstraints(IX509Selector selector)
|
||||
{
|
||||
if (selector != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
int num = 0;
|
||||
this.certSelector = num;
|
||||
}
|
||||
|
||||
// Token: 0x06009F6F RID: 40815 RVA: 0x0020E594 File Offset: 0x0020C794
|
||||
[Token(Token = "0x6009F6F")]
|
||||
[Address(RVA = "0x51D7D0", Offset = "0x51C7D0", VA = "0x18051D7D0", Slot = "20")]
|
||||
public virtual ISet GetInitialPolicies()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009F6F)
|
||||
|
||||
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: 0x06009F70 RID: 40816 RVA: 0x0020E5B8 File Offset: 0x0020C7B8
|
||||
[Token(Token = "0x6009F70")]
|
||||
[Address(RVA = "0x51E040", Offset = "0x51D040", VA = "0x18051E040", 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: 0x06009F71 RID: 40817 RVA: 0x0020E614 File Offset: 0x0020C814
|
||||
[Token(Token = "0x6009F71")]
|
||||
[Address(RVA = "0x51DDA0", Offset = "0x51CDA0", VA = "0x18051DDA0", 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: 0x06009F72 RID: 40818 RVA: 0x0020E698 File Offset: 0x0020C898
|
||||
[Token(Token = "0x6009F72")]
|
||||
[Address(RVA = "0x51D530", Offset = "0x51C530", VA = "0x18051D530", 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: 0x06009F73 RID: 40819 RVA: 0x0020E70C File Offset: 0x0020C90C
|
||||
[Token(Token = "0x6009F73")]
|
||||
[Address(RVA = "0x51D1F0", Offset = "0x51C1F0", VA = "0x18051D1F0", Slot = "24")]
|
||||
public virtual void AddCertPathChecker(PkixCertPathChecker checker)
|
||||
{
|
||||
if (checker != 0)
|
||||
{
|
||||
IList list = this.certPathCheckers;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F74 RID: 40820 RVA: 0x0020E72C File Offset: 0x0020C92C
|
||||
[Token(Token = "0x6009F74")]
|
||||
[Address(RVA = "0x51D2D0", Offset = "0x51C2D0", VA = "0x18051D2D0", Slot = "25")]
|
||||
public virtual object Clone()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009F74)
|
||||
|
||||
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: 0x06009F75 RID: 40821 RVA: 0x0020E7D4 File Offset: 0x0020C9D4
|
||||
[Token(Token = "0x6009F75")]
|
||||
[Address(RVA = "0x51E3D0", Offset = "0x51D3D0", VA = "0x18051E3D0", 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: 0x17001981 RID: 6529
|
||||
// (get) Token: 0x06009F76 RID: 40822 RVA: 0x0020E900 File Offset: 0x0020CB00
|
||||
// (set) Token: 0x06009F77 RID: 40823 RVA: 0x0020E914 File Offset: 0x0020CB14
|
||||
[Token(Token = "0x17001981")]
|
||||
public virtual bool IsUseDeltasEnabled
|
||||
{
|
||||
[Token(Token = "0x6009F76")]
|
||||
[Address(RVA = "0x51F270", Offset = "0x51E270", VA = "0x18051F270", Slot = "27")]
|
||||
get
|
||||
{
|
||||
return this.useDeltas;
|
||||
}
|
||||
[Token(Token = "0x6009F77")]
|
||||
[Address(RVA = "0x51F2C0", Offset = "0x51E2C0", VA = "0x18051F2C0", Slot = "28")]
|
||||
set
|
||||
{
|
||||
this.useDeltas = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001982 RID: 6530
|
||||
// (get) Token: 0x06009F78 RID: 40824 RVA: 0x0020E928 File Offset: 0x0020CB28
|
||||
// (set) Token: 0x06009F79 RID: 40825 RVA: 0x0020E93C File Offset: 0x0020CB3C
|
||||
[Token(Token = "0x17001982")]
|
||||
public virtual int ValidityModel
|
||||
{
|
||||
[Token(Token = "0x6009F78")]
|
||||
[Address(RVA = "0x4F3F50", Offset = "0x4F2F50", VA = "0x1804F3F50", Slot = "29")]
|
||||
get
|
||||
{
|
||||
return this.validityModel;
|
||||
}
|
||||
[Token(Token = "0x6009F79")]
|
||||
[Address(RVA = "0x51F2D0", Offset = "0x51E2D0", VA = "0x18051F2D0", Slot = "30")]
|
||||
set
|
||||
{
|
||||
this.validityModel = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F7A RID: 40826 RVA: 0x0020E950 File Offset: 0x0020CB50
|
||||
[Token(Token = "0x6009F7A")]
|
||||
[Address(RVA = "0x51E8D0", Offset = "0x51D8D0", VA = "0x18051E8D0", 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: 0x06009F7B RID: 40827 RVA: 0x0020E9A0 File Offset: 0x0020CBA0
|
||||
[Token(Token = "0x6009F7B")]
|
||||
[Address(RVA = "0x51D270", Offset = "0x51C270", VA = "0x18051D270", Slot = "32")]
|
||||
public virtual void AddStore(IX509Store store)
|
||||
{
|
||||
if (store != 0)
|
||||
{
|
||||
IList list = this.stores;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F7C RID: 40828 RVA: 0x0020E9C0 File Offset: 0x0020CBC0
|
||||
[Token(Token = "0x6009F7C")]
|
||||
[Address(RVA = "0x51D190", Offset = "0x51C190", VA = "0x18051D190", Slot = "33")]
|
||||
public virtual void AddAdditionalStore(IX509Store store)
|
||||
{
|
||||
if (store != 0)
|
||||
{
|
||||
IList list = this.additionalStores;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F7D RID: 40829 RVA: 0x0020E9E0 File Offset: 0x0020CBE0
|
||||
[Token(Token = "0x6009F7D")]
|
||||
[Address(RVA = "0x51D470", Offset = "0x51C470", VA = "0x18051D470", Slot = "34")]
|
||||
public virtual IList GetAdditionalStores()
|
||||
{
|
||||
return Platform.CreateArrayList(this.additionalStores);
|
||||
}
|
||||
|
||||
// Token: 0x06009F7E RID: 40830 RVA: 0x0020E9F8 File Offset: 0x0020CBF8
|
||||
[Token(Token = "0x6009F7E")]
|
||||
[Address(RVA = "0x51D910", Offset = "0x51C910", VA = "0x18051D910", Slot = "35")]
|
||||
public virtual IList GetStores()
|
||||
{
|
||||
return Platform.CreateArrayList(this.stores);
|
||||
}
|
||||
|
||||
// Token: 0x17001983 RID: 6531
|
||||
// (get) Token: 0x06009F7F RID: 40831 RVA: 0x0020EA10 File Offset: 0x0020CC10
|
||||
[Token(Token = "0x17001983")]
|
||||
public virtual bool IsAdditionalLocationsEnabled
|
||||
{
|
||||
[Token(Token = "0x6009F7F")]
|
||||
[Address(RVA = "0x51F220", Offset = "0x51E220", VA = "0x18051F220", Slot = "36")]
|
||||
get
|
||||
{
|
||||
return this.additionalLocationsEnabled;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F80 RID: 40832 RVA: 0x0020EA24 File Offset: 0x0020CC24
|
||||
[Token(Token = "0x6009F80")]
|
||||
[Address(RVA = "0x51DB50", Offset = "0x51CB50", VA = "0x18051DB50", Slot = "37")]
|
||||
public virtual void SetAdditionalLocationsEnabled(bool enabled)
|
||||
{
|
||||
this.additionalLocationsEnabled = enabled;
|
||||
}
|
||||
|
||||
// Token: 0x06009F81 RID: 40833 RVA: 0x0020EA38 File Offset: 0x0020CC38
|
||||
[Token(Token = "0x6009F81")]
|
||||
[Address(RVA = "0x51DA10", Offset = "0x51CA10", VA = "0x18051DA10", Slot = "38")]
|
||||
public virtual IX509Selector GetTargetConstraints()
|
||||
{
|
||||
while (this.selector != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F82 RID: 40834 RVA: 0x0020EA50 File Offset: 0x0020CC50
|
||||
[Token(Token = "0x6009F82")]
|
||||
[Address(RVA = "0x51EB80", Offset = "0x51DB80", VA = "0x18051EB80", Slot = "39")]
|
||||
public virtual void SetTargetConstraints(IX509Selector selector)
|
||||
{
|
||||
if (selector == 0)
|
||||
{
|
||||
int num = 0;
|
||||
this.selector = num;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06009F83 RID: 40835 RVA: 0x0020EA6C File Offset: 0x0020CC6C
|
||||
[Token(Token = "0x6009F83")]
|
||||
[Address(RVA = "0x51DAF0", Offset = "0x51CAF0", VA = "0x18051DAF0", Slot = "40")]
|
||||
public virtual ISet GetTrustedACIssuers()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009F83)
|
||||
|
||||
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: 0x06009F84 RID: 40836 RVA: 0x0020EA84 File Offset: 0x0020CC84
|
||||
[Token(Token = "0x6009F84")]
|
||||
[Address(RVA = "0x51EEA0", Offset = "0x51DEA0", VA = "0x18051EEA0", 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: 0x06009F85 RID: 40837 RVA: 0x0020EAD4 File Offset: 0x0020CCD4
|
||||
[Token(Token = "0x6009F85")]
|
||||
[Address(RVA = "0x51D850", Offset = "0x51C850", VA = "0x18051D850", Slot = "42")]
|
||||
public virtual ISet GetNecessaryACAttributes()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009F85)
|
||||
|
||||
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: 0x06009F86 RID: 40838 RVA: 0x0020EAEC File Offset: 0x0020CCEC
|
||||
[Token(Token = "0x6009F86")]
|
||||
[Address(RVA = "0x51E220", Offset = "0x51D220", VA = "0x18051E220", 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: 0x06009F87 RID: 40839 RVA: 0x0020EB28 File Offset: 0x0020CD28
|
||||
[Token(Token = "0x6009F87")]
|
||||
[Address(RVA = "0x51D8B0", Offset = "0x51C8B0", VA = "0x18051D8B0", Slot = "44")]
|
||||
public virtual ISet GetProhibitedACAttributes()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009F87)
|
||||
|
||||
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: 0x06009F88 RID: 40840 RVA: 0x0020EB40 File Offset: 0x0020CD40
|
||||
[Token(Token = "0x6009F88")]
|
||||
[Address(RVA = "0x51E720", Offset = "0x51D720", VA = "0x18051E720", 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: 0x06009F89 RID: 40841 RVA: 0x0020EB7C File Offset: 0x0020CD7C
|
||||
[Token(Token = "0x6009F89")]
|
||||
[Address(RVA = "0x51D4D0", Offset = "0x51C4D0", VA = "0x18051D4D0", Slot = "46")]
|
||||
public virtual ISet GetAttrCertCheckers()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06009F89)
|
||||
|
||||
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: 0x06009F8A RID: 40842 RVA: 0x0020EB94 File Offset: 0x0020CD94
|
||||
[Token(Token = "0x6009F8A")]
|
||||
[Address(RVA = "0x51DB60", Offset = "0x51CB60", VA = "0x18051DB60", 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: 0x04006AAD RID: 27309
|
||||
[Token(Token = "0x4006AAD")]
|
||||
public const int PkixValidityModel = 0;
|
||||
|
||||
// Token: 0x04006AAE RID: 27310
|
||||
[Token(Token = "0x4006AAE")]
|
||||
public const int ChainValidityModel = 1;
|
||||
|
||||
// Token: 0x04006AAF RID: 27311
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006AAF")]
|
||||
private ISet trustAnchors;
|
||||
|
||||
// Token: 0x04006AB0 RID: 27312
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006AB0")]
|
||||
private DateTimeObject date;
|
||||
|
||||
// Token: 0x04006AB1 RID: 27313
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006AB1")]
|
||||
private IList certPathCheckers;
|
||||
|
||||
// Token: 0x04006AB2 RID: 27314
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006AB2")]
|
||||
private bool revocationEnabled = true;
|
||||
|
||||
// Token: 0x04006AB3 RID: 27315
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006AB3")]
|
||||
private ISet initialPolicies;
|
||||
|
||||
// Token: 0x04006AB4 RID: 27316
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006AB4")]
|
||||
private bool explicitPolicyRequired;
|
||||
|
||||
// Token: 0x04006AB5 RID: 27317
|
||||
[FieldOffset(Offset = "0x39")]
|
||||
[Token(Token = "0x4006AB5")]
|
||||
private bool anyPolicyInhibited;
|
||||
|
||||
// Token: 0x04006AB6 RID: 27318
|
||||
[FieldOffset(Offset = "0x3A")]
|
||||
[Token(Token = "0x4006AB6")]
|
||||
private bool policyMappingInhibited;
|
||||
|
||||
// Token: 0x04006AB7 RID: 27319
|
||||
[FieldOffset(Offset = "0x3B")]
|
||||
[Token(Token = "0x4006AB7")]
|
||||
private bool policyQualifiersRejected = true;
|
||||
|
||||
// Token: 0x04006AB8 RID: 27320
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4006AB8")]
|
||||
private IX509Selector certSelector;
|
||||
|
||||
// Token: 0x04006AB9 RID: 27321
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4006AB9")]
|
||||
private IList stores;
|
||||
|
||||
// Token: 0x04006ABA RID: 27322
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4006ABA")]
|
||||
private IX509Selector selector;
|
||||
|
||||
// Token: 0x04006ABB RID: 27323
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4006ABB")]
|
||||
private bool additionalLocationsEnabled;
|
||||
|
||||
// Token: 0x04006ABC RID: 27324
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x4006ABC")]
|
||||
private IList additionalStores;
|
||||
|
||||
// Token: 0x04006ABD RID: 27325
|
||||
[FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x4006ABD")]
|
||||
private ISet trustedACIssuers;
|
||||
|
||||
// Token: 0x04006ABE RID: 27326
|
||||
[FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x4006ABE")]
|
||||
private ISet necessaryACAttributes;
|
||||
|
||||
// Token: 0x04006ABF RID: 27327
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x4006ABF")]
|
||||
private ISet prohibitedACAttributes;
|
||||
|
||||
// Token: 0x04006AC0 RID: 27328
|
||||
[FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x4006AC0")]
|
||||
private ISet attrCertCheckers;
|
||||
|
||||
// Token: 0x04006AC1 RID: 27329
|
||||
[FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x4006AC1")]
|
||||
private int validityModel;
|
||||
|
||||
// Token: 0x04006AC2 RID: 27330
|
||||
[FieldOffset(Offset = "0x8C")]
|
||||
[Token(Token = "0x4006AC2")]
|
||||
private bool useDeltas;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user