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

135 lines
6.0 KiB
C#

using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
// Token: 0x0200196B RID: 6507
[Token(Token = "0x200196B")]
[StructLayout(3)]
public class CAKeyUpdAnnContent : Asn1Encodable
{
// Token: 0x0600AEC0 RID: 44736 RVA: 0x0028E358 File Offset: 0x0028C558
[Token(Token = "0x600AEC0")]
[Address(RVA = "0x267FED0", Offset = "0x267E8D0", VA = "0x18267FED0")]
private CAKeyUpdAnnContent(Asn1Sequence seq)
{
Asn1SequenceParser parser = seq.Parser;
CmpCertificate cmpCertificate;
this.oldWithNew = cmpCertificate;
Asn1SequenceParser parser2 = seq.Parser;
CmpCertificate cmpCertificate2;
this.newWithOld = cmpCertificate2;
Asn1SequenceParser parser3 = seq.Parser;
CmpCertificate cmpCertificate3;
this.newWithNew = cmpCertificate3;
}
// Token: 0x0600AEC1 RID: 44737 RVA: 0x0028E3A0 File Offset: 0x0028C5A0
[Token(Token = "0x600AEC1")]
[Address(RVA = "0x267FB00", Offset = "0x267E500", VA = "0x18267FB00")]
public static CAKeyUpdAnnContent GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600AEC1)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp.CAKeyUpdAnnContent BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp.CAKeyUpdAnnContent::GetInstance(System.Object)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_3A:
stloc:string(var_9_40, call:string(Platform::GetTypeName, ldloc:object(obj)))
stloc:ArgumentException(var_10_58, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_9_40)), 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: 0x17001C17 RID: 7191
// (get) Token: 0x0600AEC2 RID: 44738 RVA: 0x0028E408 File Offset: 0x0028C608
[Token(Token = "0x17001C17")]
public virtual CmpCertificate OldWithNew
{
[Token(Token = "0x600AEC2")]
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
get
{
return this.oldWithNew;
}
}
// Token: 0x17001C18 RID: 7192
// (get) Token: 0x0600AEC3 RID: 44739 RVA: 0x0028E41C File Offset: 0x0028C61C
[Token(Token = "0x17001C18")]
public virtual CmpCertificate NewWithOld
{
[Token(Token = "0x600AEC3")]
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "7")]
get
{
return this.newWithOld;
}
}
// Token: 0x17001C19 RID: 7193
// (get) Token: 0x0600AEC4 RID: 44740 RVA: 0x0028E430 File Offset: 0x0028C630
[Token(Token = "0x17001C19")]
public virtual CmpCertificate NewWithNew
{
[Token(Token = "0x600AEC4")]
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "8")]
get
{
return this.newWithNew;
}
}
// Token: 0x0600AEC5 RID: 44741 RVA: 0x0028E444 File Offset: 0x0028C644
[Token(Token = "0x600AEC5")]
[Address(RVA = "0x267FD60", Offset = "0x267E760", VA = "0x18267FD60", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[3];
CmpCertificate cmpCertificate = this.oldWithNew;
if (cmpCertificate != 0)
{
}
array[0] = cmpCertificate;
CmpCertificate cmpCertificate2 = this.newWithOld;
if (cmpCertificate2 != 0)
{
}
array[1] = cmpCertificate2;
CmpCertificate cmpCertificate3 = this.newWithNew;
if (cmpCertificate3 != 0)
{
}
array[2] = cmpCertificate3;
DerSequence derSequence = new DerSequence(array);
throw new NullReferenceException();
}
// Token: 0x040072B0 RID: 29360
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x40072B0")]
private readonly CmpCertificate oldWithNew;
// Token: 0x040072B1 RID: 29361
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x40072B1")]
private readonly CmpCertificate newWithOld;
// Token: 0x040072B2 RID: 29362
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x40072B2")]
private readonly CmpCertificate newWithNew;
}
}