m
This commit is contained in:
@@ -0,0 +1,140 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001FB7 RID: 8119
|
||||
[Token(Token = "0x2001FB7")]
|
||||
public class ContentHints : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB39 RID: 52025 RVA: 0x002E27DC File Offset: 0x002E09DC
|
||||
[Token(Token = "0x600CB39")]
|
||||
[Address(RVA = "0x2EA6630", Offset = "0x2EA5630", VA = "0x182EA6630")]
|
||||
public static ContentHints GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB39)
|
||||
|
||||
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: 0x0600CB3A RID: 52026 RVA: 0x002E2830 File Offset: 0x002E0A30
|
||||
[Token(Token = "0x600CB3A")]
|
||||
[Address(RVA = "0x2EA6A10", Offset = "0x2EA5A10", VA = "0x182EA6A10")]
|
||||
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: 0x0600CB3B RID: 52027 RVA: 0x002E2880 File Offset: 0x002E0A80
|
||||
[Token(Token = "0x600CB3B")]
|
||||
[Address(RVA = "0x2EA6BA0", Offset = "0x2EA5BA0", VA = "0x182EA6BA0")]
|
||||
public ContentHints(DerObjectIdentifier contentType)
|
||||
{
|
||||
this.contentType = contentType;
|
||||
this.contentDescription = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB3C RID: 52028 RVA: 0x002E28A4 File Offset: 0x002E0AA4
|
||||
[Token(Token = "0x600CB3C")]
|
||||
[Address(RVA = "0x2EA69D0", Offset = "0x2EA59D0", VA = "0x182EA69D0")]
|
||||
public ContentHints(DerObjectIdentifier contentType, DerUtf8String contentDescription)
|
||||
{
|
||||
this.contentType = contentType;
|
||||
this.contentDescription = contentDescription;
|
||||
}
|
||||
|
||||
// Token: 0x17001FCA RID: 8138
|
||||
// (get) Token: 0x0600CB3D RID: 52029 RVA: 0x002E28C8 File Offset: 0x002E0AC8
|
||||
[Token(Token = "0x17001FCA")]
|
||||
public DerObjectIdentifier ContentType
|
||||
{
|
||||
[Token(Token = "0x600CB3D")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.contentType;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FCB RID: 8139
|
||||
// (get) Token: 0x0600CB3E RID: 52030 RVA: 0x002E28DC File Offset: 0x002E0ADC
|
||||
[Token(Token = "0x17001FCB")]
|
||||
public DerUtf8String ContentDescription
|
||||
{
|
||||
[Token(Token = "0x600CB3E")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.contentDescription;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB3F RID: 52031 RVA: 0x002E28F0 File Offset: 0x002E0AF0
|
||||
[Token(Token = "0x600CB3F")]
|
||||
[Address(RVA = "0x2EA6830", Offset = "0x2EA5830", VA = "0x182EA6830", 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: 0x04008116 RID: 33046
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008116")]
|
||||
private readonly DerUtf8String contentDescription;
|
||||
|
||||
// Token: 0x04008117 RID: 33047
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008117")]
|
||||
private readonly DerObjectIdentifier contentType;
|
||||
}
|
||||
}
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Ess
|
||||
{
|
||||
// Token: 0x02001FB8 RID: 8120
|
||||
[Token(Token = "0x2001FB8")]
|
||||
public class ContentIdentifier : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB40 RID: 52032 RVA: 0x002E295C File Offset: 0x002E0B5C
|
||||
[Token(Token = "0x600CB40")]
|
||||
[Address(RVA = "0x2EA6BD0", Offset = "0x2EA5BD0", VA = "0x182EA6BD0")]
|
||||
public static ContentIdentifier GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB40)
|
||||
|
||||
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: 0x0600CB41 RID: 52033 RVA: 0x002E29B8 File Offset: 0x002E0BB8
|
||||
[Token(Token = "0x600CB41")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public ContentIdentifier(Asn1OctetString value)
|
||||
{
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB42 RID: 52034 RVA: 0x002E29D4 File Offset: 0x002E0BD4
|
||||
[Token(Token = "0x600CB42")]
|
||||
[Address(RVA = "0x2EA6DD0", Offset = "0x2EA5DD0", VA = "0x182EA6DD0")]
|
||||
public ContentIdentifier(byte[] value)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(value);
|
||||
base..ctor();
|
||||
this.value = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x17001FCC RID: 8140
|
||||
// (get) Token: 0x0600CB43 RID: 52035 RVA: 0x002E29F8 File Offset: 0x002E0BF8
|
||||
[Token(Token = "0x17001FCC")]
|
||||
public Asn1OctetString Value
|
||||
{
|
||||
[Token(Token = "0x600CB43")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB44 RID: 52036 RVA: 0x002E2A0C File Offset: 0x002E0C0C
|
||||
[Token(Token = "0x600CB44")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB44)
|
||||
|
||||
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: 0x04008118 RID: 33048
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008118")]
|
||||
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: 0x02001FB9 RID: 8121
|
||||
[Token(Token = "0x2001FB9")]
|
||||
public class EssCertID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB45 RID: 52037 RVA: 0x002E2A20 File Offset: 0x002E0C20
|
||||
[Token(Token = "0x600CB45")]
|
||||
[Address(RVA = "0x2EAB820", Offset = "0x2EAA820", VA = "0x182EAB820")]
|
||||
public static EssCertID GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB45)
|
||||
|
||||
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: 0x0600CB46 RID: 52038 RVA: 0x002E2A88 File Offset: 0x002E0C88
|
||||
[Token(Token = "0x600CB46")]
|
||||
[Address(RVA = "0x2EABD90", Offset = "0x2EAAD90", VA = "0x182EABD90")]
|
||||
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: 0x0600CB47 RID: 52039 RVA: 0x002E2AC8 File Offset: 0x002E0CC8
|
||||
[Token(Token = "0x600CB47")]
|
||||
[Address(RVA = "0x2EABD20", Offset = "0x2EAAD20", VA = "0x182EABD20")]
|
||||
public EssCertID(byte[] hash)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(hash);
|
||||
this.certHash = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB48 RID: 52040 RVA: 0x002E2AEC File Offset: 0x002E0CEC
|
||||
[Token(Token = "0x600CB48")]
|
||||
[Address(RVA = "0x2EABCA0", Offset = "0x2EAACA0", VA = "0x182EABCA0")]
|
||||
public EssCertID(byte[] hash, IssuerSerial issuerSerial)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(hash);
|
||||
this.certHash = derOctetString;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB49 RID: 52041 RVA: 0x002E2B14 File Offset: 0x002E0D14
|
||||
[Token(Token = "0x600CB49")]
|
||||
[Address(RVA = "0x4DB0F0", Offset = "0x4DA0F0", VA = "0x1804DB0F0")]
|
||||
public byte[] GetCertHash()
|
||||
{
|
||||
Stream octetStream = ((Asn1OctetStringParser)this.certHash).GetOctetStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001FCD RID: 8141
|
||||
// (get) Token: 0x0600CB4A RID: 52042 RVA: 0x002E2B34 File Offset: 0x002E0D34
|
||||
[Token(Token = "0x17001FCD")]
|
||||
public IssuerSerial IssuerSerial
|
||||
{
|
||||
[Token(Token = "0x600CB4A")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.issuerSerial;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB4B RID: 52043 RVA: 0x002E2B48 File Offset: 0x002E0D48
|
||||
[Token(Token = "0x600CB4B")]
|
||||
[Address(RVA = "0x2EABB30", Offset = "0x2EAAB30", VA = "0x182EABB30", 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: 0x04008119 RID: 33049
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008119")]
|
||||
private Asn1OctetString certHash;
|
||||
|
||||
// Token: 0x0400811A RID: 33050
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400811A")]
|
||||
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: 0x02001FBA RID: 8122
|
||||
[Token(Token = "0x2001FBA")]
|
||||
public class EssCertIDv2 : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB4C RID: 52044 RVA: 0x002E2BB4 File Offset: 0x002E0DB4
|
||||
[Token(Token = "0x600CB4C")]
|
||||
[Address(RVA = "0x2EABF40", Offset = "0x2EAAF40", VA = "0x182EABF40")]
|
||||
public static EssCertIDv2 GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
return new EssCertIDv2(Asn1Sequence.GetInstance(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB4D RID: 52045 RVA: 0x002E2BD8 File Offset: 0x002E0DD8
|
||||
[Token(Token = "0x600CB4D")]
|
||||
[Address(RVA = "0x2EAC510", Offset = "0x2EAB510", VA = "0x182EAC510")]
|
||||
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: 0x0600CB4E RID: 52046 RVA: 0x002E2C50 File Offset: 0x002E0E50
|
||||
[Token(Token = "0x600CB4E")]
|
||||
[Address(RVA = "0x2EAC480", Offset = "0x2EAB480", VA = "0x182EAC480")]
|
||||
public EssCertIDv2(byte[] certHash)
|
||||
{
|
||||
AlgorithmIdentifier defaultAlgID = EssCertIDv2.DefaultAlgID;
|
||||
this.hashAlgorithm = defaultAlgID;
|
||||
this.certHash = certHash;
|
||||
this.issuerSerial = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB4F RID: 52047 RVA: 0x002E2C80 File Offset: 0x002E0E80
|
||||
[Token(Token = "0x600CB4F")]
|
||||
[Address(RVA = "0x2EAC790", Offset = "0x2EAB790", VA = "0x182EAC790")]
|
||||
public EssCertIDv2(AlgorithmIdentifier algId, byte[] certHash)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600CB50 RID: 52048 RVA: 0x002E2C90 File Offset: 0x002E0E90
|
||||
[Token(Token = "0x600CB50")]
|
||||
[Address(RVA = "0x2EAC3F0", Offset = "0x2EAB3F0", VA = "0x182EAC3F0")]
|
||||
public EssCertIDv2(byte[] certHash, IssuerSerial issuerSerial)
|
||||
{
|
||||
AlgorithmIdentifier defaultAlgID = EssCertIDv2.DefaultAlgID;
|
||||
this.hashAlgorithm = defaultAlgID;
|
||||
this.certHash = certHash;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB51 RID: 52049 RVA: 0x002E2CC0 File Offset: 0x002E0EC0
|
||||
[Token(Token = "0x600CB51")]
|
||||
[Address(RVA = "0x2EAC350", Offset = "0x2EAB350", VA = "0x182EAC350")]
|
||||
public EssCertIDv2(AlgorithmIdentifier algId, byte[] certHash, IssuerSerial issuerSerial)
|
||||
{
|
||||
if (algId == 0)
|
||||
{
|
||||
}
|
||||
this.hashAlgorithm = algId;
|
||||
this.certHash = certHash;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
|
||||
// Token: 0x17001FCE RID: 8142
|
||||
// (get) Token: 0x0600CB52 RID: 52050 RVA: 0x002E2CEC File Offset: 0x002E0EEC
|
||||
[Token(Token = "0x17001FCE")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600CB52")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB53 RID: 52051 RVA: 0x002E2D00 File Offset: 0x002E0F00
|
||||
[Token(Token = "0x600CB53")]
|
||||
[Address(RVA = "0x2EABEE0", Offset = "0x2EAAEE0", VA = "0x182EABEE0")]
|
||||
public byte[] GetCertHash()
|
||||
{
|
||||
return Arrays.Clone(this.certHash);
|
||||
}
|
||||
|
||||
// Token: 0x17001FCF RID: 8143
|
||||
// (get) Token: 0x0600CB54 RID: 52052 RVA: 0x002E2D18 File Offset: 0x002E0F18
|
||||
[Token(Token = "0x17001FCF")]
|
||||
public IssuerSerial IssuerSerial
|
||||
{
|
||||
[Token(Token = "0x600CB54")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.issuerSerial;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB55 RID: 52053 RVA: 0x002E2D2C File Offset: 0x002E0F2C
|
||||
[Token(Token = "0x600CB55")]
|
||||
[Address(RVA = "0x2EABFF0", Offset = "0x2EAAFF0", VA = "0x182EABFF0", 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: 0x0400811B RID: 33051
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400811B")]
|
||||
private readonly AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x0400811C RID: 33052
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400811C")]
|
||||
private readonly byte[] certHash;
|
||||
|
||||
// Token: 0x0400811D RID: 33053
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400811D")]
|
||||
private readonly IssuerSerial issuerSerial;
|
||||
|
||||
// Token: 0x0400811E RID: 33054
|
||||
[Token(Token = "0x400811E")]
|
||||
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: 0x02001FBB RID: 8123
|
||||
[Token(Token = "0x2001FBB")]
|
||||
[Obsolete]
|
||||
public class OtherCertID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB57 RID: 52055 RVA: 0x002E2DF0 File Offset: 0x002E0FF0
|
||||
[Token(Token = "0x600CB57")]
|
||||
[Address(RVA = "0x2EB2C40", Offset = "0x2EB1C40", VA = "0x182EB2C40")]
|
||||
public static OtherCertID GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB57)
|
||||
|
||||
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: 0x0600CB58 RID: 52056 RVA: 0x002E2E44 File Offset: 0x002E1044
|
||||
[Token(Token = "0x600CB58")]
|
||||
[Address(RVA = "0x2EB34C0", Offset = "0x2EB24C0", VA = "0x182EB34C0")]
|
||||
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: 0x0600CB59 RID: 52057 RVA: 0x002E2EAC File Offset: 0x002E10AC
|
||||
[Token(Token = "0x600CB59")]
|
||||
[Address(RVA = "0x2EB3440", Offset = "0x2EB2440", VA = "0x182EB3440")]
|
||||
public OtherCertID(AlgorithmIdentifier algId, byte[] digest)
|
||||
{
|
||||
DigestInfo digestInfo = new DigestInfo(algId, digest);
|
||||
this.otherCertHash = digestInfo;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB5A RID: 52058 RVA: 0x002E2ED0 File Offset: 0x002E10D0
|
||||
[Token(Token = "0x600CB5A")]
|
||||
[Address(RVA = "0x2EB3150", Offset = "0x2EB2150", VA = "0x182EB3150")]
|
||||
public OtherCertID(AlgorithmIdentifier algId, byte[] digest, IssuerSerial issuerSerial)
|
||||
{
|
||||
DigestInfo digestInfo = new DigestInfo(algId, digest);
|
||||
this.otherCertHash = digestInfo;
|
||||
this.issuerSerial = issuerSerial;
|
||||
}
|
||||
|
||||
// Token: 0x17001FD0 RID: 8144
|
||||
// (get) Token: 0x0600CB5B RID: 52059 RVA: 0x002E2EFC File Offset: 0x002E10FC
|
||||
[Token(Token = "0x17001FD0")]
|
||||
public AlgorithmIdentifier AlgorithmHash
|
||||
{
|
||||
[Token(Token = "0x600CB5B")]
|
||||
[Address(RVA = "0x2EB3750", Offset = "0x2EB2750", VA = "0x182EB3750")]
|
||||
get
|
||||
{
|
||||
Asn1Object asn1Object = this.otherCertHash.ToAsn1Object();
|
||||
if (asn1Object != 0 && asn1Object != 0)
|
||||
{
|
||||
return new AlgorithmIdentifier(OiwObjectIdentifiers.IdSha1);
|
||||
}
|
||||
return DigestInfo.GetInstance(this.otherCertHash).algID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB5C RID: 52060 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x600CB5C")]
|
||||
[Address(RVA = "0x2EB28C0", Offset = "0x2EB18C0", VA = "0x182EB28C0")]
|
||||
public byte[] GetCertHash()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x17001FD1 RID: 8145
|
||||
// (get) Token: 0x0600CB5D RID: 52061 RVA: 0x002E2F40 File Offset: 0x002E1140
|
||||
[Token(Token = "0x17001FD1")]
|
||||
public IssuerSerial IssuerSerial
|
||||
{
|
||||
[Token(Token = "0x600CB5D")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.issuerSerial;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB5E RID: 52062 RVA: 0x002E2F54 File Offset: 0x002E1154
|
||||
[Token(Token = "0x600CB5E")]
|
||||
[Address(RVA = "0x2EB2FE0", Offset = "0x2EB1FE0", VA = "0x182EB2FE0", 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: 0x0400811F RID: 33055
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400811F")]
|
||||
private Asn1Encodable otherCertHash;
|
||||
|
||||
// Token: 0x04008120 RID: 33056
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008120")]
|
||||
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: 0x02001FBC RID: 8124
|
||||
[Token(Token = "0x2001FBC")]
|
||||
[Obsolete]
|
||||
public class OtherSigningCertificate : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB5F RID: 52063 RVA: 0x002E2FC0 File Offset: 0x002E11C0
|
||||
[Token(Token = "0x600CB5F")]
|
||||
[Address(RVA = "0x2EB5400", Offset = "0x2EB4400", VA = "0x182EB5400")]
|
||||
public static OtherSigningCertificate GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB5F)
|
||||
|
||||
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: 0x0600CB60 RID: 52064 RVA: 0x002E3028 File Offset: 0x002E1228
|
||||
[Token(Token = "0x600CB60")]
|
||||
[Address(RVA = "0x2EB5DE0", Offset = "0x2EB4DE0", VA = "0x182EB5DE0")]
|
||||
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: 0x0600CB61 RID: 52065 RVA: 0x002E3068 File Offset: 0x002E1268
|
||||
[Token(Token = "0x600CB61")]
|
||||
[Address(RVA = "0x2EB5C90", Offset = "0x2EB4C90", VA = "0x182EB5C90")]
|
||||
public OtherSigningCertificate(OtherCertID otherCertID)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(otherCertID);
|
||||
this.certs = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB62 RID: 52066 RVA: 0x002E308C File Offset: 0x002E128C
|
||||
[Token(Token = "0x600CB62")]
|
||||
[Address(RVA = "0x2EB4F80", Offset = "0x2EB3F80", VA = "0x182EB4F80")]
|
||||
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: 0x0600CB63 RID: 52067 RVA: 0x002E30E4 File Offset: 0x002E12E4
|
||||
[Token(Token = "0x600CB63")]
|
||||
[Address(RVA = "0x2EB5710", Offset = "0x2EB4710", VA = "0x182EB5710")]
|
||||
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: 0x0600CB64 RID: 52068 RVA: 0x002E3140 File Offset: 0x002E1340
|
||||
[Token(Token = "0x600CB64")]
|
||||
[Address(RVA = "0x2EB59B0", Offset = "0x2EB49B0", VA = "0x182EB59B0", 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: 0x04008121 RID: 33057
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008121")]
|
||||
private Asn1Sequence certs;
|
||||
|
||||
// Token: 0x04008122 RID: 33058
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008122")]
|
||||
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: 0x02001FBD RID: 8125
|
||||
[Token(Token = "0x2001FBD")]
|
||||
public class SigningCertificate : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB65 RID: 52069 RVA: 0x002E31AC File Offset: 0x002E13AC
|
||||
[Token(Token = "0x600CB65")]
|
||||
[Address(RVA = "0x2EBC550", Offset = "0x2EBB550", VA = "0x182EBC550")]
|
||||
public static SigningCertificate GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB65)
|
||||
|
||||
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: 0x0600CB66 RID: 52070 RVA: 0x002E3214 File Offset: 0x002E1414
|
||||
[Token(Token = "0x600CB66")]
|
||||
[Address(RVA = "0x2EBCB10", Offset = "0x2EBBB10", VA = "0x182EBCB10")]
|
||||
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: 0x0600CB67 RID: 52071 RVA: 0x002E3254 File Offset: 0x002E1454
|
||||
[Token(Token = "0x600CB67")]
|
||||
[Address(RVA = "0x2EBCC60", Offset = "0x2EBBC60", VA = "0x182EBCC60")]
|
||||
public SigningCertificate(EssCertID essCertID)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(essCertID);
|
||||
this.certs = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB68 RID: 52072 RVA: 0x002E3278 File Offset: 0x002E1478
|
||||
[Token(Token = "0x600CB68")]
|
||||
[Address(RVA = "0x2EBC420", Offset = "0x2EBB420", VA = "0x182EBC420")]
|
||||
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: 0x0600CB69 RID: 52073 RVA: 0x002E32D0 File Offset: 0x002E14D0
|
||||
[Token(Token = "0x600CB69")]
|
||||
[Address(RVA = "0x2EBC860", Offset = "0x2EBB860", VA = "0x182EBC860")]
|
||||
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: 0x0600CB6A RID: 52074 RVA: 0x002E332C File Offset: 0x002E152C
|
||||
[Token(Token = "0x600CB6A")]
|
||||
[Address(RVA = "0x2EBC9A0", Offset = "0x2EBB9A0", VA = "0x182EBC9A0", 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: 0x04008123 RID: 33059
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008123")]
|
||||
private Asn1Sequence certs;
|
||||
|
||||
// Token: 0x04008124 RID: 33060
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008124")]
|
||||
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: 0x02001FBE RID: 8126
|
||||
[Token(Token = "0x2001FBE")]
|
||||
public class SigningCertificateV2 : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CB6B RID: 52075 RVA: 0x002E3398 File Offset: 0x002E1598
|
||||
[Token(Token = "0x600CB6B")]
|
||||
[Address(RVA = "0x2EBBC50", Offset = "0x2EBAC50", VA = "0x182EBBC50")]
|
||||
public static SigningCertificateV2 GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CB6B)
|
||||
|
||||
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: 0x0600CB6C RID: 52076 RVA: 0x002E33EC File Offset: 0x002E15EC
|
||||
[Token(Token = "0x600CB6C")]
|
||||
[Address(RVA = "0x2EBC210", Offset = "0x2EBB210", VA = "0x182EBC210")]
|
||||
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: 0x0600CB6D RID: 52077 RVA: 0x002E342C File Offset: 0x002E162C
|
||||
[Token(Token = "0x600CB6D")]
|
||||
[Address(RVA = "0x2EBC1A0", Offset = "0x2EBB1A0", VA = "0x182EBC1A0")]
|
||||
public SigningCertificateV2(EssCertIDv2 cert)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(cert);
|
||||
this.certs = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB6E RID: 52078 RVA: 0x002E3450 File Offset: 0x002E1650
|
||||
[Token(Token = "0x600CB6E")]
|
||||
[Address(RVA = "0x2EBC3B0", Offset = "0x2EBB3B0", VA = "0x182EBC3B0")]
|
||||
public SigningCertificateV2(EssCertIDv2[] certs)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(certs);
|
||||
this.certs = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB6F RID: 52079 RVA: 0x002E3474 File Offset: 0x002E1674
|
||||
[Token(Token = "0x600CB6F")]
|
||||
[Address(RVA = "0x2EBC100", Offset = "0x2EBB100", VA = "0x182EBC100")]
|
||||
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: 0x0600CB70 RID: 52080 RVA: 0x002E34A8 File Offset: 0x002E16A8
|
||||
[Token(Token = "0x600CB70")]
|
||||
[Address(RVA = "0x2EBBB10", Offset = "0x2EBAB10", VA = "0x182EBBB10")]
|
||||
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: 0x0600CB71 RID: 52081 RVA: 0x002E3504 File Offset: 0x002E1704
|
||||
[Token(Token = "0x600CB71")]
|
||||
[Address(RVA = "0x2EBBE50", Offset = "0x2EBAE50", VA = "0x182EBBE50")]
|
||||
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: 0x0600CB72 RID: 52082 RVA: 0x002E3560 File Offset: 0x002E1760
|
||||
[Token(Token = "0x600CB72")]
|
||||
[Address(RVA = "0x2EBBF90", Offset = "0x2EBAF90", VA = "0x182EBBF90", 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: 0x04008125 RID: 33061
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008125")]
|
||||
private readonly Asn1Sequence certs;
|
||||
|
||||
// Token: 0x04008126 RID: 33062
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008126")]
|
||||
private readonly Asn1Sequence policies;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user