scripts
This commit is contained in:
+143
@@ -0,0 +1,143 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018E3 RID: 6371
|
||||
[Token(Token = "0x20018E3")]
|
||||
[StructLayout(3)]
|
||||
public class AdmissionSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB0F RID: 43791 RVA: 0x0027F26C File Offset: 0x0027D46C
|
||||
[Token(Token = "0x600AB0F")]
|
||||
[Address(RVA = "0x27C7CC0", Offset = "0x27C66C0", VA = "0x1827C7CC0")]
|
||||
public static AdmissionSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB0F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdmissionSyntax::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_42:
|
||||
stloc:string(var_9_48, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_10_60, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_9_48)), 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: 0x0600AB10 RID: 43792 RVA: 0x0027F2DC File Offset: 0x0027D4DC
|
||||
[Token(Token = "0x600AB10")]
|
||||
[Address(RVA = "0x27C8150", Offset = "0x27C6B50", VA = "0x1827C8150")]
|
||||
private AdmissionSyntax(Asn1Sequence seq)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable == (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.contentsOfAdmissions = asn1Sequence;
|
||||
return;
|
||||
}
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
GeneralName generalName;
|
||||
this.admissionAuthority = generalName;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600AB11 RID: 43793 RVA: 0x0027F318 File Offset: 0x0027D518
|
||||
[Token(Token = "0x600AB11")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public AdmissionSyntax(GeneralName admissionAuthority, Asn1Sequence contentsOfAdmissions)
|
||||
{
|
||||
this.admissionAuthority = admissionAuthority;
|
||||
this.contentsOfAdmissions = contentsOfAdmissions;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB12 RID: 43794 RVA: 0x0027F33C File Offset: 0x0027D53C
|
||||
[Token(Token = "0x600AB12")]
|
||||
[Address(RVA = "0x27C7FB0", Offset = "0x27C69B0", VA = "0x1827C7FB0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.admissionAuthority != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
GeneralName generalName = this.admissionAuthority;
|
||||
if (generalName != 0)
|
||||
{
|
||||
}
|
||||
array[0] = generalName;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.contentsOfAdmissions;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Sequence;
|
||||
asn1EncodableVector.Add(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001B0D RID: 6925
|
||||
// (get) Token: 0x0600AB13 RID: 43795 RVA: 0x0027F3A8 File Offset: 0x0027D5A8
|
||||
[Token(Token = "0x17001B0D")]
|
||||
public virtual GeneralName AdmissionAuthority
|
||||
{
|
||||
[Token(Token = "0x600AB13")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.admissionAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB14 RID: 43796 RVA: 0x0027F3BC File Offset: 0x0027D5BC
|
||||
[Token(Token = "0x600AB14")]
|
||||
[Address(RVA = "0x27C7B90", Offset = "0x27C6590", VA = "0x1827C7B90", Slot = "7")]
|
||||
public virtual Admissions[] GetContentsOfAdmissions()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.contentsOfAdmissions;
|
||||
Asn1Encodable asn1Encodable;
|
||||
Admissions[] array = new Admissions[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence2 = this.contentsOfAdmissions;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num < asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.contentsOfAdmissions.Parser;
|
||||
Admissions admissions;
|
||||
if (admissions != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = admissions;
|
||||
Asn1Sequence asn1Sequence3 = this.contentsOfAdmissions;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0400706A RID: 28778
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400706A")]
|
||||
private readonly GeneralName admissionAuthority;
|
||||
|
||||
// Token: 0x0400706B RID: 28779
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400706B")]
|
||||
private readonly Asn1Sequence contentsOfAdmissions;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user