m
This commit is contained in:
@@ -0,0 +1,210 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001F24 RID: 7972
|
||||
[Token(Token = "0x2001F24")]
|
||||
public class Accuracy : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C83B RID: 51259 RVA: 0x002D59D4 File Offset: 0x002D3BD4
|
||||
[Token(Token = "0x600C83B")]
|
||||
[Address(RVA = "0x2D7D9B0", Offset = "0x2D7C9B0", VA = "0x182D7D9B0")]
|
||||
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: 0x0600C83C RID: 51260 RVA: 0x002D5A40 File Offset: 0x002D3C40
|
||||
[Token(Token = "0x600C83C")]
|
||||
[Address(RVA = "0x2D7D6B0", Offset = "0x2D7C6B0", VA = "0x182D7D6B0")]
|
||||
private Accuracy(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C83C)
|
||||
|
||||
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: 0x0600C83D RID: 51261 RVA: 0x002D5B0C File Offset: 0x002D3D0C
|
||||
[Token(Token = "0x600C83D")]
|
||||
[Address(RVA = "0x2D7D220", Offset = "0x2D7C220", VA = "0x182D7D220")]
|
||||
public static Accuracy GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C83D)
|
||||
|
||||
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: 0x17001F19 RID: 7961
|
||||
// (get) Token: 0x0600C83E RID: 51262 RVA: 0x002D5B5C File Offset: 0x002D3D5C
|
||||
[Token(Token = "0x17001F19")]
|
||||
public DerInteger Seconds
|
||||
{
|
||||
[Token(Token = "0x600C83E")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.seconds;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F1A RID: 7962
|
||||
// (get) Token: 0x0600C83F RID: 51263 RVA: 0x002D5B70 File Offset: 0x002D3D70
|
||||
[Token(Token = "0x17001F1A")]
|
||||
public DerInteger Millis
|
||||
{
|
||||
[Token(Token = "0x600C83F")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.millis;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F1B RID: 7963
|
||||
// (get) Token: 0x0600C840 RID: 51264 RVA: 0x002D5B84 File Offset: 0x002D3D84
|
||||
[Token(Token = "0x17001F1B")]
|
||||
public DerInteger Micros
|
||||
{
|
||||
[Token(Token = "0x600C840")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.micros;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C841 RID: 51265 RVA: 0x002D5B98 File Offset: 0x002D3D98
|
||||
[Token(Token = "0x600C841")]
|
||||
[Address(RVA = "0x2D7D410", Offset = "0x2D7C410", VA = "0x182D7D410", 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: 0x04007DC1 RID: 32193
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007DC1")]
|
||||
private readonly DerInteger seconds;
|
||||
|
||||
// Token: 0x04007DC2 RID: 32194
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007DC2")]
|
||||
private readonly DerInteger millis;
|
||||
|
||||
// Token: 0x04007DC3 RID: 32195
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007DC3")]
|
||||
private readonly DerInteger micros;
|
||||
|
||||
// Token: 0x04007DC4 RID: 32196
|
||||
[Token(Token = "0x4007DC4")]
|
||||
protected const int MinMillis = 1;
|
||||
|
||||
// Token: 0x04007DC5 RID: 32197
|
||||
[Token(Token = "0x4007DC5")]
|
||||
protected const int MaxMillis = 999;
|
||||
|
||||
// Token: 0x04007DC6 RID: 32198
|
||||
[Token(Token = "0x4007DC6")]
|
||||
protected const int MinMicros = 1;
|
||||
|
||||
// Token: 0x04007DC7 RID: 32199
|
||||
[Token(Token = "0x4007DC7")]
|
||||
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: 0x02001F25 RID: 7973
|
||||
[Token(Token = "0x2001F25")]
|
||||
public class MessageImprint : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C842 RID: 51266 RVA: 0x002D5C64 File Offset: 0x002D3E64
|
||||
[Token(Token = "0x600C842")]
|
||||
[Address(RVA = "0x2D8C000", Offset = "0x2D8B000", VA = "0x182D8C000")]
|
||||
public static MessageImprint GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C842)
|
||||
|
||||
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: 0x0600C843 RID: 51267 RVA: 0x002D5CDC File Offset: 0x002D3EDC
|
||||
[Token(Token = "0x600C843")]
|
||||
[Address(RVA = "0x2D8C410", Offset = "0x2D8B410", VA = "0x182D8C410")]
|
||||
private MessageImprint(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C843)
|
||||
|
||||
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: 0x0600C844 RID: 51268 RVA: 0x002D5D34 File Offset: 0x002D3F34
|
||||
[Token(Token = "0x600C844")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public MessageImprint(AlgorithmIdentifier hashAlgorithm, byte[] hashedMessage)
|
||||
{
|
||||
this.hashAlgorithm = hashAlgorithm;
|
||||
this.hashedMessage = hashedMessage;
|
||||
}
|
||||
|
||||
// Token: 0x17001F1C RID: 7964
|
||||
// (get) Token: 0x0600C845 RID: 51269 RVA: 0x002D5D58 File Offset: 0x002D3F58
|
||||
[Token(Token = "0x17001F1C")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600C845")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C846 RID: 51270 RVA: 0x002D5D6C File Offset: 0x002D3F6C
|
||||
[Token(Token = "0x600C846")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
public byte[] GetHashedMessage()
|
||||
{
|
||||
return this.hashedMessage;
|
||||
}
|
||||
|
||||
// Token: 0x0600C847 RID: 51271 RVA: 0x002D5D80 File Offset: 0x002D3F80
|
||||
[Token(Token = "0x600C847")]
|
||||
[Address(RVA = "0x2D8C2D0", Offset = "0x2D8B2D0", VA = "0x182D8C2D0", 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: 0x04007DC8 RID: 32200
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007DC8")]
|
||||
private readonly AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04007DC9 RID: 32201
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007DC9")]
|
||||
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: 0x02001F27 RID: 7975
|
||||
[Token(Token = "0x2001F27")]
|
||||
public class TimeStampReq : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C856 RID: 51286 RVA: 0x002D61F8 File Offset: 0x002D43F8
|
||||
[Token(Token = "0x600C856")]
|
||||
[Address(RVA = "0x2D94B90", Offset = "0x2D93B90", VA = "0x182D94B90")]
|
||||
public static TimeStampReq GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C856)
|
||||
|
||||
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: 0x0600C857 RID: 51287 RVA: 0x002D6248 File Offset: 0x002D4448
|
||||
[Token(Token = "0x600C857")]
|
||||
[Address(RVA = "0x2D951D0", Offset = "0x2D941D0", VA = "0x182D951D0")]
|
||||
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: 0x0600C858 RID: 51288 RVA: 0x002D62F4 File Offset: 0x002D44F4
|
||||
[Token(Token = "0x600C858")]
|
||||
[Address(RVA = "0x2D95120", Offset = "0x2D94120", VA = "0x182D95120")]
|
||||
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: 0x17001F27 RID: 7975
|
||||
// (get) Token: 0x0600C859 RID: 51289 RVA: 0x002D6338 File Offset: 0x002D4538
|
||||
[Token(Token = "0x17001F27")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600C859")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F28 RID: 7976
|
||||
// (get) Token: 0x0600C85A RID: 51290 RVA: 0x002D634C File Offset: 0x002D454C
|
||||
[Token(Token = "0x17001F28")]
|
||||
public MessageImprint MessageImprint
|
||||
{
|
||||
[Token(Token = "0x600C85A")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.messageImprint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F29 RID: 7977
|
||||
// (get) Token: 0x0600C85B RID: 51291 RVA: 0x002D6360 File Offset: 0x002D4560
|
||||
[Token(Token = "0x17001F29")]
|
||||
public DerObjectIdentifier ReqPolicy
|
||||
{
|
||||
[Token(Token = "0x600C85B")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.tsaPolicy;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F2A RID: 7978
|
||||
// (get) Token: 0x0600C85C RID: 51292 RVA: 0x002D6374 File Offset: 0x002D4574
|
||||
[Token(Token = "0x17001F2A")]
|
||||
public DerInteger Nonce
|
||||
{
|
||||
[Token(Token = "0x600C85C")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
get
|
||||
{
|
||||
return this.nonce;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F2B RID: 7979
|
||||
// (get) Token: 0x0600C85D RID: 51293 RVA: 0x002D6388 File Offset: 0x002D4588
|
||||
[Token(Token = "0x17001F2B")]
|
||||
public DerBoolean CertReq
|
||||
{
|
||||
[Token(Token = "0x600C85D")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
||||
get
|
||||
{
|
||||
return this.certReq;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F2C RID: 7980
|
||||
// (get) Token: 0x0600C85E RID: 51294 RVA: 0x002D639C File Offset: 0x002D459C
|
||||
[Token(Token = "0x17001F2C")]
|
||||
public X509Extensions Extensions
|
||||
{
|
||||
[Token(Token = "0x600C85E")]
|
||||
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
||||
get
|
||||
{
|
||||
return this.extensions;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C85F RID: 51295 RVA: 0x002D63B0 File Offset: 0x002D45B0
|
||||
[Token(Token = "0x600C85F")]
|
||||
[Address(RVA = "0x2D94D80", Offset = "0x2D93D80", VA = "0x182D94D80", 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: 0x04007DD4 RID: 32212
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007DD4")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04007DD5 RID: 32213
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007DD5")]
|
||||
private readonly MessageImprint messageImprint;
|
||||
|
||||
// Token: 0x04007DD6 RID: 32214
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007DD6")]
|
||||
private readonly DerObjectIdentifier tsaPolicy;
|
||||
|
||||
// Token: 0x04007DD7 RID: 32215
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007DD7")]
|
||||
private readonly DerInteger nonce;
|
||||
|
||||
// Token: 0x04007DD8 RID: 32216
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007DD8")]
|
||||
private readonly DerBoolean certReq;
|
||||
|
||||
// Token: 0x04007DD9 RID: 32217
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007DD9")]
|
||||
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: 0x02001F28 RID: 7976
|
||||
[Token(Token = "0x2001F28")]
|
||||
public class TimeStampResp : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C860 RID: 51296 RVA: 0x002D64E8 File Offset: 0x002D46E8
|
||||
[Token(Token = "0x600C860")]
|
||||
[Address(RVA = "0x2D954A0", Offset = "0x2D944A0", VA = "0x182D954A0")]
|
||||
public static TimeStampResp GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C860)
|
||||
|
||||
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: 0x0600C861 RID: 51297 RVA: 0x002D6548 File Offset: 0x002D4748
|
||||
[Token(Token = "0x600C861")]
|
||||
[Address(RVA = "0x2D95860", Offset = "0x2D94860", VA = "0x182D95860")]
|
||||
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: 0x0600C862 RID: 51298 RVA: 0x002D6584 File Offset: 0x002D4784
|
||||
[Token(Token = "0x600C862")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public TimeStampResp(PkiStatusInfo pkiStatusInfo, ContentInfo timeStampToken)
|
||||
{
|
||||
this.pkiStatusInfo = pkiStatusInfo;
|
||||
this.timeStampToken = timeStampToken;
|
||||
}
|
||||
|
||||
// Token: 0x17001F2D RID: 7981
|
||||
// (get) Token: 0x0600C863 RID: 51299 RVA: 0x002D65A8 File Offset: 0x002D47A8
|
||||
[Token(Token = "0x17001F2D")]
|
||||
public PkiStatusInfo Status
|
||||
{
|
||||
[Token(Token = "0x600C863")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.pkiStatusInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F2E RID: 7982
|
||||
// (get) Token: 0x0600C864 RID: 51300 RVA: 0x002D65BC File Offset: 0x002D47BC
|
||||
[Token(Token = "0x17001F2E")]
|
||||
public ContentInfo TimeStampToken
|
||||
{
|
||||
[Token(Token = "0x600C864")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.timeStampToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C865 RID: 51301 RVA: 0x002D65D0 File Offset: 0x002D47D0
|
||||
[Token(Token = "0x600C865")]
|
||||
[Address(RVA = "0x2D956F0", Offset = "0x2D946F0", VA = "0x182D956F0", 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: 0x04007DDA RID: 32218
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007DDA")]
|
||||
private readonly PkiStatusInfo pkiStatusInfo;
|
||||
|
||||
// Token: 0x04007DDB RID: 32219
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007DDB")]
|
||||
private readonly ContentInfo timeStampToken;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,384 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001F26 RID: 7974
|
||||
[Token(Token = "0x2001F26")]
|
||||
public class TstInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C848 RID: 51272 RVA: 0x002D5DCC File Offset: 0x002D3FCC
|
||||
[Token(Token = "0x600C848")]
|
||||
[Address(RVA = "0x2D958F0", Offset = "0x2D948F0", VA = "0x182D958F0")]
|
||||
public static TstInfo GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C848)
|
||||
|
||||
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: 0x0600C849 RID: 51273 RVA: 0x002D5E3C File Offset: 0x002D403C
|
||||
[Token(Token = "0x600C849")]
|
||||
[Address(RVA = "0x2D96220", Offset = "0x2D95220", VA = "0x182D96220")]
|
||||
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: 0x0600C84A RID: 51274 RVA: 0x002D5F18 File Offset: 0x002D4118
|
||||
[Token(Token = "0x600C84A")]
|
||||
[Address(RVA = "0x2D96150", Offset = "0x2D95150", VA = "0x182D96150")]
|
||||
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: 0x17001F1D RID: 7965
|
||||
// (get) Token: 0x0600C84B RID: 51275 RVA: 0x002D5F78 File Offset: 0x002D4178
|
||||
[Token(Token = "0x17001F1D")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600C84B")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F1E RID: 7966
|
||||
// (get) Token: 0x0600C84C RID: 51276 RVA: 0x002D5F8C File Offset: 0x002D418C
|
||||
[Token(Token = "0x17001F1E")]
|
||||
public MessageImprint MessageImprint
|
||||
{
|
||||
[Token(Token = "0x600C84C")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.messageImprint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F1F RID: 7967
|
||||
// (get) Token: 0x0600C84D RID: 51277 RVA: 0x002D5FA0 File Offset: 0x002D41A0
|
||||
[Token(Token = "0x17001F1F")]
|
||||
public DerObjectIdentifier Policy
|
||||
{
|
||||
[Token(Token = "0x600C84D")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.tsaPolicyId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F20 RID: 7968
|
||||
// (get) Token: 0x0600C84E RID: 51278 RVA: 0x002D5FB4 File Offset: 0x002D41B4
|
||||
[Token(Token = "0x17001F20")]
|
||||
public DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600C84E")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F21 RID: 7969
|
||||
// (get) Token: 0x0600C84F RID: 51279 RVA: 0x002D5FC8 File Offset: 0x002D41C8
|
||||
[Token(Token = "0x17001F21")]
|
||||
public Accuracy Accuracy
|
||||
{
|
||||
[Token(Token = "0x600C84F")]
|
||||
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0")]
|
||||
get
|
||||
{
|
||||
return this.accuracy;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F22 RID: 7970
|
||||
// (get) Token: 0x0600C850 RID: 51280 RVA: 0x002D5FDC File Offset: 0x002D41DC
|
||||
[Token(Token = "0x17001F22")]
|
||||
public DerGeneralizedTime GenTime
|
||||
{
|
||||
[Token(Token = "0x600C850")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0")]
|
||||
get
|
||||
{
|
||||
return this.genTime;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F23 RID: 7971
|
||||
// (get) Token: 0x0600C851 RID: 51281 RVA: 0x002D5FF0 File Offset: 0x002D41F0
|
||||
[Token(Token = "0x17001F23")]
|
||||
public DerBoolean Ordering
|
||||
{
|
||||
[Token(Token = "0x600C851")]
|
||||
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680")]
|
||||
get
|
||||
{
|
||||
return this.ordering;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F24 RID: 7972
|
||||
// (get) Token: 0x0600C852 RID: 51282 RVA: 0x002D6004 File Offset: 0x002D4204
|
||||
[Token(Token = "0x17001F24")]
|
||||
public DerInteger Nonce
|
||||
{
|
||||
[Token(Token = "0x600C852")]
|
||||
[Address(RVA = "0x4975A0", Offset = "0x4965A0", VA = "0x1804975A0")]
|
||||
get
|
||||
{
|
||||
return this.nonce;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F25 RID: 7973
|
||||
// (get) Token: 0x0600C853 RID: 51283 RVA: 0x002D6018 File Offset: 0x002D4218
|
||||
[Token(Token = "0x17001F25")]
|
||||
public GeneralName Tsa
|
||||
{
|
||||
[Token(Token = "0x600C853")]
|
||||
[Address(RVA = "0x4936E0", Offset = "0x4926E0", VA = "0x1804936E0")]
|
||||
get
|
||||
{
|
||||
return this.tsa;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F26 RID: 7974
|
||||
// (get) Token: 0x0600C854 RID: 51284 RVA: 0x002D602C File Offset: 0x002D422C
|
||||
[Token(Token = "0x17001F26")]
|
||||
public X509Extensions Extensions
|
||||
{
|
||||
[Token(Token = "0x600C854")]
|
||||
[Address(RVA = "0x417710", Offset = "0x416710", VA = "0x180417710")]
|
||||
get
|
||||
{
|
||||
return this.extensions;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C855 RID: 51285 RVA: 0x002D6040 File Offset: 0x002D4240
|
||||
[Token(Token = "0x600C855")]
|
||||
[Address(RVA = "0x2D95C00", Offset = "0x2D94C00", VA = "0x182D95C00", 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: 0x04007DCA RID: 32202
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007DCA")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04007DCB RID: 32203
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007DCB")]
|
||||
private readonly DerObjectIdentifier tsaPolicyId;
|
||||
|
||||
// Token: 0x04007DCC RID: 32204
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007DCC")]
|
||||
private readonly MessageImprint messageImprint;
|
||||
|
||||
// Token: 0x04007DCD RID: 32205
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007DCD")]
|
||||
private readonly DerInteger serialNumber;
|
||||
|
||||
// Token: 0x04007DCE RID: 32206
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007DCE")]
|
||||
private readonly DerGeneralizedTime genTime;
|
||||
|
||||
// Token: 0x04007DCF RID: 32207
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4007DCF")]
|
||||
private readonly Accuracy accuracy;
|
||||
|
||||
// Token: 0x04007DD0 RID: 32208
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4007DD0")]
|
||||
private readonly DerBoolean ordering;
|
||||
|
||||
// Token: 0x04007DD1 RID: 32209
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4007DD1")]
|
||||
private readonly DerInteger nonce;
|
||||
|
||||
// Token: 0x04007DD2 RID: 32210
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4007DD2")]
|
||||
private readonly GeneralName tsa;
|
||||
|
||||
// Token: 0x04007DD3 RID: 32211
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4007DD3")]
|
||||
private readonly X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user