m
This commit is contained in:
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FE3 RID: 8163
|
||||
[Token(Token = "0x2001FE3")]
|
||||
public class CertId : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC57 RID: 52311 RVA: 0x002E77AC File Offset: 0x002E59AC
|
||||
[Token(Token = "0x600CC57")]
|
||||
[Address(RVA = "0x23A2450", Offset = "0x23A1450", VA = "0x1823A2450")]
|
||||
private CertId(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
GeneralName generalName;
|
||||
this.issuer = generalName;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.serialNumber = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC58 RID: 52312 RVA: 0x002E77E4 File Offset: 0x002E59E4
|
||||
[Token(Token = "0x600CC58")]
|
||||
[Address(RVA = "0x23A20E0", Offset = "0x23A10E0", VA = "0x1823A20E0")]
|
||||
public static CertId GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC58)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertId BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertId::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_32:
|
||||
stloc:string(var_8_38, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_9_50, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_8_38)), 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: 0x0600CC59 RID: 52313 RVA: 0x002E7844 File Offset: 0x002E5A44
|
||||
[Token(Token = "0x600CC59")]
|
||||
[Address(RVA = "0x23A2320", Offset = "0x23A1320", VA = "0x1823A2320")]
|
||||
public static CertId GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return CertId.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x17002005 RID: 8197
|
||||
// (get) Token: 0x0600CC5A RID: 52314 RVA: 0x002E7860 File Offset: 0x002E5A60
|
||||
[Token(Token = "0x17002005")]
|
||||
public virtual GeneralName Issuer
|
||||
{
|
||||
[Token(Token = "0x600CC5A")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.issuer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002006 RID: 8198
|
||||
// (get) Token: 0x0600CC5B RID: 52315 RVA: 0x002E7874 File Offset: 0x002E5A74
|
||||
[Token(Token = "0x17002006")]
|
||||
public virtual DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600CC5B")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CC5C RID: 52316 RVA: 0x002E7888 File Offset: 0x002E5A88
|
||||
[Token(Token = "0x600CC5C")]
|
||||
[Address(RVA = "0x23A2340", Offset = "0x23A1340", VA = "0x1823A2340", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
GeneralName generalName = this.issuer;
|
||||
if (generalName != 0)
|
||||
{
|
||||
}
|
||||
array[0] = generalName;
|
||||
DerInteger derInteger = this.serialNumber;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040081B5 RID: 33205
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081B5")]
|
||||
private readonly GeneralName issuer;
|
||||
|
||||
// Token: 0x040081B6 RID: 33206
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081B6")]
|
||||
private readonly DerInteger serialNumber;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user