oh dear
This commit is contained in:
@@ -0,0 +1,140 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001ED7 RID: 7895
|
||||
[Token(Token = "0x2001ED7")]
|
||||
public class ContentHints : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C76B RID: 51051 RVA: 0x002D9F68 File Offset: 0x002D8168
|
||||
[Token(Token = "0x600C76B")]
|
||||
[Address(RVA = "0x2834E10", Offset = "0x2833C10", VA = "0x182834E10")]
|
||||
public static ContentHints GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C76B)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.ContentHints BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.ContentHints::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in 'ContentHints' factory : "), ldloc:string(var_6_2C), ldstr:string("."))))
|
||||
}
|
||||
|
||||
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: 0x0600C76C RID: 51052 RVA: 0x002D9FBC File Offset: 0x002D81BC
|
||||
[Token(Token = "0x600C76C")]
|
||||
[Address(RVA = "0x28351F0", Offset = "0x2833FF0", VA = "0x1828351F0")]
|
||||
private ContentHints(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
int num = 0;
|
||||
if (num < 0)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
if (parser != 0 && parser != 0)
|
||||
{
|
||||
DerUtf8String derUtf8String;
|
||||
this.contentDescription = derUtf8String;
|
||||
}
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
this.contentType = derObjectIdentifier;
|
||||
}
|
||||
|
||||
// Token: 0x0600C76D RID: 51053 RVA: 0x002DA00C File Offset: 0x002D820C
|
||||
[Token(Token = "0x600C76D")]
|
||||
[Address(RVA = "0x2835380", Offset = "0x2834180", VA = "0x182835380")]
|
||||
public ContentHints(DerObjectIdentifier contentType)
|
||||
{
|
||||
this.contentType = contentType;
|
||||
this.contentDescription = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600C76E RID: 51054 RVA: 0x002DA030 File Offset: 0x002D8230
|
||||
[Token(Token = "0x600C76E")]
|
||||
[Address(RVA = "0x28351B0", Offset = "0x2833FB0", VA = "0x1828351B0")]
|
||||
public ContentHints(DerObjectIdentifier contentType, DerUtf8String contentDescription)
|
||||
{
|
||||
this.contentType = contentType;
|
||||
this.contentDescription = contentDescription;
|
||||
}
|
||||
|
||||
// Token: 0x17001F2D RID: 7981
|
||||
// (get) Token: 0x0600C76F RID: 51055 RVA: 0x002DA054 File Offset: 0x002D8254
|
||||
[Token(Token = "0x17001F2D")]
|
||||
public DerObjectIdentifier ContentType
|
||||
{
|
||||
[Token(Token = "0x600C76F")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.contentType;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F2E RID: 7982
|
||||
// (get) Token: 0x0600C770 RID: 51056 RVA: 0x002DA068 File Offset: 0x002D8268
|
||||
[Token(Token = "0x17001F2E")]
|
||||
public DerUtf8String ContentDescription
|
||||
{
|
||||
[Token(Token = "0x600C770")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.contentDescription;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C771 RID: 51057 RVA: 0x002DA07C File Offset: 0x002D827C
|
||||
[Token(Token = "0x600C771")]
|
||||
[Address(RVA = "0x2835010", Offset = "0x2833E10", VA = "0x182835010", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.contentDescription != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerUtf8String derUtf8String = this.contentDescription;
|
||||
if (derUtf8String != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derUtf8String;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerObjectIdentifier derObjectIdentifier = this.contentType;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derObjectIdentifier;
|
||||
asn1EncodableVector.Add(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007F5D RID: 32605
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F5D")]
|
||||
private readonly DerUtf8String contentDescription;
|
||||
|
||||
// Token: 0x04007F5E RID: 32606
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007F5E")]
|
||||
private readonly DerObjectIdentifier contentType;
|
||||
}
|
||||
}
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001ED8 RID: 7896
|
||||
[Token(Token = "0x2001ED8")]
|
||||
public class ContentIdentifier : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C772 RID: 51058 RVA: 0x002DA0E8 File Offset: 0x002D82E8
|
||||
[Token(Token = "0x600C772")]
|
||||
[Address(RVA = "0x28353B0", Offset = "0x28341B0", VA = "0x1828353B0")]
|
||||
public static ContentIdentifier GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C772)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.ContentIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.ContentIdentifier::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:string(var_7_36, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_8_4E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in 'ContentIdentifier' factory : "), ldloc:string(var_7_36), ldstr:string("."))))
|
||||
}
|
||||
|
||||
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: 0x0600C773 RID: 51059 RVA: 0x002DA144 File Offset: 0x002D8344
|
||||
[Token(Token = "0x600C773")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public ContentIdentifier(Asn1OctetString value)
|
||||
{
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// Token: 0x0600C774 RID: 51060 RVA: 0x002DA160 File Offset: 0x002D8360
|
||||
[Token(Token = "0x600C774")]
|
||||
[Address(RVA = "0x28355B0", Offset = "0x28343B0", VA = "0x1828355B0")]
|
||||
public ContentIdentifier(byte[] value)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(value);
|
||||
base..ctor();
|
||||
this.value = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x17001F2F RID: 7983
|
||||
// (get) Token: 0x0600C775 RID: 51061 RVA: 0x002DA184 File Offset: 0x002D8384
|
||||
[Token(Token = "0x17001F2F")]
|
||||
public Asn1OctetString Value
|
||||
{
|
||||
[Token(Token = "0x600C775")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C776 RID: 51062 RVA: 0x002DA198 File Offset: 0x002D8398
|
||||
[Token(Token = "0x600C776")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C776)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.ContentIdentifier::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1OctetString(var_0_06, ldfld:Asn1OctetString(ContentIdentifier::value, ldloc:ContentIdentifier(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: 0x04007F5F RID: 32607
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F5F")]
|
||||
private Asn1OctetString value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,133 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001ED9 RID: 7897
|
||||
[Token(Token = "0x2001ED9")]
|
||||
public class EssCertID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C777 RID: 51063 RVA: 0x002DA1AC File Offset: 0x002D83AC
|
||||
[Token(Token = "0x600C777")]
|
||||
[Address(RVA = "0x28377D0", Offset = "0x28365D0", VA = "0x1828377D0")]
|
||||
public static EssCertID GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C777)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.EssCertID BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.EssCertID::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:string(var_9_3F, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_10_57, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in 'EssCertID' factory : "), ldloc:string(var_9_3F), ldstr:string("."))))
|
||||
}
|
||||
|
||||
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: 0x0600C778 RID: 51064 RVA: 0x002DA214 File Offset: 0x002D8414
|
||||
[Token(Token = "0x600C778")]
|
||||
[Address(RVA = "0x2837D40", Offset = "0x2836B40", VA = "0x182837D40")]
|
||||
public EssCertID(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
Asn1OctetString asn1OctetString;
|
||||
this.certHash = asn1OctetString;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
IssuerSerial issuerSerial;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C779 RID: 51065 RVA: 0x002DA254 File Offset: 0x002D8454
|
||||
[Token(Token = "0x600C779")]
|
||||
[Address(RVA = "0x2837CD0", Offset = "0x2836AD0", VA = "0x182837CD0")]
|
||||
public EssCertID(byte[] hash)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(hash);
|
||||
this.certHash = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C77A RID: 51066 RVA: 0x002DA278 File Offset: 0x002D8478
|
||||
[Token(Token = "0x600C77A")]
|
||||
[Address(RVA = "0x2837C50", Offset = "0x2836A50", VA = "0x182837C50")]
|
||||
public EssCertID(byte[] hash, IssuerSerial issuerSerial)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(hash);
|
||||
this.certHash = derOctetString;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
|
||||
// Token: 0x0600C77B RID: 51067 RVA: 0x002DA2A0 File Offset: 0x002D84A0
|
||||
[Token(Token = "0x600C77B")]
|
||||
[Address(RVA = "0x5F5F00", Offset = "0x5F4D00", VA = "0x1805F5F00")]
|
||||
public byte[] GetCertHash()
|
||||
{
|
||||
Stream octetStream = ((Asn1OctetStringParser)this.certHash).GetOctetStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001F30 RID: 7984
|
||||
// (get) Token: 0x0600C77C RID: 51068 RVA: 0x002DA2C0 File Offset: 0x002D84C0
|
||||
[Token(Token = "0x17001F30")]
|
||||
public IssuerSerial IssuerSerial
|
||||
{
|
||||
[Token(Token = "0x600C77C")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.issuerSerial;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C77D RID: 51069 RVA: 0x002DA2D4 File Offset: 0x002D84D4
|
||||
[Token(Token = "0x600C77D")]
|
||||
[Address(RVA = "0x2837AE0", Offset = "0x28368E0", VA = "0x182837AE0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1OctetString asn1OctetString = this.certHash;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1OctetString;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.issuerSerial != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
IssuerSerial issuerSerial = this.issuerSerial;
|
||||
if (issuerSerial != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = issuerSerial;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007F60 RID: 32608
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F60")]
|
||||
private Asn1OctetString certHash;
|
||||
|
||||
// Token: 0x04007F61 RID: 32609
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007F61")]
|
||||
private IssuerSerial issuerSerial;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,184 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Nist;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001EDA RID: 7898
|
||||
[Token(Token = "0x2001EDA")]
|
||||
public class EssCertIDv2 : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C77E RID: 51070 RVA: 0x002DA340 File Offset: 0x002D8540
|
||||
[Token(Token = "0x600C77E")]
|
||||
[Address(RVA = "0x2837EF0", Offset = "0x2836CF0", VA = "0x182837EF0")]
|
||||
public static EssCertIDv2 GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
return new EssCertIDv2(Asn1Sequence.GetInstance(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C77F RID: 51071 RVA: 0x002DA364 File Offset: 0x002D8564
|
||||
[Token(Token = "0x600C77F")]
|
||||
[Address(RVA = "0x28384C0", Offset = "0x28372C0", VA = "0x1828384C0")]
|
||||
private EssCertIDv2(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser == 0 || parser != 0)
|
||||
{
|
||||
}
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.hashAlgorithm = algorithmIdentifier;
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
Asn1OctetString asn1OctetString;
|
||||
Stream octetStream = asn1OctetString.GetOctetStream();
|
||||
this.certHash = octetStream;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (uint)1)
|
||||
{
|
||||
Asn1SequenceParser parser4 = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
IssuerSerial instance = IssuerSerial.GetInstance(asn1Sequence);
|
||||
this.issuerSerial = instance;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C780 RID: 51072 RVA: 0x002DA3DC File Offset: 0x002D85DC
|
||||
[Token(Token = "0x600C780")]
|
||||
[Address(RVA = "0x2838430", Offset = "0x2837230", VA = "0x182838430")]
|
||||
public EssCertIDv2(byte[] certHash)
|
||||
{
|
||||
AlgorithmIdentifier defaultAlgID = EssCertIDv2.DefaultAlgID;
|
||||
this.hashAlgorithm = defaultAlgID;
|
||||
this.certHash = certHash;
|
||||
this.issuerSerial = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600C781 RID: 51073 RVA: 0x002DA40C File Offset: 0x002D860C
|
||||
[Token(Token = "0x600C781")]
|
||||
[Address(RVA = "0x2838740", Offset = "0x2837540", VA = "0x182838740")]
|
||||
public EssCertIDv2(AlgorithmIdentifier algId, byte[] certHash)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C782 RID: 51074 RVA: 0x002DA41C File Offset: 0x002D861C
|
||||
[Token(Token = "0x600C782")]
|
||||
[Address(RVA = "0x28383A0", Offset = "0x28371A0", VA = "0x1828383A0")]
|
||||
public EssCertIDv2(byte[] certHash, IssuerSerial issuerSerial)
|
||||
{
|
||||
AlgorithmIdentifier defaultAlgID = EssCertIDv2.DefaultAlgID;
|
||||
this.hashAlgorithm = defaultAlgID;
|
||||
this.certHash = certHash;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
|
||||
// Token: 0x0600C783 RID: 51075 RVA: 0x002DA44C File Offset: 0x002D864C
|
||||
[Token(Token = "0x600C783")]
|
||||
[Address(RVA = "0x2838300", Offset = "0x2837100", VA = "0x182838300")]
|
||||
public EssCertIDv2(AlgorithmIdentifier algId, byte[] certHash, IssuerSerial issuerSerial)
|
||||
{
|
||||
if (algId == 0)
|
||||
{
|
||||
}
|
||||
this.hashAlgorithm = algId;
|
||||
this.certHash = certHash;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
|
||||
// Token: 0x17001F31 RID: 7985
|
||||
// (get) Token: 0x0600C784 RID: 51076 RVA: 0x002DA478 File Offset: 0x002D8678
|
||||
[Token(Token = "0x17001F31")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600C784")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C785 RID: 51077 RVA: 0x002DA48C File Offset: 0x002D868C
|
||||
[Token(Token = "0x600C785")]
|
||||
[Address(RVA = "0x2837E90", Offset = "0x2836C90", VA = "0x182837E90")]
|
||||
public byte[] GetCertHash()
|
||||
{
|
||||
return Arrays.Clone(this.certHash);
|
||||
}
|
||||
|
||||
// Token: 0x17001F32 RID: 7986
|
||||
// (get) Token: 0x0600C786 RID: 51078 RVA: 0x002DA4A4 File Offset: 0x002D86A4
|
||||
[Token(Token = "0x17001F32")]
|
||||
public IssuerSerial IssuerSerial
|
||||
{
|
||||
[Token(Token = "0x600C786")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.issuerSerial;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C787 RID: 51079 RVA: 0x002DA4B8 File Offset: 0x002D86B8
|
||||
[Token(Token = "0x600C787")]
|
||||
[Address(RVA = "0x2837FA0", Offset = "0x2836DA0", VA = "0x182837FA0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier = this.hashAlgorithm;
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
AlgorithmIdentifier algorithmIdentifier2 = this.hashAlgorithm;
|
||||
if (algorithmIdentifier2 != 0)
|
||||
{
|
||||
}
|
||||
array[0] = algorithmIdentifier2;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
asn1EncodableVector.Add(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Object asn1Object = new DerOctetString(this.certHash).ToAsn1Object();
|
||||
if (asn1Object != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Object;
|
||||
asn1EncodableVector.Add(array2);
|
||||
if (this.issuerSerial != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
IssuerSerial issuerSerial = this.issuerSerial;
|
||||
if (issuerSerial != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = issuerSerial;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007F62 RID: 32610
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F62")]
|
||||
private readonly AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04007F63 RID: 32611
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007F63")]
|
||||
private readonly byte[] certHash;
|
||||
|
||||
// Token: 0x04007F64 RID: 32612
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007F64")]
|
||||
private readonly IssuerSerial issuerSerial;
|
||||
|
||||
// Token: 0x04007F65 RID: 32613
|
||||
[Token(Token = "0x4007F65")]
|
||||
private static readonly AlgorithmIdentifier DefaultAlgID = new AlgorithmIdentifier(NistObjectIdentifiers.IdSha256);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,157 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Oiw;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001EDB RID: 7899
|
||||
[Token(Token = "0x2001EDB")]
|
||||
[Obsolete]
|
||||
public class OtherCertID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C789 RID: 51081 RVA: 0x002DA57C File Offset: 0x002D877C
|
||||
[Token(Token = "0x600C789")]
|
||||
[Address(RVA = "0x2841E30", Offset = "0x2840C30", VA = "0x182841E30")]
|
||||
public static OtherCertID GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C789)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.OtherCertID BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.OtherCertID::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in 'OtherCertID' factory : "), ldloc:string(var_6_2C), ldstr:string("."))))
|
||||
}
|
||||
|
||||
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: 0x0600C78A RID: 51082 RVA: 0x002DA5D0 File Offset: 0x002D87D0
|
||||
[Token(Token = "0x600C78A")]
|
||||
[Address(RVA = "0x28426B0", Offset = "0x28414B0", VA = "0x1828426B0")]
|
||||
public OtherCertID(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser != 0 && parser != 0)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
}
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
DigestInfo digestInfo;
|
||||
this.otherCertHash = digestInfo;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser4 = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
IssuerSerial instance = IssuerSerial.GetInstance(asn1Sequence);
|
||||
this.issuerSerial = instance;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C78B RID: 51083 RVA: 0x002DA638 File Offset: 0x002D8838
|
||||
[Token(Token = "0x600C78B")]
|
||||
[Address(RVA = "0x2842630", Offset = "0x2841430", VA = "0x182842630")]
|
||||
public OtherCertID(AlgorithmIdentifier algId, byte[] digest)
|
||||
{
|
||||
DigestInfo digestInfo = new DigestInfo(algId, digest);
|
||||
this.otherCertHash = digestInfo;
|
||||
}
|
||||
|
||||
// Token: 0x0600C78C RID: 51084 RVA: 0x002DA65C File Offset: 0x002D885C
|
||||
[Token(Token = "0x600C78C")]
|
||||
[Address(RVA = "0x2842340", Offset = "0x2841140", VA = "0x182842340")]
|
||||
public OtherCertID(AlgorithmIdentifier algId, byte[] digest, IssuerSerial issuerSerial)
|
||||
{
|
||||
DigestInfo digestInfo = new DigestInfo(algId, digest);
|
||||
this.otherCertHash = digestInfo;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
|
||||
// Token: 0x17001F33 RID: 7987
|
||||
// (get) Token: 0x0600C78D RID: 51085 RVA: 0x002DA688 File Offset: 0x002D8888
|
||||
[Token(Token = "0x17001F33")]
|
||||
public AlgorithmIdentifier AlgorithmHash
|
||||
{
|
||||
[Token(Token = "0x600C78D")]
|
||||
[Address(RVA = "0x2842940", Offset = "0x2841740", VA = "0x182842940")]
|
||||
get
|
||||
{
|
||||
Asn1Object asn1Object = this.otherCertHash.ToAsn1Object();
|
||||
if (asn1Object != 0 && asn1Object != 0)
|
||||
{
|
||||
return new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1);
|
||||
}
|
||||
return DigestInfo.GetInstance(this.otherCertHash).algID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C78E RID: 51086 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600C78E")]
|
||||
[Address(RVA = "0x2841AB0", Offset = "0x28408B0", VA = "0x182841AB0")]
|
||||
public byte[] GetCertHash()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001F34 RID: 7988
|
||||
// (get) Token: 0x0600C78F RID: 51087 RVA: 0x002DA6CC File Offset: 0x002D88CC
|
||||
[Token(Token = "0x17001F34")]
|
||||
public IssuerSerial IssuerSerial
|
||||
{
|
||||
[Token(Token = "0x600C78F")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.issuerSerial;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C790 RID: 51088 RVA: 0x002DA6E0 File Offset: 0x002D88E0
|
||||
[Token(Token = "0x600C790")]
|
||||
[Address(RVA = "0x28421D0", Offset = "0x2840FD0", VA = "0x1828421D0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1Encodable asn1Encodable = this.otherCertHash;
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1Encodable;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.issuerSerial != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
IssuerSerial issuerSerial = this.issuerSerial;
|
||||
if (issuerSerial != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = issuerSerial;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007F66 RID: 32614
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F66")]
|
||||
private Asn1Encodable otherCertHash;
|
||||
|
||||
// Token: 0x04007F67 RID: 32615
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007F67")]
|
||||
private IssuerSerial issuerSerial;
|
||||
}
|
||||
}
|
||||
+154
@@ -0,0 +1,154 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001EDC RID: 7900
|
||||
[Token(Token = "0x2001EDC")]
|
||||
[Obsolete]
|
||||
public class OtherSigningCertificate : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C791 RID: 51089 RVA: 0x002DA74C File Offset: 0x002D894C
|
||||
[Token(Token = "0x600C791")]
|
||||
[Address(RVA = "0x28445F0", Offset = "0x28433F0", VA = "0x1828445F0")]
|
||||
public static OtherSigningCertificate GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C791)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.OtherSigningCertificate BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.OtherSigningCertificate::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:string(var_9_3F, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_10_57, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in 'OtherSigningCertificate' factory : "), ldloc:string(var_9_3F), ldstr:string("."))))
|
||||
}
|
||||
|
||||
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: 0x0600C792 RID: 51090 RVA: 0x002DA7B4 File Offset: 0x002D89B4
|
||||
[Token(Token = "0x600C792")]
|
||||
[Address(RVA = "0x2844FD0", Offset = "0x2843DD0", VA = "0x182844FD0")]
|
||||
public OtherSigningCertificate(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.certs = asn1Sequence;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
Asn1Sequence asn1Sequence2;
|
||||
this.policies = asn1Sequence2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C793 RID: 51091 RVA: 0x002DA7F4 File Offset: 0x002D89F4
|
||||
[Token(Token = "0x600C793")]
|
||||
[Address(RVA = "0x2844E80", Offset = "0x2843C80", VA = "0x182844E80")]
|
||||
public OtherSigningCertificate(OtherCertID otherCertID)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(otherCertID);
|
||||
this.certs = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600C794 RID: 51092 RVA: 0x002DA818 File Offset: 0x002D8A18
|
||||
[Token(Token = "0x600C794")]
|
||||
[Address(RVA = "0x2844170", Offset = "0x2842F70", VA = "0x182844170")]
|
||||
public OtherCertID[] GetCerts()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.certs;
|
||||
Asn1Encodable asn1Encodable;
|
||||
OtherCertID[] array = new OtherCertID[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence2 = this.certs;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num != asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.certs.Parser;
|
||||
OtherCertID otherCertID;
|
||||
if (otherCertID != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = otherCertID;
|
||||
Asn1Sequence asn1Sequence3 = this.certs;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C795 RID: 51093 RVA: 0x002DA870 File Offset: 0x002D8A70
|
||||
[Token(Token = "0x600C795")]
|
||||
[Address(RVA = "0x2844900", Offset = "0x2843700", VA = "0x182844900")]
|
||||
public PolicyInformation[] GetPolicies()
|
||||
{
|
||||
if (this.policies != 0)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
PolicyInformation[] array = new PolicyInformation[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence = this.policies;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num != asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.policies.Parser;
|
||||
PolicyInformation policyInformation;
|
||||
if (policyInformation != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = policyInformation;
|
||||
Asn1Sequence asn1Sequence2 = this.policies;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C796 RID: 51094 RVA: 0x002DA8CC File Offset: 0x002D8ACC
|
||||
[Token(Token = "0x600C796")]
|
||||
[Address(RVA = "0x2844BA0", Offset = "0x28439A0", VA = "0x182844BA0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.certs;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1Sequence;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.policies != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence2 = this.policies;
|
||||
if (asn1Sequence2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Sequence2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007F68 RID: 32616
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F68")]
|
||||
private Asn1Sequence certs;
|
||||
|
||||
// Token: 0x04007F69 RID: 32617
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007F69")]
|
||||
private Asn1Sequence policies;
|
||||
}
|
||||
}
|
||||
+153
@@ -0,0 +1,153 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001EDD RID: 7901
|
||||
[Token(Token = "0x2001EDD")]
|
||||
public class SigningCertificate : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C797 RID: 51095 RVA: 0x002DA938 File Offset: 0x002D8B38
|
||||
[Token(Token = "0x600C797")]
|
||||
[Address(RVA = "0x284BC40", Offset = "0x284AA40", VA = "0x18284BC40")]
|
||||
public static SigningCertificate GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C797)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.SigningCertificate BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.SigningCertificate::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:string(var_9_3F, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_10_57, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in 'SigningCertificate' factory : "), ldloc:string(var_9_3F), ldstr:string("."))))
|
||||
}
|
||||
|
||||
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: 0x0600C798 RID: 51096 RVA: 0x002DA9A0 File Offset: 0x002D8BA0
|
||||
[Token(Token = "0x600C798")]
|
||||
[Address(RVA = "0x284C200", Offset = "0x284B000", VA = "0x18284C200")]
|
||||
public SigningCertificate(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.certs = asn1Sequence;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
Asn1Sequence asn1Sequence2;
|
||||
this.policies = asn1Sequence2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C799 RID: 51097 RVA: 0x002DA9E0 File Offset: 0x002D8BE0
|
||||
[Token(Token = "0x600C799")]
|
||||
[Address(RVA = "0x284C350", Offset = "0x284B150", VA = "0x18284C350")]
|
||||
public SigningCertificate(EssCertID essCertID)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(essCertID);
|
||||
this.certs = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600C79A RID: 51098 RVA: 0x002DAA04 File Offset: 0x002D8C04
|
||||
[Token(Token = "0x600C79A")]
|
||||
[Address(RVA = "0x284BB10", Offset = "0x284A910", VA = "0x18284BB10")]
|
||||
public EssCertID[] GetCerts()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.certs;
|
||||
Asn1Encodable asn1Encodable;
|
||||
EssCertID[] array = new EssCertID[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence2 = this.certs;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num != asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.certs.Parser;
|
||||
EssCertID essCertID;
|
||||
if (essCertID != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = essCertID;
|
||||
Asn1Sequence asn1Sequence3 = this.certs;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C79B RID: 51099 RVA: 0x002DAA5C File Offset: 0x002D8C5C
|
||||
[Token(Token = "0x600C79B")]
|
||||
[Address(RVA = "0x284BF50", Offset = "0x284AD50", VA = "0x18284BF50")]
|
||||
public PolicyInformation[] GetPolicies()
|
||||
{
|
||||
if (this.policies != 0)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
PolicyInformation[] array = new PolicyInformation[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence = this.policies;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num != asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.policies.Parser;
|
||||
PolicyInformation policyInformation;
|
||||
if (policyInformation != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = policyInformation;
|
||||
Asn1Sequence asn1Sequence2 = this.policies;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C79C RID: 51100 RVA: 0x002DAAB8 File Offset: 0x002D8CB8
|
||||
[Token(Token = "0x600C79C")]
|
||||
[Address(RVA = "0x284C090", Offset = "0x284AE90", VA = "0x18284C090", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.certs;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1Sequence;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.policies != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence2 = this.policies;
|
||||
if (asn1Sequence2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Sequence2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007F6A RID: 32618
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F6A")]
|
||||
private Asn1Sequence certs;
|
||||
|
||||
// Token: 0x04007F6B RID: 32619
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007F6B")]
|
||||
private Asn1Sequence policies;
|
||||
}
|
||||
}
|
||||
+170
@@ -0,0 +1,170 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001EDE RID: 7902
|
||||
[Token(Token = "0x2001EDE")]
|
||||
public class SigningCertificateV2 : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C79D RID: 51101 RVA: 0x002DAB24 File Offset: 0x002D8D24
|
||||
[Token(Token = "0x600C79D")]
|
||||
[Address(RVA = "0x284B340", Offset = "0x284A140", VA = "0x18284B340")]
|
||||
public static SigningCertificateV2 GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C79D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.SigningCertificateV2 BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess.SigningCertificateV2::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in 'SigningCertificateV2' factory : "), ldloc:string(var_6_2C), ldstr:string("."))))
|
||||
}
|
||||
|
||||
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: 0x0600C79E RID: 51102 RVA: 0x002DAB78 File Offset: 0x002D8D78
|
||||
[Token(Token = "0x600C79E")]
|
||||
[Address(RVA = "0x284B900", Offset = "0x284A700", VA = "0x18284B900")]
|
||||
private SigningCertificateV2(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.certs = asn1Sequence;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
Asn1Sequence asn1Sequence2;
|
||||
this.policies = asn1Sequence2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C79F RID: 51103 RVA: 0x002DABB8 File Offset: 0x002D8DB8
|
||||
[Token(Token = "0x600C79F")]
|
||||
[Address(RVA = "0x284B890", Offset = "0x284A690", VA = "0x18284B890")]
|
||||
public SigningCertificateV2(EssCertIDv2 cert)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(cert);
|
||||
this.certs = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7A0 RID: 51104 RVA: 0x002DABDC File Offset: 0x002D8DDC
|
||||
[Token(Token = "0x600C7A0")]
|
||||
[Address(RVA = "0x284BAA0", Offset = "0x284A8A0", VA = "0x18284BAA0")]
|
||||
public SigningCertificateV2(EssCertIDv2[] certs)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(certs);
|
||||
this.certs = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7A1 RID: 51105 RVA: 0x002DAC00 File Offset: 0x002D8E00
|
||||
[Token(Token = "0x600C7A1")]
|
||||
[Address(RVA = "0x284B7F0", Offset = "0x284A5F0", VA = "0x18284B7F0")]
|
||||
public SigningCertificateV2(EssCertIDv2[] certs, PolicyInformation[] policies)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(certs);
|
||||
this.certs = derSequence;
|
||||
if (policies != 0)
|
||||
{
|
||||
DerSequence derSequence2 = new DerSequence(policies);
|
||||
this.policies = derSequence2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C7A2 RID: 51106 RVA: 0x002DAC34 File Offset: 0x002D8E34
|
||||
[Token(Token = "0x600C7A2")]
|
||||
[Address(RVA = "0x284B200", Offset = "0x284A000", VA = "0x18284B200")]
|
||||
public EssCertIDv2[] GetCerts()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.certs;
|
||||
Asn1Encodable asn1Encodable;
|
||||
EssCertIDv2[] array = new EssCertIDv2[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence2 = this.certs;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num != asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.certs.Parser;
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7A3 RID: 51107 RVA: 0x002DAC90 File Offset: 0x002D8E90
|
||||
[Token(Token = "0x600C7A3")]
|
||||
[Address(RVA = "0x284B540", Offset = "0x284A340", VA = "0x18284B540")]
|
||||
public PolicyInformation[] GetPolicies()
|
||||
{
|
||||
if (this.policies != 0)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
PolicyInformation[] array = new PolicyInformation[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence = this.policies;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num != asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.policies.Parser;
|
||||
PolicyInformation policyInformation;
|
||||
if (policyInformation != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = policyInformation;
|
||||
Asn1Sequence asn1Sequence2 = this.policies;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C7A4 RID: 51108 RVA: 0x002DACEC File Offset: 0x002D8EEC
|
||||
[Token(Token = "0x600C7A4")]
|
||||
[Address(RVA = "0x284B680", Offset = "0x284A480", VA = "0x18284B680", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.certs;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1Sequence;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.policies != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence2 = this.policies;
|
||||
if (asn1Sequence2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Sequence2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007F6C RID: 32620
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007F6C")]
|
||||
private readonly Asn1Sequence certs;
|
||||
|
||||
// Token: 0x04007F6D RID: 32621
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007F6D")]
|
||||
private readonly Asn1Sequence policies;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user