Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Asn1/Crmf/PkiPublicationInfo.cs
T
2026-04-08 23:40:05 +02:00

121 lines
5.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
{
// Token: 0x02001933 RID: 6451
[Token(Token = "0x2001933")]
[StructLayout(3)]
public class PkiPublicationInfo : Asn1Encodable
{
// Token: 0x0600AD13 RID: 44307 RVA: 0x00287F70 File Offset: 0x00286170
[Token(Token = "0x600AD13")]
[Address(RVA = "0x1EDF8E0", Offset = "0x1EDE2E0", VA = "0x181EDF8E0")]
private PkiPublicationInfo(Asn1Sequence seq)
{
Asn1SequenceParser parser = seq.Parser;
DerInteger derInteger;
this.action = derInteger;
Asn1SequenceParser parser2 = seq.Parser;
Asn1Sequence asn1Sequence;
this.pubInfos = asn1Sequence;
}
// Token: 0x0600AD14 RID: 44308 RVA: 0x00287FA8 File Offset: 0x002861A8
[Token(Token = "0x600AD14")]
[Address(RVA = "0x1EDF470", Offset = "0x1EDDE70", VA = "0x181EDF470")]
public static PkiPublicationInfo GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600AD14)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PkiPublicationInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PkiPublicationInfo::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: 0x17001B88 RID: 7048
// (get) Token: 0x0600AD15 RID: 44309 RVA: 0x00288008 File Offset: 0x00286208
[Token(Token = "0x17001B88")]
public virtual DerInteger Action
{
[Token(Token = "0x600AD15")]
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
get
{
return this.action;
}
}
// Token: 0x0600AD16 RID: 44310 RVA: 0x0028801C File Offset: 0x0028621C
[Token(Token = "0x600AD16")]
[Address(RVA = "0x1EDF6B0", Offset = "0x1EDE0B0", VA = "0x181EDF6B0", Slot = "7")]
public virtual SinglePubInfo[] GetPubInfos()
{
if (this.pubInfos != 0)
{
Asn1Encodable asn1Encodable;
SinglePubInfo[] array = new SinglePubInfo[asn1Encodable];
int num = 0;
if (num != array.Length)
{
Asn1SequenceParser parser = this.pubInfos.Parser;
SinglePubInfo singlePubInfo;
if (singlePubInfo != 0)
{
}
num++;
array[0] = singlePubInfo;
}
return array;
}
throw new ArrayTypeMismatchException();
}
// Token: 0x0600AD17 RID: 44311 RVA: 0x0028806C File Offset: 0x0028626C
[Token(Token = "0x600AD17")]
[Address(RVA = "0x1EDF7D0", Offset = "0x1EDE1D0", VA = "0x181EDF7D0", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[2];
DerInteger derInteger = this.action;
if (derInteger != 0)
{
}
array[0] = derInteger;
Asn1Sequence asn1Sequence = this.pubInfos;
if (asn1Sequence != 0)
{
}
array[1] = asn1Sequence;
DerSequence derSequence = new DerSequence(array);
throw new NullReferenceException();
}
// Token: 0x040071F0 RID: 29168
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40071F0")]
private readonly DerInteger action;
// Token: 0x040071F1 RID: 29169
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40071F1")]
private readonly Asn1Sequence pubInfos;
}
}