oh dear
This commit is contained in:
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F03 RID: 7939
|
||||
[Token(Token = "0x2001F03")]
|
||||
public class CertId : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C889 RID: 51337 RVA: 0x002DEF9C File Offset: 0x002DD19C
|
||||
[Token(Token = "0x600C889")]
|
||||
[Address(RVA = "0x2AD3AA0", Offset = "0x2AD28A0", VA = "0x182AD3AA0")]
|
||||
private CertId(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
GeneralName generalName;
|
||||
this.issuer = generalName;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.serialNumber = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600C88A RID: 51338 RVA: 0x002DEFD4 File Offset: 0x002DD1D4
|
||||
[Token(Token = "0x600C88A")]
|
||||
[Address(RVA = "0x2AD3730", Offset = "0x2AD2530", VA = "0x182AD3730")]
|
||||
public static CertId GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C88A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertId BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertId::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_32:
|
||||
stloc:string(var_8_38, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_9_50, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_8_38)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
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: 0x0600C88B RID: 51339 RVA: 0x002DF034 File Offset: 0x002DD234
|
||||
[Token(Token = "0x600C88B")]
|
||||
[Address(RVA = "0x2AD3970", Offset = "0x2AD2770", VA = "0x182AD3970")]
|
||||
public static CertId GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return CertId.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x17001F68 RID: 8040
|
||||
// (get) Token: 0x0600C88C RID: 51340 RVA: 0x002DF050 File Offset: 0x002DD250
|
||||
[Token(Token = "0x17001F68")]
|
||||
public virtual GeneralName Issuer
|
||||
{
|
||||
[Token(Token = "0x600C88C")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.issuer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F69 RID: 8041
|
||||
// (get) Token: 0x0600C88D RID: 51341 RVA: 0x002DF064 File Offset: 0x002DD264
|
||||
[Token(Token = "0x17001F69")]
|
||||
public virtual DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600C88D")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C88E RID: 51342 RVA: 0x002DF078 File Offset: 0x002DD278
|
||||
[Token(Token = "0x600C88E")]
|
||||
[Address(RVA = "0x2AD3990", Offset = "0x2AD2790", VA = "0x182AD3990", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
GeneralName generalName = this.issuer;
|
||||
if (generalName != 0)
|
||||
{
|
||||
}
|
||||
array[0] = generalName;
|
||||
DerInteger derInteger = this.serialNumber;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FFC RID: 32764
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FFC")]
|
||||
private readonly GeneralName issuer;
|
||||
|
||||
// Token: 0x04007FFD RID: 32765
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007FFD")]
|
||||
private readonly DerInteger serialNumber;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user