119 lines
5.4 KiB
C#
119 lines
5.4 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
|
{
|
|
// Token: 0x02001F10 RID: 7952
|
|
[Token(Token = "0x2001F10")]
|
|
public class PkiPublicationInfo : Asn1Encodable
|
|
{
|
|
// Token: 0x0600C8ED RID: 51437 RVA: 0x002E0450 File Offset: 0x002DE650
|
|
[Token(Token = "0x600C8ED")]
|
|
[Address(RVA = "0x188C610", Offset = "0x188B410", VA = "0x18188C610")]
|
|
private PkiPublicationInfo(Asn1Sequence seq)
|
|
{
|
|
Asn1SequenceParser parser = seq.Parser;
|
|
DerInteger derInteger;
|
|
this.action = derInteger;
|
|
Asn1SequenceParser parser2 = seq.Parser;
|
|
Asn1Sequence asn1Sequence;
|
|
this.pubInfos = asn1Sequence;
|
|
}
|
|
|
|
// Token: 0x0600C8EE RID: 51438 RVA: 0x002E0488 File Offset: 0x002DE688
|
|
[Token(Token = "0x600C8EE")]
|
|
[Address(RVA = "0x188C1A0", Offset = "0x188AFA0", VA = "0x18188C1A0")]
|
|
public static PkiPublicationInfo GetInstance(object obj)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C8EE)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PkiPublicationInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PkiPublicationInfo::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 1660
|
|
*/;
|
|
}
|
|
|
|
// Token: 0x17001F89 RID: 8073
|
|
// (get) Token: 0x0600C8EF RID: 51439 RVA: 0x002E04E8 File Offset: 0x002DE6E8
|
|
[Token(Token = "0x17001F89")]
|
|
public virtual DerInteger Action
|
|
{
|
|
[Token(Token = "0x600C8EF")]
|
|
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
|
get
|
|
{
|
|
return this.action;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C8F0 RID: 51440 RVA: 0x002E04FC File Offset: 0x002DE6FC
|
|
[Token(Token = "0x600C8F0")]
|
|
[Address(RVA = "0x188C3E0", Offset = "0x188B1E0", VA = "0x18188C3E0", Slot = "7")]
|
|
public virtual SinglePubInfo[] GetPubInfos()
|
|
{
|
|
if (this.pubInfos != 0)
|
|
{
|
|
Asn1Encodable asn1Encodable;
|
|
SinglePubInfo[] array = new SinglePubInfo[asn1Encodable];
|
|
int num = 0;
|
|
if (num != array.Length)
|
|
{
|
|
Asn1SequenceParser parser = this.pubInfos.Parser;
|
|
SinglePubInfo singlePubInfo;
|
|
if (singlePubInfo != 0)
|
|
{
|
|
}
|
|
num++;
|
|
array[0] = singlePubInfo;
|
|
}
|
|
return array;
|
|
}
|
|
throw new ArrayTypeMismatchException();
|
|
}
|
|
|
|
// Token: 0x0600C8F1 RID: 51441 RVA: 0x002E054C File Offset: 0x002DE74C
|
|
[Token(Token = "0x600C8F1")]
|
|
[Address(RVA = "0x188C500", Offset = "0x188B300", VA = "0x18188C500", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
Asn1Encodable[] array = new Asn1Encodable[2];
|
|
DerInteger derInteger = this.action;
|
|
if (derInteger != 0)
|
|
{
|
|
}
|
|
array[0] = derInteger;
|
|
Asn1Sequence asn1Sequence = this.pubInfos;
|
|
if (asn1Sequence != 0)
|
|
{
|
|
}
|
|
array[1] = asn1Sequence;
|
|
DerSequence derSequence = new DerSequence(array);
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x04008033 RID: 32819
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4008033")]
|
|
private readonly DerInteger action;
|
|
|
|
// Token: 0x04008034 RID: 32820
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4008034")]
|
|
private readonly Asn1Sequence pubInfos;
|
|
}
|
|
}
|