Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Asn1/Cmp/CAKeyUpdAnnContent.cs
T
2026-04-10 22:50:51 +02:00

133 lines
5.9 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
{
// Token: 0x02001F48 RID: 8008
[Token(Token = "0x2001F48")]
public class CAKeyUpdAnnContent : Asn1Encodable
{
// Token: 0x0600CA9A RID: 51866 RVA: 0x002E6844 File Offset: 0x002E4A44
[Token(Token = "0x600CA9A")]
[Address(RVA = "0x26480D0", Offset = "0x2646ED0", VA = "0x1826480D0")]
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: 0x0600CA9B RID: 51867 RVA: 0x002E688C File Offset: 0x002E4A8C
[Token(Token = "0x600CA9B")]
[Address(RVA = "0x2647D00", Offset = "0x2646B00", VA = "0x182647D00")]
public static CAKeyUpdAnnContent GetInstance(object obj)
{
/*
An exception occurred when decompiling this method (0600CA9B)
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: 0x17002018 RID: 8216
// (get) Token: 0x0600CA9C RID: 51868 RVA: 0x002E68F4 File Offset: 0x002E4AF4
[Token(Token = "0x17002018")]
public virtual CmpCertificate OldWithNew
{
[Token(Token = "0x600CA9C")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
get
{
return this.oldWithNew;
}
}
// Token: 0x17002019 RID: 8217
// (get) Token: 0x0600CA9D RID: 51869 RVA: 0x002E6908 File Offset: 0x002E4B08
[Token(Token = "0x17002019")]
public virtual CmpCertificate NewWithOld
{
[Token(Token = "0x600CA9D")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
get
{
return this.newWithOld;
}
}
// Token: 0x1700201A RID: 8218
// (get) Token: 0x0600CA9E RID: 51870 RVA: 0x002E691C File Offset: 0x002E4B1C
[Token(Token = "0x1700201A")]
public virtual CmpCertificate NewWithNew
{
[Token(Token = "0x600CA9E")]
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "8")]
get
{
return this.newWithNew;
}
}
// Token: 0x0600CA9F RID: 51871 RVA: 0x002E6930 File Offset: 0x002E4B30
[Token(Token = "0x600CA9F")]
[Address(RVA = "0x2647F60", Offset = "0x2646D60", VA = "0x182647F60", 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: 0x040080F3 RID: 33011
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40080F3")]
private readonly CmpCertificate oldWithNew;
// Token: 0x040080F4 RID: 33012
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x40080F4")]
private readonly CmpCertificate newWithOld;
// Token: 0x040080F5 RID: 33013
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x40080F5")]
private readonly CmpCertificate newWithNew;
}
}