oh dear
This commit is contained in:
@@ -0,0 +1,127 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp
|
||||
{
|
||||
// Token: 0x02001E48 RID: 7752
|
||||
[Token(Token = "0x2001E48")]
|
||||
public class TimeStampResp : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C492 RID: 50322 RVA: 0x002CDC64 File Offset: 0x002CBE64
|
||||
[Token(Token = "0x600C492")]
|
||||
[Address(RVA = "0x2732070", Offset = "0x2730E70", VA = "0x182732070")]
|
||||
public static TimeStampResp GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C492)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.TimeStampResp BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Tsp.TimeStampResp::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:string(var_9_3F, call:string(Platform::GetTypeName, ldloc:object(o)))
|
||||
stloc:ArgumentException(var_10_52, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in 'TimeStampResp' factory: "), ldloc:string(var_9_3F))))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C493 RID: 50323 RVA: 0x002CDCC4 File Offset: 0x002CBEC4
|
||||
[Token(Token = "0x600C493")]
|
||||
[Address(RVA = "0x2732430", Offset = "0x2731230", VA = "0x182732430")]
|
||||
private TimeStampResp(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
PkiStatusInfo pkiStatusInfo;
|
||||
this.pkiStatusInfo = pkiStatusInfo;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
ContentInfo contentInfo;
|
||||
this.timeStampToken = contentInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C494 RID: 50324 RVA: 0x002CDD00 File Offset: 0x002CBF00
|
||||
[Token(Token = "0x600C494")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public TimeStampResp(PkiStatusInfo pkiStatusInfo, ContentInfo timeStampToken)
|
||||
{
|
||||
this.pkiStatusInfo = pkiStatusInfo;
|
||||
this.timeStampToken = timeStampToken;
|
||||
}
|
||||
|
||||
// Token: 0x17001E90 RID: 7824
|
||||
// (get) Token: 0x0600C495 RID: 50325 RVA: 0x002CDD24 File Offset: 0x002CBF24
|
||||
[Token(Token = "0x17001E90")]
|
||||
public PkiStatusInfo Status
|
||||
{
|
||||
[Token(Token = "0x600C495")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.pkiStatusInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001E91 RID: 7825
|
||||
// (get) Token: 0x0600C496 RID: 50326 RVA: 0x002CDD38 File Offset: 0x002CBF38
|
||||
[Token(Token = "0x17001E91")]
|
||||
public ContentInfo TimeStampToken
|
||||
{
|
||||
[Token(Token = "0x600C496")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.timeStampToken;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C497 RID: 50327 RVA: 0x002CDD4C File Offset: 0x002CBF4C
|
||||
[Token(Token = "0x600C497")]
|
||||
[Address(RVA = "0x27322C0", Offset = "0x27310C0", VA = "0x1827322C0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
PkiStatusInfo pkiStatusInfo = this.pkiStatusInfo;
|
||||
if (pkiStatusInfo != 0)
|
||||
{
|
||||
}
|
||||
array[0] = pkiStatusInfo;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.timeStampToken != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
ContentInfo contentInfo = this.timeStampToken;
|
||||
if (contentInfo != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = contentInfo;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007C21 RID: 31777
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007C21")]
|
||||
private readonly PkiStatusInfo pkiStatusInfo;
|
||||
|
||||
// Token: 0x04007C22 RID: 31778
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007C22")]
|
||||
private readonly ContentInfo timeStampToken;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user