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

133 lines
5.9 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
// Token: 0x02002028 RID: 8232
[Token(Token = "0x2002028")]
public class CAKeyUpdAnnContent : Asn1Encodable
{
// Token: 0x0600CE68 RID: 52840 RVA: 0x002EF000 File Offset: 0x002ED200
[Token(Token = "0x600CE68")]
[Address(RVA = "0x2298470", Offset = "0x2297470", VA = "0x182298470")]
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: 0x0600CE69 RID: 52841 RVA: 0x002EF048 File Offset: 0x002ED248
[Token(Token = "0x600CE69")]
[Address(RVA = "0x22980A0", Offset = "0x22970A0", VA = "0x1822980A0")]
public static CAKeyUpdAnnContent GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600CE69)
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: 0x170020B5 RID: 8373
// (get) Token: 0x0600CE6A RID: 52842 RVA: 0x002EF0B0 File Offset: 0x002ED2B0
[Token(Token = "0x170020B5")]
public virtual CmpCertificate OldWithNew
{
[Token(Token = "0x600CE6A")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
get
{
return this.oldWithNew;
}
}
// Token: 0x170020B6 RID: 8374
// (get) Token: 0x0600CE6B RID: 52843 RVA: 0x002EF0C4 File Offset: 0x002ED2C4
[Token(Token = "0x170020B6")]
public virtual CmpCertificate NewWithOld
{
[Token(Token = "0x600CE6B")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
get
{
return this.newWithOld;
}
}
// Token: 0x170020B7 RID: 8375
// (get) Token: 0x0600CE6C RID: 52844 RVA: 0x002EF0D8 File Offset: 0x002ED2D8
[Token(Token = "0x170020B7")]
public virtual CmpCertificate NewWithNew
{
[Token(Token = "0x600CE6C")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "8")]
get
{
return this.newWithNew;
}
}
// Token: 0x0600CE6D RID: 52845 RVA: 0x002EF0EC File Offset: 0x002ED2EC
[Token(Token = "0x600CE6D")]
[Address(RVA = "0x2298300", Offset = "0x2297300", VA = "0x182298300", 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: 0x040082AC RID: 33452
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40082AC")]
private readonly CmpCertificate oldWithNew;
// Token: 0x040082AD RID: 33453
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40082AD")]
private readonly CmpCertificate newWithOld;
// Token: 0x040082AE RID: 33454
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40082AE")]
private readonly CmpCertificate newWithNew;
}
}