scripts
This commit is contained in:
@@ -0,0 +1,212 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001867 RID: 6247
|
||||
[Token(Token = "0x2001867")]
|
||||
[StructLayout(3)]
|
||||
public class Accuracy : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A893 RID: 43155 RVA: 0x00274C50 File Offset: 0x00272E50
|
||||
[Token(Token = "0x600A893")]
|
||||
[Address(RVA = "0x26225F0", Offset = "0x2620FF0", VA = "0x1826225F0")]
|
||||
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: 0x0600A894 RID: 43156 RVA: 0x00274CBC File Offset: 0x00272EBC
|
||||
[Token(Token = "0x600A894")]
|
||||
[Address(RVA = "0x26222F0", Offset = "0x2620CF0", VA = "0x1826222F0")]
|
||||
private Accuracy(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A894)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600A895 RID: 43157 RVA: 0x00274D88 File Offset: 0x00272F88
|
||||
[Token(Token = "0x600A895")]
|
||||
[Address(RVA = "0x2621E60", Offset = "0x2620860", VA = "0x182621E60")]
|
||||
public static Accuracy GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A895)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001A7B RID: 6779
|
||||
// (get) Token: 0x0600A896 RID: 43158 RVA: 0x00274DD8 File Offset: 0x00272FD8
|
||||
[Token(Token = "0x17001A7B")]
|
||||
public DerInteger Seconds
|
||||
{
|
||||
[Token(Token = "0x600A896")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.seconds;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A7C RID: 6780
|
||||
// (get) Token: 0x0600A897 RID: 43159 RVA: 0x00274DEC File Offset: 0x00272FEC
|
||||
[Token(Token = "0x17001A7C")]
|
||||
public DerInteger Millis
|
||||
{
|
||||
[Token(Token = "0x600A897")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.millis;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A7D RID: 6781
|
||||
// (get) Token: 0x0600A898 RID: 43160 RVA: 0x00274E00 File Offset: 0x00273000
|
||||
[Token(Token = "0x17001A7D")]
|
||||
public DerInteger Micros
|
||||
{
|
||||
[Token(Token = "0x600A898")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.micros;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A899 RID: 43161 RVA: 0x00274E14 File Offset: 0x00273014
|
||||
[Token(Token = "0x600A899")]
|
||||
[Address(RVA = "0x2622050", Offset = "0x2620A50", VA = "0x182622050", 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: 0x04006DC5 RID: 28101
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006DC5")]
|
||||
private readonly DerInteger seconds;
|
||||
|
||||
// Token: 0x04006DC6 RID: 28102
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006DC6")]
|
||||
private readonly DerInteger millis;
|
||||
|
||||
// Token: 0x04006DC7 RID: 28103
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006DC7")]
|
||||
private readonly DerInteger micros;
|
||||
|
||||
// Token: 0x04006DC8 RID: 28104
|
||||
[Token(Token = "0x4006DC8")]
|
||||
protected const int MinMillis = 1;
|
||||
|
||||
// Token: 0x04006DC9 RID: 28105
|
||||
[Token(Token = "0x4006DC9")]
|
||||
protected const int MaxMillis = 999;
|
||||
|
||||
// Token: 0x04006DCA RID: 28106
|
||||
[Token(Token = "0x4006DCA")]
|
||||
protected const int MinMicros = 1;
|
||||
|
||||
// Token: 0x04006DCB RID: 28107
|
||||
[Token(Token = "0x4006DCB")]
|
||||
protected const int MaxMicros = 999;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001868 RID: 6248
|
||||
[Token(Token = "0x2001868")]
|
||||
[StructLayout(3)]
|
||||
public class MessageImprint : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A89A RID: 43162 RVA: 0x00274EE0 File Offset: 0x002730E0
|
||||
[Token(Token = "0x600A89A")]
|
||||
[Address(RVA = "0x26295C0", Offset = "0x2627FC0", VA = "0x1826295C0")]
|
||||
public static MessageImprint GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A89A)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600A89B RID: 43163 RVA: 0x00274F58 File Offset: 0x00273158
|
||||
[Token(Token = "0x600A89B")]
|
||||
[Address(RVA = "0x26299D0", Offset = "0x26283D0", VA = "0x1826299D0")]
|
||||
private MessageImprint(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A89B)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600A89C RID: 43164 RVA: 0x00274FB0 File Offset: 0x002731B0
|
||||
[Token(Token = "0x600A89C")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public MessageImprint(AlgorithmIdentifier hashAlgorithm, byte[] hashedMessage)
|
||||
{
|
||||
this.hashAlgorithm = hashAlgorithm;
|
||||
this.hashedMessage = hashedMessage;
|
||||
}
|
||||
|
||||
// Token: 0x17001A7E RID: 6782
|
||||
// (get) Token: 0x0600A89D RID: 43165 RVA: 0x00274FD4 File Offset: 0x002731D4
|
||||
[Token(Token = "0x17001A7E")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600A89D")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A89E RID: 43166 RVA: 0x00274FE8 File Offset: 0x002731E8
|
||||
[Token(Token = "0x600A89E")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
public byte[] GetHashedMessage()
|
||||
{
|
||||
return this.hashedMessage;
|
||||
}
|
||||
|
||||
// Token: 0x0600A89F RID: 43167 RVA: 0x00274FFC File Offset: 0x002731FC
|
||||
[Token(Token = "0x600A89F")]
|
||||
[Address(RVA = "0x2629890", Offset = "0x2628290", VA = "0x182629890", 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: 0x04006DCC RID: 28108
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006DCC")]
|
||||
private readonly AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04006DCD RID: 28109
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006DCD")]
|
||||
private readonly byte[] hashedMessage;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,272 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x0200186A RID: 6250
|
||||
[Token(Token = "0x200186A")]
|
||||
[StructLayout(3)]
|
||||
public class TimeStampReq : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A8AE RID: 43182 RVA: 0x00275474 File Offset: 0x00273674
|
||||
[Token(Token = "0x600A8AE")]
|
||||
[Address(RVA = "0x2637E70", Offset = "0x2636870", VA = "0x182637E70")]
|
||||
public static TimeStampReq GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A8AE)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600A8AF RID: 43183 RVA: 0x002754C4 File Offset: 0x002736C4
|
||||
[Token(Token = "0x600A8AF")]
|
||||
[Address(RVA = "0x26384B0", Offset = "0x2636EB0", VA = "0x1826384B0")]
|
||||
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: 0x0600A8B0 RID: 43184 RVA: 0x00275570 File Offset: 0x00273770
|
||||
[Token(Token = "0x600A8B0")]
|
||||
[Address(RVA = "0x2638400", Offset = "0x2636E00", VA = "0x182638400")]
|
||||
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: 0x17001A89 RID: 6793
|
||||
// (get) Token: 0x0600A8B1 RID: 43185 RVA: 0x002755B4 File Offset: 0x002737B4
|
||||
[Token(Token = "0x17001A89")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600A8B1")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A8A RID: 6794
|
||||
// (get) Token: 0x0600A8B2 RID: 43186 RVA: 0x002755C8 File Offset: 0x002737C8
|
||||
[Token(Token = "0x17001A8A")]
|
||||
public MessageImprint MessageImprint
|
||||
{
|
||||
[Token(Token = "0x600A8B2")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.messageImprint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A8B RID: 6795
|
||||
// (get) Token: 0x0600A8B3 RID: 43187 RVA: 0x002755DC File Offset: 0x002737DC
|
||||
[Token(Token = "0x17001A8B")]
|
||||
public DerObjectIdentifier ReqPolicy
|
||||
{
|
||||
[Token(Token = "0x600A8B3")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.tsaPolicy;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A8C RID: 6796
|
||||
// (get) Token: 0x0600A8B4 RID: 43188 RVA: 0x002755F0 File Offset: 0x002737F0
|
||||
[Token(Token = "0x17001A8C")]
|
||||
public DerInteger Nonce
|
||||
{
|
||||
[Token(Token = "0x600A8B4")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.nonce;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A8D RID: 6797
|
||||
// (get) Token: 0x0600A8B5 RID: 43189 RVA: 0x00275604 File Offset: 0x00273804
|
||||
[Token(Token = "0x17001A8D")]
|
||||
public DerBoolean CertReq
|
||||
{
|
||||
[Token(Token = "0x600A8B5")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
||||
get
|
||||
{
|
||||
return this.certReq;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A8E RID: 6798
|
||||
// (get) Token: 0x0600A8B6 RID: 43190 RVA: 0x00275618 File Offset: 0x00273818
|
||||
[Token(Token = "0x17001A8E")]
|
||||
public X509Extensions Extensions
|
||||
{
|
||||
[Token(Token = "0x600A8B6")]
|
||||
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
|
||||
get
|
||||
{
|
||||
return this.extensions;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A8B7 RID: 43191 RVA: 0x0027562C File Offset: 0x0027382C
|
||||
[Token(Token = "0x600A8B7")]
|
||||
[Address(RVA = "0x2638060", Offset = "0x2636A60", VA = "0x182638060", 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: 0x04006DD8 RID: 28120
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006DD8")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04006DD9 RID: 28121
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006DD9")]
|
||||
private readonly MessageImprint messageImprint;
|
||||
|
||||
// Token: 0x04006DDA RID: 28122
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006DDA")]
|
||||
private readonly DerObjectIdentifier tsaPolicy;
|
||||
|
||||
// Token: 0x04006DDB RID: 28123
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006DDB")]
|
||||
private readonly DerInteger nonce;
|
||||
|
||||
// Token: 0x04006DDC RID: 28124
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006DDC")]
|
||||
private readonly DerBoolean certReq;
|
||||
|
||||
// Token: 0x04006DDD RID: 28125
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006DDD")]
|
||||
private readonly X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,129 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x0200186B RID: 6251
|
||||
[Token(Token = "0x200186B")]
|
||||
[StructLayout(3)]
|
||||
public class TimeStampResp : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A8B8 RID: 43192 RVA: 0x00275764 File Offset: 0x00273964
|
||||
[Token(Token = "0x600A8B8")]
|
||||
[Address(RVA = "0x2638780", Offset = "0x2637180", VA = "0x182638780")]
|
||||
public static TimeStampResp GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A8B8)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600A8B9 RID: 43193 RVA: 0x002757C4 File Offset: 0x002739C4
|
||||
[Token(Token = "0x600A8B9")]
|
||||
[Address(RVA = "0x2638B40", Offset = "0x2637540", VA = "0x182638B40")]
|
||||
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: 0x0600A8BA RID: 43194 RVA: 0x00275800 File Offset: 0x00273A00
|
||||
[Token(Token = "0x600A8BA")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public TimeStampResp(PkiStatusInfo pkiStatusInfo, ContentInfo timeStampToken)
|
||||
{
|
||||
this.pkiStatusInfo = pkiStatusInfo;
|
||||
this.timeStampToken = timeStampToken;
|
||||
}
|
||||
|
||||
// Token: 0x17001A8F RID: 6799
|
||||
// (get) Token: 0x0600A8BB RID: 43195 RVA: 0x00275824 File Offset: 0x00273A24
|
||||
[Token(Token = "0x17001A8F")]
|
||||
public PkiStatusInfo Status
|
||||
{
|
||||
[Token(Token = "0x600A8BB")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.pkiStatusInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A90 RID: 6800
|
||||
// (get) Token: 0x0600A8BC RID: 43196 RVA: 0x00275838 File Offset: 0x00273A38
|
||||
[Token(Token = "0x17001A90")]
|
||||
public ContentInfo TimeStampToken
|
||||
{
|
||||
[Token(Token = "0x600A8BC")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.timeStampToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A8BD RID: 43197 RVA: 0x0027584C File Offset: 0x00273A4C
|
||||
[Token(Token = "0x600A8BD")]
|
||||
[Address(RVA = "0x26389D0", Offset = "0x26373D0", VA = "0x1826389D0", 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: 0x04006DDE RID: 28126
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006DDE")]
|
||||
private readonly PkiStatusInfo pkiStatusInfo;
|
||||
|
||||
// Token: 0x04006DDF RID: 28127
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006DDF")]
|
||||
private readonly ContentInfo timeStampToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,386 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001869 RID: 6249
|
||||
[Token(Token = "0x2001869")]
|
||||
[StructLayout(3)]
|
||||
public class TstInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A8A0 RID: 43168 RVA: 0x00275048 File Offset: 0x00273248
|
||||
[Token(Token = "0x600A8A0")]
|
||||
[Address(RVA = "0x2638BD0", Offset = "0x26375D0", VA = "0x182638BD0")]
|
||||
public static TstInfo GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A8A0)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600A8A1 RID: 43169 RVA: 0x002750B8 File Offset: 0x002732B8
|
||||
[Token(Token = "0x600A8A1")]
|
||||
[Address(RVA = "0x2639500", Offset = "0x2637F00", VA = "0x182639500")]
|
||||
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 generalName;
|
||||
if (0 == 0)
|
||||
{
|
||||
this.tsa = generalName;
|
||||
}
|
||||
if (generalName == (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: 0x0600A8A2 RID: 43170 RVA: 0x00275194 File Offset: 0x00273394
|
||||
[Token(Token = "0x600A8A2")]
|
||||
[Address(RVA = "0x2639430", Offset = "0x2637E30", VA = "0x182639430")]
|
||||
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: 0x17001A7F RID: 6783
|
||||
// (get) Token: 0x0600A8A3 RID: 43171 RVA: 0x002751F4 File Offset: 0x002733F4
|
||||
[Token(Token = "0x17001A7F")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600A8A3")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A80 RID: 6784
|
||||
// (get) Token: 0x0600A8A4 RID: 43172 RVA: 0x00275208 File Offset: 0x00273408
|
||||
[Token(Token = "0x17001A80")]
|
||||
public MessageImprint MessageImprint
|
||||
{
|
||||
[Token(Token = "0x600A8A4")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.messageImprint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A81 RID: 6785
|
||||
// (get) Token: 0x0600A8A5 RID: 43173 RVA: 0x0027521C File Offset: 0x0027341C
|
||||
[Token(Token = "0x17001A81")]
|
||||
public DerObjectIdentifier Policy
|
||||
{
|
||||
[Token(Token = "0x600A8A5")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.tsaPolicyId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A82 RID: 6786
|
||||
// (get) Token: 0x0600A8A6 RID: 43174 RVA: 0x00275230 File Offset: 0x00273430
|
||||
[Token(Token = "0x17001A82")]
|
||||
public DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600A8A6")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A83 RID: 6787
|
||||
// (get) Token: 0x0600A8A7 RID: 43175 RVA: 0x00275244 File Offset: 0x00273444
|
||||
[Token(Token = "0x17001A83")]
|
||||
public Accuracy Accuracy
|
||||
{
|
||||
[Token(Token = "0x600A8A7")]
|
||||
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
|
||||
get
|
||||
{
|
||||
return this.accuracy;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A84 RID: 6788
|
||||
// (get) Token: 0x0600A8A8 RID: 43176 RVA: 0x00275258 File Offset: 0x00273458
|
||||
[Token(Token = "0x17001A84")]
|
||||
public DerGeneralizedTime GenTime
|
||||
{
|
||||
[Token(Token = "0x600A8A8")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
||||
get
|
||||
{
|
||||
return this.genTime;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A85 RID: 6789
|
||||
// (get) Token: 0x0600A8A9 RID: 43177 RVA: 0x0027526C File Offset: 0x0027346C
|
||||
[Token(Token = "0x17001A85")]
|
||||
public DerBoolean Ordering
|
||||
{
|
||||
[Token(Token = "0x600A8A9")]
|
||||
[Address(RVA = "0x3D32F0", Offset = "0x3D1CF0", VA = "0x1803D32F0")]
|
||||
get
|
||||
{
|
||||
return this.ordering;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A86 RID: 6790
|
||||
// (get) Token: 0x0600A8AA RID: 43178 RVA: 0x00275280 File Offset: 0x00273480
|
||||
[Token(Token = "0x17001A86")]
|
||||
public DerInteger Nonce
|
||||
{
|
||||
[Token(Token = "0x600A8AA")]
|
||||
[Address(RVA = "0x3EDEA0", Offset = "0x3EC8A0", VA = "0x1803EDEA0")]
|
||||
get
|
||||
{
|
||||
return this.nonce;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A87 RID: 6791
|
||||
// (get) Token: 0x0600A8AB RID: 43179 RVA: 0x00275294 File Offset: 0x00273494
|
||||
[Token(Token = "0x17001A87")]
|
||||
public GeneralName Tsa
|
||||
{
|
||||
[Token(Token = "0x600A8AB")]
|
||||
[Address(RVA = "0x462740", Offset = "0x461140", VA = "0x180462740")]
|
||||
get
|
||||
{
|
||||
return this.tsa;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A88 RID: 6792
|
||||
// (get) Token: 0x0600A8AC RID: 43180 RVA: 0x002752A8 File Offset: 0x002734A8
|
||||
[Token(Token = "0x17001A88")]
|
||||
public X509Extensions Extensions
|
||||
{
|
||||
[Token(Token = "0x600A8AC")]
|
||||
[Address(RVA = "0x4B81A0", Offset = "0x4B6BA0", VA = "0x1804B81A0")]
|
||||
get
|
||||
{
|
||||
return this.extensions;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A8AD RID: 43181 RVA: 0x002752BC File Offset: 0x002734BC
|
||||
[Token(Token = "0x600A8AD")]
|
||||
[Address(RVA = "0x2638EE0", Offset = "0x26378E0", VA = "0x182638EE0", 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: 0x04006DCE RID: 28110
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006DCE")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04006DCF RID: 28111
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006DCF")]
|
||||
private readonly DerObjectIdentifier tsaPolicyId;
|
||||
|
||||
// Token: 0x04006DD0 RID: 28112
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006DD0")]
|
||||
private readonly MessageImprint messageImprint;
|
||||
|
||||
// Token: 0x04006DD1 RID: 28113
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006DD1")]
|
||||
private readonly DerInteger serialNumber;
|
||||
|
||||
// Token: 0x04006DD2 RID: 28114
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006DD2")]
|
||||
private readonly DerGeneralizedTime genTime;
|
||||
|
||||
// Token: 0x04006DD3 RID: 28115
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006DD3")]
|
||||
private readonly Accuracy accuracy;
|
||||
|
||||
// Token: 0x04006DD4 RID: 28116
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4006DD4")]
|
||||
private readonly DerBoolean ordering;
|
||||
|
||||
// Token: 0x04006DD5 RID: 28117
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4006DD5")]
|
||||
private readonly DerInteger nonce;
|
||||
|
||||
// Token: 0x04006DD6 RID: 28118
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4006DD6")]
|
||||
private readonly GeneralName tsa;
|
||||
|
||||
// Token: 0x04006DD7 RID: 28119
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4006DD7")]
|
||||
private readonly X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user