Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Asn1/Crmf/PkiPublicationInfo.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

119 lines
5.4 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
{
// Token: 0x02001FF0 RID: 8176
[Token(Token = "0x2001FF0")]
public class PkiPublicationInfo : Asn1Encodable
{
// Token: 0x0600CCBB RID: 52411 RVA: 0x002E8C44 File Offset: 0x002E6E44
[Token(Token = "0x600CCBB")]
[Address(RVA = "0x23B9070", Offset = "0x23B8070", VA = "0x1823B9070")]
private PkiPublicationInfo(Asn1Sequence seq)
{
Asn1SequenceParser parser = seq.Parser;
DerInteger derInteger;
this.action = derInteger;
Asn1SequenceParser parser2 = seq.Parser;
Asn1Sequence asn1Sequence;
this.pubInfos = asn1Sequence;
}
// Token: 0x0600CCBC RID: 52412 RVA: 0x002E8C7C File Offset: 0x002E6E7C
[Token(Token = "0x600CCBC")]
[Address(RVA = "0x23B8C00", Offset = "0x23B7C00", VA = "0x1823B8C00")]
public static PkiPublicationInfo GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600CCBC)
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: 0x17002026 RID: 8230
// (get) Token: 0x0600CCBD RID: 52413 RVA: 0x002E8CDC File Offset: 0x002E6EDC
[Token(Token = "0x17002026")]
public virtual DerInteger Action
{
[Token(Token = "0x600CCBD")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
get
{
return this.action;
}
}
// Token: 0x0600CCBE RID: 52414 RVA: 0x002E8CF0 File Offset: 0x002E6EF0
[Token(Token = "0x600CCBE")]
[Address(RVA = "0x23B8E40", Offset = "0x23B7E40", VA = "0x1823B8E40", 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: 0x0600CCBF RID: 52415 RVA: 0x002E8D40 File Offset: 0x002E6F40
[Token(Token = "0x600CCBF")]
[Address(RVA = "0x23B8F60", Offset = "0x23B7F60", VA = "0x1823B8F60", 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: 0x040081EC RID: 33260
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40081EC")]
private readonly DerInteger action;
// Token: 0x040081ED RID: 33261
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40081ED")]
private readonly Asn1Sequence pubInfos;
}
}