a
This commit is contained in:
@@ -0,0 +1,210 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001E44 RID: 7748
|
||||
[Token(Token = "0x2001E44")]
|
||||
public class Accuracy : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C46D RID: 50285 RVA: 0x002CD144 File Offset: 0x002CB344
|
||||
[Token(Token = "0x600C46D")]
|
||||
[Address(RVA = "0x2719710", Offset = "0x2718510", VA = "0x182719710")]
|
||||
public Accuracy(DerInteger seconds, DerInteger millis, DerInteger micros)
|
||||
{
|
||||
if (millis != 0)
|
||||
{
|
||||
int intValue = millis.Value.IntValue;
|
||||
int intValue2 = millis.Value.IntValue;
|
||||
}
|
||||
if (micros != 0)
|
||||
{
|
||||
int intValue3 = micros.Value.IntValue;
|
||||
int intValue4 = micros.Value.IntValue;
|
||||
}
|
||||
this.seconds = seconds;
|
||||
this.millis = millis;
|
||||
this.micros = micros;
|
||||
}
|
||||
|
||||
// Token: 0x0600C46E RID: 50286 RVA: 0x002CD1B0 File Offset: 0x002CB3B0
|
||||
[Token(Token = "0x600C46E")]
|
||||
[Address(RVA = "0x2719410", Offset = "0x2718210", VA = "0x182719410")]
|
||||
private Accuracy(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C46E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.Accuracy::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_B2:
|
||||
stloc:ArgumentException(var_13_BC, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Invalig tag number")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C46F RID: 50287 RVA: 0x002CD27C File Offset: 0x002CB47C
|
||||
[Token(Token = "0x600C46F")]
|
||||
[Address(RVA = "0x2718F80", Offset = "0x2717D80", VA = "0x182718F80")]
|
||||
public static Accuracy GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C46F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.Accuracy BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.Accuracy::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_3F, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in 'Accuracy' factory: "), ldloc:string(var_6_2C))))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001E7C RID: 7804
|
||||
// (get) Token: 0x0600C470 RID: 50288 RVA: 0x002CD2CC File Offset: 0x002CB4CC
|
||||
[Token(Token = "0x17001E7C")]
|
||||
public DerInteger Seconds
|
||||
{
|
||||
[Token(Token = "0x600C470")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.seconds;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E7D RID: 7805
|
||||
// (get) Token: 0x0600C471 RID: 50289 RVA: 0x002CD2E0 File Offset: 0x002CB4E0
|
||||
[Token(Token = "0x17001E7D")]
|
||||
public DerInteger Millis
|
||||
{
|
||||
[Token(Token = "0x600C471")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.millis;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E7E RID: 7806
|
||||
// (get) Token: 0x0600C472 RID: 50290 RVA: 0x002CD2F4 File Offset: 0x002CB4F4
|
||||
[Token(Token = "0x17001E7E")]
|
||||
public DerInteger Micros
|
||||
{
|
||||
[Token(Token = "0x600C472")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.micros;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C473 RID: 50291 RVA: 0x002CD308 File Offset: 0x002CB508
|
||||
[Token(Token = "0x600C473")]
|
||||
[Address(RVA = "0x2719170", Offset = "0x2717F70", VA = "0x182719170", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.seconds != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerInteger derInteger = this.seconds;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.millis != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerInteger derInteger2 = this.millis;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, derInteger2);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.micros != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerInteger derInteger3 = this.micros;
|
||||
int num3;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(num3 != 0, 1, derInteger3);
|
||||
num3 = 0;
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007C08 RID: 31752
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007C08")]
|
||||
private readonly DerInteger seconds;
|
||||
|
||||
// Token: 0x04007C09 RID: 31753
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007C09")]
|
||||
private readonly DerInteger millis;
|
||||
|
||||
// Token: 0x04007C0A RID: 31754
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007C0A")]
|
||||
private readonly DerInteger micros;
|
||||
|
||||
// Token: 0x04007C0B RID: 31755
|
||||
[Token(Token = "0x4007C0B")]
|
||||
protected const int MinMillis = 1;
|
||||
|
||||
// Token: 0x04007C0C RID: 31756
|
||||
[Token(Token = "0x4007C0C")]
|
||||
protected const int MaxMillis = 999;
|
||||
|
||||
// Token: 0x04007C0D RID: 31757
|
||||
[Token(Token = "0x4007C0D")]
|
||||
protected const int MinMicros = 1;
|
||||
|
||||
// Token: 0x04007C0E RID: 31758
|
||||
[Token(Token = "0x4007C0E")]
|
||||
protected const int MaxMicros = 999;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001E45 RID: 7749
|
||||
[Token(Token = "0x2001E45")]
|
||||
public class MessageImprint : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C474 RID: 50292 RVA: 0x002CD3D4 File Offset: 0x002CB5D4
|
||||
[Token(Token = "0x600C474")]
|
||||
[Address(RVA = "0x272CB10", Offset = "0x272B910", VA = "0x18272CB10")]
|
||||
public static MessageImprint GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C474)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.MessageImprint BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.MessageImprint::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3F:
|
||||
stloc:string(var_9_45, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_10_58, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in 'MessageImprint' factory: "), ldloc:string(var_9_45))))
|
||||
stloc:ArgumentException(var_11_69, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C475 RID: 50293 RVA: 0x002CD44C File Offset: 0x002CB64C
|
||||
[Token(Token = "0x600C475")]
|
||||
[Address(RVA = "0x272CF20", Offset = "0x272BD20", VA = "0x18272CF20")]
|
||||
private MessageImprint(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C475)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.MessageImprint::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:ArgumentException(var_6_48, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C476 RID: 50294 RVA: 0x002CD4A4 File Offset: 0x002CB6A4
|
||||
[Token(Token = "0x600C476")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public MessageImprint(AlgorithmIdentifier hashAlgorithm, byte[] hashedMessage)
|
||||
{
|
||||
this.hashAlgorithm = hashAlgorithm;
|
||||
this.hashedMessage = hashedMessage;
|
||||
}
|
||||
|
||||
// Token: 0x17001E7F RID: 7807
|
||||
// (get) Token: 0x0600C477 RID: 50295 RVA: 0x002CD4C8 File Offset: 0x002CB6C8
|
||||
[Token(Token = "0x17001E7F")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600C477")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C478 RID: 50296 RVA: 0x002CD4DC File Offset: 0x002CB6DC
|
||||
[Token(Token = "0x600C478")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
public byte[] GetHashedMessage()
|
||||
{
|
||||
return this.hashedMessage;
|
||||
}
|
||||
|
||||
// Token: 0x0600C479 RID: 50297 RVA: 0x002CD4F0 File Offset: 0x002CB6F0
|
||||
[Token(Token = "0x600C479")]
|
||||
[Address(RVA = "0x272CDE0", Offset = "0x272BBE0", VA = "0x18272CDE0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
AlgorithmIdentifier algorithmIdentifier = this.hashAlgorithm;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = algorithmIdentifier;
|
||||
DerOctetString derOctetString = new DerOctetString(this.hashedMessage);
|
||||
if (derOctetString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derOctetString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007C0F RID: 31759
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007C0F")]
|
||||
private readonly AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04007C10 RID: 31760
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007C10")]
|
||||
private readonly byte[] hashedMessage;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,270 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001E47 RID: 7751
|
||||
[Token(Token = "0x2001E47")]
|
||||
public class TimeStampReq : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C488 RID: 50312 RVA: 0x002CD974 File Offset: 0x002CBB74
|
||||
[Token(Token = "0x600C488")]
|
||||
[Address(RVA = "0x2731760", Offset = "0x2730560", VA = "0x182731760")]
|
||||
public static TimeStampReq GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C488)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.TimeStampReq BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.TimeStampReq::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_3F, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in 'TimeStampReq' factory: "), ldloc:string(var_6_2C))))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C489 RID: 50313 RVA: 0x002CD9C4 File Offset: 0x002CBBC4
|
||||
[Token(Token = "0x600C489")]
|
||||
[Address(RVA = "0x2731DA0", Offset = "0x2730BA0", VA = "0x182731DA0")]
|
||||
private TimeStampReq(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.version = derInteger;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
MessageImprint messageImprint;
|
||||
this.messageImprint = messageImprint;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (uint)2)
|
||||
{
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
if (parser3 != 0 && parser3 != 0)
|
||||
{
|
||||
Asn1SequenceParser parser4 = seq.Parser;
|
||||
DerObjectIdentifier derObjectIdentifier;
|
||||
this.tsaPolicy = derObjectIdentifier;
|
||||
}
|
||||
if (seq.Parser == 0)
|
||||
{
|
||||
if (seq.Parser == 0)
|
||||
{
|
||||
if (seq.Parser == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Asn1SequenceParser parser5 = seq.Parser;
|
||||
X509Extensions x509Extensions;
|
||||
this.extensions = x509Extensions;
|
||||
}
|
||||
Asn1SequenceParser parser6 = seq.Parser;
|
||||
DerBoolean derBoolean;
|
||||
this.certReq = derBoolean;
|
||||
}
|
||||
Asn1SequenceParser parser7 = seq.Parser;
|
||||
DerInteger derInteger2;
|
||||
this.nonce = derInteger2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C48A RID: 50314 RVA: 0x002CDA70 File Offset: 0x002CBC70
|
||||
[Token(Token = "0x600C48A")]
|
||||
[Address(RVA = "0x2731CF0", Offset = "0x2730AF0", VA = "0x182731CF0")]
|
||||
public TimeStampReq(MessageImprint messageImprint, DerObjectIdentifier tsaPolicy, DerInteger nonce, DerBoolean certReq, X509Extensions extensions)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(1);
|
||||
this.certReq = 0;
|
||||
this.version = derInteger;
|
||||
this.tsaPolicy = tsaPolicy;
|
||||
this.nonce = nonce;
|
||||
this.extensions = 0;
|
||||
this.messageImprint = messageImprint;
|
||||
}
|
||||
|
||||
// Token: 0x17001E8A RID: 7818
|
||||
// (get) Token: 0x0600C48B RID: 50315 RVA: 0x002CDAB4 File Offset: 0x002CBCB4
|
||||
[Token(Token = "0x17001E8A")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600C48B")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E8B RID: 7819
|
||||
// (get) Token: 0x0600C48C RID: 50316 RVA: 0x002CDAC8 File Offset: 0x002CBCC8
|
||||
[Token(Token = "0x17001E8B")]
|
||||
public MessageImprint MessageImprint
|
||||
{
|
||||
[Token(Token = "0x600C48C")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.messageImprint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E8C RID: 7820
|
||||
// (get) Token: 0x0600C48D RID: 50317 RVA: 0x002CDADC File Offset: 0x002CBCDC
|
||||
[Token(Token = "0x17001E8C")]
|
||||
public DerObjectIdentifier ReqPolicy
|
||||
{
|
||||
[Token(Token = "0x600C48D")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.tsaPolicy;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E8D RID: 7821
|
||||
// (get) Token: 0x0600C48E RID: 50318 RVA: 0x002CDAF0 File Offset: 0x002CBCF0
|
||||
[Token(Token = "0x17001E8D")]
|
||||
public DerInteger Nonce
|
||||
{
|
||||
[Token(Token = "0x600C48E")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
||||
get
|
||||
{
|
||||
return this.nonce;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E8E RID: 7822
|
||||
// (get) Token: 0x0600C48F RID: 50319 RVA: 0x002CDB04 File Offset: 0x002CBD04
|
||||
[Token(Token = "0x17001E8E")]
|
||||
public DerBoolean CertReq
|
||||
{
|
||||
[Token(Token = "0x600C48F")]
|
||||
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
||||
get
|
||||
{
|
||||
return this.certReq;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E8F RID: 7823
|
||||
// (get) Token: 0x0600C490 RID: 50320 RVA: 0x002CDB18 File Offset: 0x002CBD18
|
||||
[Token(Token = "0x17001E8F")]
|
||||
public X509Extensions Extensions
|
||||
{
|
||||
[Token(Token = "0x600C490")]
|
||||
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
|
||||
get
|
||||
{
|
||||
return this.extensions;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C491 RID: 50321 RVA: 0x002CDB2C File Offset: 0x002CBD2C
|
||||
[Token(Token = "0x600C491")]
|
||||
[Address(RVA = "0x2731950", Offset = "0x2730750", VA = "0x182731950", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerInteger derInteger = this.version;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
MessageImprint messageImprint = this.messageImprint;
|
||||
if (messageImprint != 0)
|
||||
{
|
||||
}
|
||||
array[1] = messageImprint;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.tsaPolicy != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerObjectIdentifier derObjectIdentifier = this.tsaPolicy;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derObjectIdentifier;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.nonce != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerInteger derInteger2 = this.nonce;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derInteger2;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerBoolean derBoolean = this.certReq;
|
||||
if (derBoolean != 0 && derBoolean.IsTrue)
|
||||
{
|
||||
Asn1Encodable[] array4 = new Asn1Encodable[1];
|
||||
DerBoolean derBoolean2 = this.certReq;
|
||||
if (derBoolean2 != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = derBoolean2;
|
||||
asn1EncodableVector.Add(array4);
|
||||
}
|
||||
if (this.extensions != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array5 = new Asn1Encodable[1];
|
||||
X509Extensions x509Extensions = this.extensions;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, x509Extensions);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array5[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array5);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007C1B RID: 31771
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007C1B")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04007C1C RID: 31772
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007C1C")]
|
||||
private readonly MessageImprint messageImprint;
|
||||
|
||||
// Token: 0x04007C1D RID: 31773
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007C1D")]
|
||||
private readonly DerObjectIdentifier tsaPolicy;
|
||||
|
||||
// Token: 0x04007C1E RID: 31774
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007C1E")]
|
||||
private readonly DerInteger nonce;
|
||||
|
||||
// Token: 0x04007C1F RID: 31775
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007C1F")]
|
||||
private readonly DerBoolean certReq;
|
||||
|
||||
// Token: 0x04007C20 RID: 31776
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007C20")]
|
||||
private readonly X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001E48 RID: 7752
|
||||
[Token(Token = "0x2001E48")]
|
||||
public class TimeStampResp : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C492 RID: 50322 RVA: 0x002CDC64 File Offset: 0x002CBE64
|
||||
[Token(Token = "0x600C492")]
|
||||
[Address(RVA = "0x2732070", Offset = "0x2730E70", VA = "0x182732070")]
|
||||
public static TimeStampResp GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C492)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.TimeStampResp BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.TimeStampResp::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_52, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in 'TimeStampResp' factory: "), ldloc:string(var_9_3F))))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C493 RID: 50323 RVA: 0x002CDCC4 File Offset: 0x002CBEC4
|
||||
[Token(Token = "0x600C493")]
|
||||
[Address(RVA = "0x2732430", Offset = "0x2731230", VA = "0x182732430")]
|
||||
private TimeStampResp(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
PkiStatusInfo pkiStatusInfo;
|
||||
this.pkiStatusInfo = pkiStatusInfo;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
ContentInfo contentInfo;
|
||||
this.timeStampToken = contentInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C494 RID: 50324 RVA: 0x002CDD00 File Offset: 0x002CBF00
|
||||
[Token(Token = "0x600C494")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public TimeStampResp(PkiStatusInfo pkiStatusInfo, ContentInfo timeStampToken)
|
||||
{
|
||||
this.pkiStatusInfo = pkiStatusInfo;
|
||||
this.timeStampToken = timeStampToken;
|
||||
}
|
||||
|
||||
// Token: 0x17001E90 RID: 7824
|
||||
// (get) Token: 0x0600C495 RID: 50325 RVA: 0x002CDD24 File Offset: 0x002CBF24
|
||||
[Token(Token = "0x17001E90")]
|
||||
public PkiStatusInfo Status
|
||||
{
|
||||
[Token(Token = "0x600C495")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.pkiStatusInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E91 RID: 7825
|
||||
// (get) Token: 0x0600C496 RID: 50326 RVA: 0x002CDD38 File Offset: 0x002CBF38
|
||||
[Token(Token = "0x17001E91")]
|
||||
public ContentInfo TimeStampToken
|
||||
{
|
||||
[Token(Token = "0x600C496")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.timeStampToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C497 RID: 50327 RVA: 0x002CDD4C File Offset: 0x002CBF4C
|
||||
[Token(Token = "0x600C497")]
|
||||
[Address(RVA = "0x27322C0", Offset = "0x27310C0", VA = "0x1827322C0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
PkiStatusInfo pkiStatusInfo = this.pkiStatusInfo;
|
||||
if (pkiStatusInfo != 0)
|
||||
{
|
||||
}
|
||||
array[0] = pkiStatusInfo;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.timeStampToken != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
ContentInfo contentInfo = this.timeStampToken;
|
||||
if (contentInfo != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = contentInfo;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007C21 RID: 31777
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007C21")]
|
||||
private readonly PkiStatusInfo pkiStatusInfo;
|
||||
|
||||
// Token: 0x04007C22 RID: 31778
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007C22")]
|
||||
private readonly ContentInfo timeStampToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,386 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001E46 RID: 7750
|
||||
[Token(Token = "0x2001E46")]
|
||||
public class TstInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C47A RID: 50298 RVA: 0x002CD53C File Offset: 0x002CB73C
|
||||
[Token(Token = "0x600C47A")]
|
||||
[Address(RVA = "0x27324C0", Offset = "0x27312C0", VA = "0x1827324C0")]
|
||||
public static TstInfo GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C47A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.TstInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.TstInfo::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_58:
|
||||
stloc:ArgumentException(var_11_62, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Bad object format in 'TstInfo' factory.")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C47B RID: 50299 RVA: 0x002CD5AC File Offset: 0x002CB7AC
|
||||
[Token(Token = "0x600C47B")]
|
||||
[Address(RVA = "0x2732DF0", Offset = "0x2731BF0", VA = "0x182732DF0")]
|
||||
private TstInfo(Asn1Sequence seq)
|
||||
{
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
DerInteger derInteger;
|
||||
this.version = derInteger;
|
||||
DerObjectIdentifier instance = DerObjectIdentifier.GetInstance(derInteger);
|
||||
this.tsaPolicyId = instance;
|
||||
MessageImprint instance2 = MessageImprint.GetInstance(instance);
|
||||
this.messageImprint = instance2;
|
||||
DerInteger instance3 = DerInteger.GetInstance(instance2);
|
||||
this.serialNumber = instance3;
|
||||
DerGeneralizedTime instance4 = DerGeneralizedTime.GetInstance(instance3);
|
||||
this.genTime = instance4;
|
||||
DerBoolean @false = DerBoolean.False;
|
||||
this.ordering = @false;
|
||||
DerBoolean false2 = DerBoolean.False;
|
||||
DerBoolean false3 = DerBoolean.False;
|
||||
GeneralName instance5;
|
||||
if (0 == 0)
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject;
|
||||
instance5 = GeneralName.GetInstance(asn1TaggedObject);
|
||||
this.tsa = instance5;
|
||||
}
|
||||
if (instance5 == (ulong)1L)
|
||||
{
|
||||
X509Extensions x509Extensions;
|
||||
this.extensions = x509Extensions;
|
||||
Accuracy accuracy;
|
||||
if (x509Extensions != 0)
|
||||
{
|
||||
this.accuracy = accuracy;
|
||||
}
|
||||
DerBoolean derBoolean;
|
||||
if (accuracy != 0)
|
||||
{
|
||||
this.ordering = derBoolean;
|
||||
}
|
||||
while (derBoolean == 0)
|
||||
{
|
||||
}
|
||||
DerInteger derInteger2;
|
||||
this.nonce = derInteger2;
|
||||
return;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C47C RID: 50300 RVA: 0x002CD694 File Offset: 0x002CB894
|
||||
[Token(Token = "0x600C47C")]
|
||||
[Address(RVA = "0x2732D20", Offset = "0x2731B20", VA = "0x182732D20")]
|
||||
public TstInfo(DerObjectIdentifier tsaPolicyId, MessageImprint messageImprint, DerInteger serialNumber, DerGeneralizedTime genTime, Accuracy accuracy, DerBoolean ordering, DerInteger nonce, GeneralName tsa, X509Extensions extensions)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(1);
|
||||
this.genTime = 0;
|
||||
this.accuracy = 0;
|
||||
this.ordering = 0;
|
||||
this.nonce = 0;
|
||||
this.tsa = 0;
|
||||
this.version = derInteger;
|
||||
this.messageImprint = messageImprint;
|
||||
this.serialNumber = serialNumber;
|
||||
this.extensions = 0;
|
||||
this.tsaPolicyId = tsaPolicyId;
|
||||
}
|
||||
|
||||
// Token: 0x17001E80 RID: 7808
|
||||
// (get) Token: 0x0600C47D RID: 50301 RVA: 0x002CD6F4 File Offset: 0x002CB8F4
|
||||
[Token(Token = "0x17001E80")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600C47D")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E81 RID: 7809
|
||||
// (get) Token: 0x0600C47E RID: 50302 RVA: 0x002CD708 File Offset: 0x002CB908
|
||||
[Token(Token = "0x17001E81")]
|
||||
public MessageImprint MessageImprint
|
||||
{
|
||||
[Token(Token = "0x600C47E")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.messageImprint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E82 RID: 7810
|
||||
// (get) Token: 0x0600C47F RID: 50303 RVA: 0x002CD71C File Offset: 0x002CB91C
|
||||
[Token(Token = "0x17001E82")]
|
||||
public DerObjectIdentifier Policy
|
||||
{
|
||||
[Token(Token = "0x600C47F")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.tsaPolicyId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E83 RID: 7811
|
||||
// (get) Token: 0x0600C480 RID: 50304 RVA: 0x002CD730 File Offset: 0x002CB930
|
||||
[Token(Token = "0x17001E83")]
|
||||
public DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600C480")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E84 RID: 7812
|
||||
// (get) Token: 0x0600C481 RID: 50305 RVA: 0x002CD744 File Offset: 0x002CB944
|
||||
[Token(Token = "0x17001E84")]
|
||||
public Accuracy Accuracy
|
||||
{
|
||||
[Token(Token = "0x600C481")]
|
||||
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0")]
|
||||
get
|
||||
{
|
||||
return this.accuracy;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E85 RID: 7813
|
||||
// (get) Token: 0x0600C482 RID: 50306 RVA: 0x002CD758 File Offset: 0x002CB958
|
||||
[Token(Token = "0x17001E85")]
|
||||
public DerGeneralizedTime GenTime
|
||||
{
|
||||
[Token(Token = "0x600C482")]
|
||||
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180")]
|
||||
get
|
||||
{
|
||||
return this.genTime;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E86 RID: 7814
|
||||
// (get) Token: 0x0600C483 RID: 50307 RVA: 0x002CD76C File Offset: 0x002CB96C
|
||||
[Token(Token = "0x17001E86")]
|
||||
public DerBoolean Ordering
|
||||
{
|
||||
[Token(Token = "0x600C483")]
|
||||
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890")]
|
||||
get
|
||||
{
|
||||
return this.ordering;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E87 RID: 7815
|
||||
// (get) Token: 0x0600C484 RID: 50308 RVA: 0x002CD780 File Offset: 0x002CB980
|
||||
[Token(Token = "0x17001E87")]
|
||||
public DerInteger Nonce
|
||||
{
|
||||
[Token(Token = "0x600C484")]
|
||||
[Address(RVA = "0x3FA170", Offset = "0x3F8F70", VA = "0x1803FA170")]
|
||||
get
|
||||
{
|
||||
return this.nonce;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E88 RID: 7816
|
||||
// (get) Token: 0x0600C485 RID: 50309 RVA: 0x002CD794 File Offset: 0x002CB994
|
||||
[Token(Token = "0x17001E88")]
|
||||
public GeneralName Tsa
|
||||
{
|
||||
[Token(Token = "0x600C485")]
|
||||
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290")]
|
||||
get
|
||||
{
|
||||
return this.tsa;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E89 RID: 7817
|
||||
// (get) Token: 0x0600C486 RID: 50310 RVA: 0x002CD7A8 File Offset: 0x002CB9A8
|
||||
[Token(Token = "0x17001E89")]
|
||||
public X509Extensions Extensions
|
||||
{
|
||||
[Token(Token = "0x600C486")]
|
||||
[Address(RVA = "0x423D40", Offset = "0x422B40", VA = "0x180423D40")]
|
||||
get
|
||||
{
|
||||
return this.extensions;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C487 RID: 50311 RVA: 0x002CD7BC File Offset: 0x002CB9BC
|
||||
[Token(Token = "0x600C487")]
|
||||
[Address(RVA = "0x27327D0", Offset = "0x27315D0", VA = "0x1827327D0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[5];
|
||||
DerInteger derInteger = this.version;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
DerObjectIdentifier derObjectIdentifier = this.tsaPolicyId;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derObjectIdentifier;
|
||||
MessageImprint messageImprint = this.messageImprint;
|
||||
if (messageImprint != 0)
|
||||
{
|
||||
}
|
||||
array[2] = messageImprint;
|
||||
DerInteger derInteger2 = this.serialNumber;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[3] = derInteger2;
|
||||
DerGeneralizedTime derGeneralizedTime = this.genTime;
|
||||
if (derGeneralizedTime != 0)
|
||||
{
|
||||
}
|
||||
array[4] = derGeneralizedTime;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.accuracy != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Accuracy accuracy = this.accuracy;
|
||||
if (accuracy != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = accuracy;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerBoolean derBoolean = this.ordering;
|
||||
if (derBoolean != 0 && derBoolean.IsTrue)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerBoolean derBoolean2 = this.ordering;
|
||||
if (derBoolean2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derBoolean2;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
if (this.nonce != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array4 = new Asn1Encodable[1];
|
||||
DerInteger derInteger3 = this.nonce;
|
||||
if (derInteger3 != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = derInteger3;
|
||||
asn1EncodableVector.Add(array4);
|
||||
}
|
||||
if (this.tsa != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array5 = new Asn1Encodable[1];
|
||||
GeneralName generalName = this.tsa;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, generalName);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array5[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array5);
|
||||
}
|
||||
if (this.extensions != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array6 = new Asn1Encodable[1];
|
||||
X509Extensions x509Extensions = this.extensions;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(num2 != 0, 1, x509Extensions);
|
||||
num2 = 0;
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array6[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array6);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007C11 RID: 31761
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007C11")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04007C12 RID: 31762
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007C12")]
|
||||
private readonly DerObjectIdentifier tsaPolicyId;
|
||||
|
||||
// Token: 0x04007C13 RID: 31763
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007C13")]
|
||||
private readonly MessageImprint messageImprint;
|
||||
|
||||
// Token: 0x04007C14 RID: 31764
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007C14")]
|
||||
private readonly DerInteger serialNumber;
|
||||
|
||||
// Token: 0x04007C15 RID: 31765
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007C15")]
|
||||
private readonly DerGeneralizedTime genTime;
|
||||
|
||||
// Token: 0x04007C16 RID: 31766
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007C16")]
|
||||
private readonly Accuracy accuracy;
|
||||
|
||||
// Token: 0x04007C17 RID: 31767
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4007C17")]
|
||||
private readonly DerBoolean ordering;
|
||||
|
||||
// Token: 0x04007C18 RID: 31768
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4007C18")]
|
||||
private readonly DerInteger nonce;
|
||||
|
||||
// Token: 0x04007C19 RID: 31769
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4007C19")]
|
||||
private readonly GeneralName tsa;
|
||||
|
||||
// Token: 0x04007C1A RID: 31770
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4007C1A")]
|
||||
private readonly X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user