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

78 lines
5.4 KiB
C#

using System;
using System.Text;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix
{
// Token: 0x0200197A RID: 6522
[Token(Token = "0x200197A")]
public class PkixCertPathBuilderResult : PkixCertPathValidatorResult
{
// Token: 0x06009B1A RID: 39706 RVA: 0x0020250C File Offset: 0x0020070C
[Token(Token = "0x6009B1A")]
[Address(RVA = "0x1CC9E80", Offset = "0x1CC8C80", VA = "0x181CC9E80")]
public PkixCertPathBuilderResult(PkixCertPath certPath, TrustAnchor trustAnchor, PkixPolicyNode policyTree, AsymmetricKeyParameter subjectPublicKey)
{
/*
An exception occurred when decompiling this method (06009B1A)
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixCertPathBuilderResult::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixCertPath,BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.TrustAnchor,BestHTTP.SecureProtocol.Org.BouncyCastle.Pkix.PkixPolicyNode,BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.AsymmetricKeyParameter)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_0C:
stloc:ArgumentNullException(var_1_16, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("certPath")))
}
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 1663
*/;
}
// Token: 0x170018D7 RID: 6359
// (get) Token: 0x06009B1B RID: 39707 RVA: 0x00202530 File Offset: 0x00200730
[Token(Token = "0x170018D7")]
public PkixCertPath CertPath
{
[Token(Token = "0x6009B1B")]
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0")]
get
{
return this.certPath;
}
}
// Token: 0x06009B1C RID: 39708 RVA: 0x00202544 File Offset: 0x00200744
[Token(Token = "0x6009B1C")]
[Address(RVA = "0x1CC9CE0", Offset = "0x1CC8AE0", VA = "0x181CC9CE0", Slot = "3")]
public override string ToString()
{
StringBuilder stringBuilder = new StringBuilder();
StringBuilder stringBuilder2 = stringBuilder.Append("SimplePKIXCertPathBuilderResult: [\n");
StringBuilder stringBuilder3 = stringBuilder.Append(" Certification Path: ");
PkixCertPath pkixCertPath = this.certPath;
StringBuilder stringBuilder4 = stringBuilder3.Append(pkixCertPath);
StringBuilder stringBuilder5 = stringBuilder.Append(" Trust Anchor: ");
int hashCode = this.trustAnchor.trustedCert.SerialNumber.GetHashCode();
StringBuilder stringBuilder6 = stringBuilder.Append(" Subject Public Key: ");
AsymmetricKeyParameter subjectPublicKey = this.subjectPublicKey;
StringBuilder stringBuilder7 = stringBuilder6.Append(subjectPublicKey).Append("\n]");
throw new NullReferenceException();
}
// Token: 0x040068DD RID: 26845
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x40068DD")]
private PkixCertPath certPath;
}
}