This commit is contained in:
niko
2026-04-11 22:19:20 +02:00
parent 45b857ff11
commit 8fc35183db
17034 changed files with 2863552 additions and 0 deletions
@@ -0,0 +1,199 @@
using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
{
// Token: 0x02001F05 RID: 7941
[Token(Token = "0x2001F05")]
public class CertReqMsg : Asn1Encodable
{
// Token: 0x0600C894 RID: 51348 RVA: 0x002DF1B8 File Offset: 0x002DD3B8
[Token(Token = "0x600C894")]
[Address(RVA = "0x2AD4400", Offset = "0x2AD3200", VA = "0x182AD4400")]
private CertReqMsg(Asn1Sequence seq)
{
Asn1SequenceParser parser = seq.Parser;
CertRequest certRequest;
this.certReq = certRequest;
Asn1Encodable asn1Encodable;
if ((uint)1 < asn1Encodable)
{
Asn1SequenceParser parser2 = seq.Parser;
if (parser2 != 0 && (parser2 != 0 || parser2 != 0))
{
ProofOfPossession proofOfPossession;
this.popo = proofOfPossession;
}
Asn1Sequence asn1Sequence;
this.regInfo = asn1Sequence;
}
}
// Token: 0x0600C895 RID: 51349 RVA: 0x002DF210 File Offset: 0x002DD410
[Token(Token = "0x600C895")]
[Address(RVA = "0x2AD3E90", Offset = "0x2AD2C90", VA = "0x182AD3E90")]
public static CertReqMsg GetInstance(object obj)
{
while (obj != 0)
{
if (obj == 0)
{
Asn1Sequence instance = Asn1Sequence.GetInstance(obj);
Asn1SequenceParser parser = instance.Parser;
CertReqMsg certReqMsg;
CertRequest certRequest;
certReqMsg.certReq = certRequest;
Asn1Encodable asn1Encodable;
if ((uint)1 < asn1Encodable)
{
Asn1SequenceParser parser2 = instance.Parser;
if (parser2 != 0 && (parser2 != 0 || parser2 != 0))
{
ProofOfPossession proofOfPossession;
certReqMsg.popo = proofOfPossession;
}
Asn1Sequence asn1Sequence;
certReqMsg.regInfo = asn1Sequence;
}
return certReqMsg;
}
if ((uint)1 != 0U)
{
return (uint)1;
}
}
throw new NullReferenceException();
}
// Token: 0x0600C896 RID: 51350 RVA: 0x002DF28C File Offset: 0x002DD48C
[Token(Token = "0x600C896")]
[Address(RVA = "0x2AD40F0", Offset = "0x2AD2EF0", VA = "0x182AD40F0")]
public static CertReqMsg GetInstance(Asn1TaggedObject obj, bool isExplicit)
{
return CertReqMsg.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
}
// Token: 0x0600C897 RID: 51351 RVA: 0x002DF2A8 File Offset: 0x002DD4A8
[Token(Token = "0x600C897")]
[Address(RVA = "0x2AD4570", Offset = "0x2AD3370", VA = "0x182AD4570")]
public CertReqMsg(CertRequest certReq, ProofOfPossession popo, AttributeTypeAndValue[] regInfo)
{
/*
An exception occurred when decompiling this method (0600C897)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertReqMsg::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertRequest,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.ProofOfPossession,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.AttributeTypeAndValue[])
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_2B:
stloc:ArgumentNullException(var_1_35, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("certReq")))
}
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
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 1660
*/;
}
// Token: 0x17001F6A RID: 8042
// (get) Token: 0x0600C898 RID: 51352 RVA: 0x002DF2EC File Offset: 0x002DD4EC
[Token(Token = "0x17001F6A")]
public virtual CertRequest CertReq
{
[Token(Token = "0x600C898")]
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
get
{
return this.certReq;
}
}
// Token: 0x17001F6B RID: 8043
// (get) Token: 0x0600C899 RID: 51353 RVA: 0x002DF300 File Offset: 0x002DD500
[Token(Token = "0x17001F6B")]
public virtual ProofOfPossession Popo
{
[Token(Token = "0x600C899")]
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
get
{
return this.popo;
}
}
// Token: 0x0600C89A RID: 51354 RVA: 0x002DF314 File Offset: 0x002DD514
[Token(Token = "0x600C89A")]
[Address(RVA = "0x2AD4110", Offset = "0x2AD2F10", VA = "0x182AD4110", Slot = "8")]
public virtual AttributeTypeAndValue[] GetRegInfo()
{
if (this.regInfo != 0)
{
Asn1Encodable asn1Encodable;
AttributeTypeAndValue[] array = new AttributeTypeAndValue[asn1Encodable];
int num = 0;
if (num != array.Length)
{
Asn1SequenceParser parser = this.regInfo.Parser;
AttributeTypeAndValue attributeTypeAndValue;
if (attributeTypeAndValue != 0)
{
}
num++;
array[0] = attributeTypeAndValue;
}
return array;
}
throw new ArrayTypeMismatchException();
}
// Token: 0x0600C89B RID: 51355 RVA: 0x002DF364 File Offset: 0x002DD564
[Token(Token = "0x600C89B")]
[Address(RVA = "0x2AD4230", Offset = "0x2AD3030", VA = "0x182AD4230", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
Asn1Encodable[] array = new Asn1Encodable[1];
CertRequest certRequest = this.certReq;
if (certRequest != 0)
{
}
array[0] = certRequest;
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
Asn1Encodable[] array2 = new Asn1Encodable[2];
ProofOfPossession proofOfPossession = this.popo;
if (proofOfPossession != 0)
{
}
array2[0] = proofOfPossession;
Asn1Sequence asn1Sequence = this.regInfo;
if (asn1Sequence != 0)
{
}
array2[1] = asn1Sequence;
asn1EncodableVector.AddOptional(array2);
DerSequence derSequence = new DerSequence(asn1EncodableVector);
throw new NullReferenceException();
}
// Token: 0x04007FFF RID: 32767
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4007FFF")]
private readonly CertRequest certReq;
// Token: 0x04008000 RID: 32768
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4008000")]
private readonly ProofOfPossession popo;
// Token: 0x04008001 RID: 32769
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4008001")]
private readonly Asn1Sequence regInfo;
}
}