scripts
This commit is contained in:
+99
@@ -0,0 +1,99 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt
|
||||
{
|
||||
// Token: 0x020018E1 RID: 6369
|
||||
[Token(Token = "0x20018E1")]
|
||||
[StructLayout(3)]
|
||||
public abstract class IsisMttObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600AB08 RID: 43784 RVA: 0x0027EFA8 File Offset: 0x0027D1A8
|
||||
[Token(Token = "0x600AB08")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected IsisMttObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04007055 RID: 28757
|
||||
[Token(Token = "0x4007055")]
|
||||
public static readonly DerObjectIdentifier IdIsisMtt = new DerObjectIdentifier("1.3.36.8");
|
||||
|
||||
// Token: 0x04007056 RID: 28758
|
||||
[Token(Token = "0x4007056")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttCP = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMtt + ".1");
|
||||
|
||||
// Token: 0x04007057 RID: 28759
|
||||
[Token(Token = "0x4007057")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttCPAccredited = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttCP + ".1");
|
||||
|
||||
// Token: 0x04007058 RID: 28760
|
||||
[Token(Token = "0x4007058")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttAT = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMtt + ".3");
|
||||
|
||||
// Token: 0x04007059 RID: 28761
|
||||
[Token(Token = "0x4007059")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATDateOfCertGen = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".1");
|
||||
|
||||
// Token: 0x0400705A RID: 28762
|
||||
[Token(Token = "0x400705A")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATProcuration = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".2");
|
||||
|
||||
// Token: 0x0400705B RID: 28763
|
||||
[Token(Token = "0x400705B")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATAdmission = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".3");
|
||||
|
||||
// Token: 0x0400705C RID: 28764
|
||||
[Token(Token = "0x400705C")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATMonetaryLimit = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".4");
|
||||
|
||||
// Token: 0x0400705D RID: 28765
|
||||
[Token(Token = "0x400705D")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATDeclarationOfMajority = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".5");
|
||||
|
||||
// Token: 0x0400705E RID: 28766
|
||||
[Token(Token = "0x400705E")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATIccsn = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".6");
|
||||
|
||||
// Token: 0x0400705F RID: 28767
|
||||
[Token(Token = "0x400705F")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATPKReference = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".7");
|
||||
|
||||
// Token: 0x04007060 RID: 28768
|
||||
[Token(Token = "0x4007060")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRestriction = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".8");
|
||||
|
||||
// Token: 0x04007061 RID: 28769
|
||||
[Token(Token = "0x4007061")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRetrieveIfAllowed = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".9");
|
||||
|
||||
// Token: 0x04007062 RID: 28770
|
||||
[Token(Token = "0x4007062")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRequestedCertificate = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".10");
|
||||
|
||||
// Token: 0x04007063 RID: 28771
|
||||
[Token(Token = "0x4007063")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNamingAuthorities = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".11");
|
||||
|
||||
// Token: 0x04007064 RID: 28772
|
||||
[Token(Token = "0x4007064")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATCertInDirSince = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".12");
|
||||
|
||||
// Token: 0x04007065 RID: 28773
|
||||
[Token(Token = "0x4007065")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATCertHash = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".13");
|
||||
|
||||
// Token: 0x04007066 RID: 28774
|
||||
[Token(Token = "0x4007066")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNameAtBirth = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".14");
|
||||
|
||||
// Token: 0x04007067 RID: 28775
|
||||
[Token(Token = "0x4007067")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATAdditionalInformation = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".15");
|
||||
|
||||
// Token: 0x04007068 RID: 28776
|
||||
[Token(Token = "0x4007068")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATLiabilityLimitationFlag = new DerObjectIdentifier("0.2.262.1.10.12.0");
|
||||
}
|
||||
}
|
||||
+138
@@ -0,0 +1,138 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp
|
||||
{
|
||||
// Token: 0x020018EC RID: 6380
|
||||
[Token(Token = "0x20018EC")]
|
||||
[StructLayout(3)]
|
||||
public class CertHash : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB4E RID: 43854 RVA: 0x0028068C File Offset: 0x0027E88C
|
||||
[Token(Token = "0x600AB4E")]
|
||||
[Address(RVA = "0x1DE34A0", Offset = "0x1DE1EA0", VA = "0x181DE34A0")]
|
||||
public static CertHash GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB4E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3F:
|
||||
stloc:string(var_9_45, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_10_5D, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_9_45)), 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: 0x0600AB4F RID: 43855 RVA: 0x002806F8 File Offset: 0x0027E8F8
|
||||
[Token(Token = "0x600AB4F")]
|
||||
[Address(RVA = "0x1DE39E0", Offset = "0x1DE23E0", VA = "0x181DE39E0")]
|
||||
private CertHash(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.hashAlgorithm = algorithmIdentifier;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
Asn1OctetString asn1OctetString;
|
||||
Stream octetStream = asn1OctetString.GetOctetStream();
|
||||
this.certificateHash = octetStream;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB50 RID: 43856 RVA: 0x00280738 File Offset: 0x0027E938
|
||||
[Token(Token = "0x600AB50")]
|
||||
[Address(RVA = "0x1DE38E0", Offset = "0x1DE22E0", VA = "0x181DE38E0")]
|
||||
public CertHash(AlgorithmIdentifier hashAlgorithm, byte[] certificateHash)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB50)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.CertHash::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier,System.Byte[])
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_21:
|
||||
stloc:ArgumentNullException(var_1_2B, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("certificateHash")))
|
||||
}
|
||||
|
||||
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: 0x17001B22 RID: 6946
|
||||
// (get) Token: 0x0600AB51 RID: 43857 RVA: 0x00280770 File Offset: 0x0027E970
|
||||
[Token(Token = "0x17001B22")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AB51")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B23 RID: 6947
|
||||
// (get) Token: 0x0600AB52 RID: 43858 RVA: 0x00280784 File Offset: 0x0027E984
|
||||
[Token(Token = "0x17001B23")]
|
||||
public byte[] CertificateHash
|
||||
{
|
||||
[Token(Token = "0x600AB52")]
|
||||
[Address(RVA = "0x1DE3B20", Offset = "0x1DE2520", VA = "0x181DE3B20")]
|
||||
get
|
||||
{
|
||||
byte[] array = this.certificateHash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB53 RID: 43859 RVA: 0x002807A0 File Offset: 0x0027E9A0
|
||||
[Token(Token = "0x600AB53")]
|
||||
[Address(RVA = "0x1DE37A0", Offset = "0x1DE21A0", VA = "0x181DE37A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
AlgorithmIdentifier algorithmIdentifier = this.hashAlgorithm;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = algorithmIdentifier;
|
||||
DerOctetString derOctetString = new DerOctetString(this.certificateHash);
|
||||
if (derOctetString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derOctetString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007098 RID: 28824
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007098")]
|
||||
private readonly AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04007099 RID: 28825
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007099")]
|
||||
private readonly byte[] certificateHash;
|
||||
}
|
||||
}
|
||||
+191
@@ -0,0 +1,191 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp
|
||||
{
|
||||
// Token: 0x020018ED RID: 6381
|
||||
[Token(Token = "0x20018ED")]
|
||||
[StructLayout(3)]
|
||||
public class RequestedCertificate : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600AB54 RID: 43860 RVA: 0x002807EC File Offset: 0x0027E9EC
|
||||
[Token(Token = "0x600AB54")]
|
||||
[Address(RVA = "0x1DF7070", Offset = "0x1DF5A70", VA = "0x181DF7070")]
|
||||
public static RequestedCertificate GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB54)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:string(var_7_3F, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_8_57, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_7_3F)), 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: 0x0600AB55 RID: 43861 RVA: 0x00280854 File Offset: 0x0027EA54
|
||||
[Token(Token = "0x600AB55")]
|
||||
[Address(RVA = "0x1DF7270", Offset = "0x1DF5C70", VA = "0x181DF7270")]
|
||||
public static RequestedCertificate GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB55)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp.RequestedCertificate::GetInstance(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_10:
|
||||
stloc:ArgumentException(var_0_1A, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("choice item must be explicitly tagged")))
|
||||
}
|
||||
|
||||
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: 0x0600AB56 RID: 43862 RVA: 0x0028087C File Offset: 0x0027EA7C
|
||||
[Token(Token = "0x600AB56")]
|
||||
[Address(RVA = "0x1DF74A0", Offset = "0x1DF5EA0", VA = "0x181DF74A0")]
|
||||
private RequestedCertificate(Asn1TaggedObject tagged)
|
||||
{
|
||||
int tagNo = tagged.tagNo;
|
||||
if (tagNo == 0)
|
||||
{
|
||||
Stream octetStream = Asn1OctetString.GetInstance(tagged, true).GetOctetStream();
|
||||
this.publicKeyCert = octetStream;
|
||||
return;
|
||||
}
|
||||
Stream octetStream2 = Asn1OctetString.GetInstance(tagged, tagNo != 0).GetOctetStream();
|
||||
this.attributeCert = octetStream2;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB57 RID: 43863 RVA: 0x002808CC File Offset: 0x0027EACC
|
||||
[Token(Token = "0x600AB57")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public RequestedCertificate(X509CertificateStructure certificate)
|
||||
{
|
||||
this.cert = certificate;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB58 RID: 43864 RVA: 0x002808E8 File Offset: 0x0027EAE8
|
||||
[Token(Token = "0x600AB58")]
|
||||
[Address(RVA = "0x1DF7400", Offset = "0x1DF5E00", VA = "0x181DF7400")]
|
||||
public RequestedCertificate(RequestedCertificate.Choice type, byte[] certificateOctets)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(certificateOctets);
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject((int)type, derOctetString);
|
||||
}
|
||||
|
||||
// Token: 0x17001B24 RID: 6948
|
||||
// (get) Token: 0x0600AB59 RID: 43865 RVA: 0x00280908 File Offset: 0x0027EB08
|
||||
[Token(Token = "0x17001B24")]
|
||||
public RequestedCertificate.Choice Type
|
||||
{
|
||||
[Token(Token = "0x600AB59")]
|
||||
[Address(RVA = "0x1DF75C0", Offset = "0x1DF5FC0", VA = "0x181DF75C0")]
|
||||
get
|
||||
{
|
||||
if (this.cert == (ulong)0L)
|
||||
{
|
||||
int num = 0;
|
||||
bool flag = this.publicKeyCert == num;
|
||||
}
|
||||
return RequestedCertificate.Choice.Certificate;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB5A RID: 43866 RVA: 0x00280930 File Offset: 0x0027EB30
|
||||
[Token(Token = "0x600AB5A")]
|
||||
[Address(RVA = "0x1DF6FA0", Offset = "0x1DF59A0", VA = "0x181DF6FA0")]
|
||||
public byte[] GetCertificateBytes()
|
||||
{
|
||||
if (this.cert == (ulong)0L)
|
||||
{
|
||||
byte[] array = this.publicKeyCert;
|
||||
if (array == 0)
|
||||
{
|
||||
}
|
||||
return array;
|
||||
}
|
||||
X509CertificateStructure x509CertificateStructure = this.cert;
|
||||
return x509CertificateStructure.GetEncoded();
|
||||
}
|
||||
|
||||
// Token: 0x0600AB5B RID: 43867 RVA: 0x0028097C File Offset: 0x0027EB7C
|
||||
[Token(Token = "0x600AB5B")]
|
||||
[Address(RVA = "0x1DF7300", Offset = "0x1DF5D00", VA = "0x181DF7300", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
byte[] array = this.publicKeyCert;
|
||||
if (array == 0)
|
||||
{
|
||||
byte[] array2 = this.attributeCert;
|
||||
if (array2 == 0)
|
||||
{
|
||||
return this.cert.ToAsn1Object();
|
||||
}
|
||||
DerOctetString derOctetString = new DerOctetString(array2);
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(array);
|
||||
}
|
||||
DerOctetString derOctetString2 = new DerOctetString(array);
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(num, derOctetString2);
|
||||
num = 0;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400709A RID: 28826
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400709A")]
|
||||
private readonly X509CertificateStructure cert;
|
||||
|
||||
// Token: 0x0400709B RID: 28827
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400709B")]
|
||||
private readonly byte[] publicKeyCert;
|
||||
|
||||
// Token: 0x0400709C RID: 28828
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400709C")]
|
||||
private readonly byte[] attributeCert;
|
||||
|
||||
// Token: 0x020018EE RID: 6382
|
||||
[Token(Token = "0x20018EE")]
|
||||
public enum Choice
|
||||
{
|
||||
// Token: 0x0400709E RID: 28830
|
||||
[Token(Token = "0x400709E")]
|
||||
Certificate = -1,
|
||||
// Token: 0x0400709F RID: 28831
|
||||
[Token(Token = "0x400709F")]
|
||||
PublicKeyCertificate,
|
||||
// Token: 0x040070A0 RID: 28832
|
||||
[Token(Token = "0x40070A0")]
|
||||
AttributeCertificate
|
||||
}
|
||||
}
|
||||
}
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018E2 RID: 6370
|
||||
[Token(Token = "0x20018E2")]
|
||||
[StructLayout(3)]
|
||||
public class AdditionalInformationSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB0A RID: 43786 RVA: 0x0027F1AC File Offset: 0x0027D3AC
|
||||
[Token(Token = "0x600AB0A")]
|
||||
[Address(RVA = "0x27C79A0", Offset = "0x27C63A0", VA = "0x1827C79A0")]
|
||||
public static AdditionalInformationSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB0A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.AdditionalInformationSyntax::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_20:
|
||||
stloc:string(var_4_26, call:string(Platform::GetTypeName, ldloc:AdditionalInformationSyntax[exp:object](var_3)))
|
||||
stloc:ArgumentException(var_5_3E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in GetInstance: "), ldloc:string(var_4_26)), 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.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: 0x0600AB0B RID: 43787 RVA: 0x0027F1F8 File Offset: 0x0027D3F8
|
||||
[Token(Token = "0x600AB0B")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
private AdditionalInformationSyntax(DirectoryString information)
|
||||
{
|
||||
this.information = information;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB0C RID: 43788 RVA: 0x0027F214 File Offset: 0x0027D414
|
||||
[Token(Token = "0x600AB0C")]
|
||||
[Address(RVA = "0x27C7B20", Offset = "0x27C6520", VA = "0x1827C7B20")]
|
||||
public AdditionalInformationSyntax(string information)
|
||||
{
|
||||
DirectoryString directoryString = new DirectoryString(information);
|
||||
this.information = directoryString;
|
||||
}
|
||||
|
||||
// Token: 0x17001B0C RID: 6924
|
||||
// (get) Token: 0x0600AB0D RID: 43789 RVA: 0x0027F238 File Offset: 0x0027D438
|
||||
[Token(Token = "0x17001B0C")]
|
||||
public virtual DirectoryString Information
|
||||
{
|
||||
[Token(Token = "0x600AB0D")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.information;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB0E RID: 43790 RVA: 0x0027F24C File Offset: 0x0027D44C
|
||||
[Token(Token = "0x600AB0E")]
|
||||
[Address(RVA = "0x52D760", Offset = "0x52C160", VA = "0x18052D760", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.information.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04007069 RID: 28777
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007069")]
|
||||
private readonly DirectoryString information;
|
||||
}
|
||||
}
|
||||
+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;
|
||||
}
|
||||
}
|
||||
+244
@@ -0,0 +1,244 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018E4 RID: 6372
|
||||
[Token(Token = "0x20018E4")]
|
||||
[StructLayout(3)]
|
||||
public class Admissions : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB15 RID: 43797 RVA: 0x0027F414 File Offset: 0x0027D614
|
||||
[Token(Token = "0x600AB15")]
|
||||
[Address(RVA = "0x27C8280", Offset = "0x27C6C80", VA = "0x1827C8280")]
|
||||
public static Admissions GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB15)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Admissions::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_2C)), 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: 0x0600AB16 RID: 43798 RVA: 0x0027F468 File Offset: 0x0027D668
|
||||
[Token(Token = "0x600AB16")]
|
||||
[Address(RVA = "0x27C8A00", Offset = "0x27C7400", VA = "0x1827C8A00")]
|
||||
private Admissions(Asn1Sequence seq)
|
||||
{
|
||||
int num2;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
if (enumerator == 0)
|
||||
{
|
||||
Asn1Sequence instance = Asn1Sequence.GetInstance(0);
|
||||
this.professionInfos = instance;
|
||||
if (instance != 0)
|
||||
{
|
||||
goto IL_8A;
|
||||
}
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
NamingAuthority namingAuthority;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
if (enumerator == 0)
|
||||
{
|
||||
goto IL_C8;
|
||||
}
|
||||
int num = 0;
|
||||
if (enumerator == 0)
|
||||
{
|
||||
goto IL_C8;
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
GeneralName generalName;
|
||||
this.admissionAuthority = generalName;
|
||||
}
|
||||
if (enumerator != (ulong)1L)
|
||||
{
|
||||
goto IL_A6;
|
||||
}
|
||||
this.namingAuthority = namingAuthority;
|
||||
}
|
||||
while (namingAuthority == 0)
|
||||
{
|
||||
}
|
||||
while (namingAuthority == 0)
|
||||
{
|
||||
}
|
||||
num2 = 0;
|
||||
if (namingAuthority != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
NamingAuthority instance2 = NamingAuthority.GetInstance(num2, true);
|
||||
this.namingAuthority = instance2;
|
||||
return;
|
||||
IL_8A:
|
||||
string typeName = Platform.GetTypeName(instance2);
|
||||
ArgumentException ex = new ArgumentException("Bad object encountered: " + typeName);
|
||||
IL_A6:
|
||||
throw new NullReferenceException();
|
||||
IL_C8:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600AB17 RID: 43799 RVA: 0x0027F560 File Offset: 0x0027D760
|
||||
[Token(Token = "0x600AB17")]
|
||||
[Address(RVA = "0x27C8970", Offset = "0x27C7370", VA = "0x1827C8970")]
|
||||
public Admissions(GeneralName admissionAuthority, NamingAuthority namingAuthority, ProfessionInfo[] professionInfos)
|
||||
{
|
||||
this.admissionAuthority = admissionAuthority;
|
||||
this.namingAuthority = namingAuthority;
|
||||
DerSequence derSequence = new DerSequence(professionInfos);
|
||||
this.professionInfos = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x17001B0E RID: 6926
|
||||
// (get) Token: 0x0600AB18 RID: 43800 RVA: 0x0027F590 File Offset: 0x0027D790
|
||||
[Token(Token = "0x17001B0E")]
|
||||
public virtual GeneralName AdmissionAuthority
|
||||
{
|
||||
[Token(Token = "0x600AB18")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.admissionAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B0F RID: 6927
|
||||
// (get) Token: 0x0600AB19 RID: 43801 RVA: 0x0027F5A4 File Offset: 0x0027D7A4
|
||||
[Token(Token = "0x17001B0F")]
|
||||
public virtual NamingAuthority NamingAuthority
|
||||
{
|
||||
[Token(Token = "0x600AB19")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB1A RID: 43802 RVA: 0x0027F5B8 File Offset: 0x0027D7B8
|
||||
[Token(Token = "0x600AB1A")]
|
||||
[Address(RVA = "0x27C8480", Offset = "0x27C6E80", VA = "0x1827C8480")]
|
||||
public ProfessionInfo[] GetProfessionInfos()
|
||||
{
|
||||
int num;
|
||||
IEnumerator enumerator;
|
||||
for (;;)
|
||||
{
|
||||
num = 0;
|
||||
Asn1Sequence asn1Sequence = this.professionInfos;
|
||||
Asn1Encodable asn1Encodable;
|
||||
ProfessionInfo[] array = new ProfessionInfo[asn1Encodable];
|
||||
enumerator = this.professionInfos.GetEnumerator();
|
||||
if (enumerator != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
if (num == 0)
|
||||
{
|
||||
return array;
|
||||
}
|
||||
}
|
||||
if (enumerator == 0)
|
||||
{
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
num++;
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600AB1B RID: 43803 RVA: 0x0027F630 File Offset: 0x0027D830
|
||||
[Token(Token = "0x600AB1B")]
|
||||
[Address(RVA = "0x27C86E0", Offset = "0x27C70E0", VA = "0x1827C86E0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.admissionAuthority != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
GeneralName generalName = this.admissionAuthority;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, generalName);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.namingAuthority != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
NamingAuthority namingAuthority = this.namingAuthority;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(16777216 != 0, 16777216, namingAuthority);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.professionInfos;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = asn1Sequence;
|
||||
asn1EncodableVector.Add(array3);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400706C RID: 28780
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400706C")]
|
||||
private readonly GeneralName admissionAuthority;
|
||||
|
||||
// Token: 0x0400706D RID: 28781
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400706D")]
|
||||
private readonly NamingAuthority namingAuthority;
|
||||
|
||||
// Token: 0x0400706E RID: 28782
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400706E")]
|
||||
private readonly Asn1Sequence professionInfos;
|
||||
}
|
||||
}
|
||||
+214
@@ -0,0 +1,214 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018E5 RID: 6373
|
||||
[Token(Token = "0x20018E5")]
|
||||
[StructLayout(3)]
|
||||
public class DeclarationOfMajority : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600AB1C RID: 43804 RVA: 0x0027F6F0 File Offset: 0x0027D8F0
|
||||
[Token(Token = "0x600AB1C")]
|
||||
[Address(RVA = "0x27CCEB0", Offset = "0x27CB8B0", VA = "0x1827CCEB0")]
|
||||
public DeclarationOfMajority(int notYoungerThan)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(notYoungerThan);
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, derInteger);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
this.declaration = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB1D RID: 43805 RVA: 0x0027F720 File Offset: 0x0027D920
|
||||
[Token(Token = "0x600AB1D")]
|
||||
[Address(RVA = "0x27CD010", Offset = "0x27CBA10", VA = "0x1827CD010")]
|
||||
public DeclarationOfMajority(bool fullAge, string country)
|
||||
{
|
||||
DerPrintableString derPrintableString = new DerPrintableString(country, true);
|
||||
if (!fullAge)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerBoolean @false = DerBoolean.False;
|
||||
if (@false != 0)
|
||||
{
|
||||
}
|
||||
array[0] = @false;
|
||||
if (derPrintableString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derPrintableString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
}
|
||||
DerSequence derSequence2 = new DerSequence(derPrintableString);
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 1, derSequence2);
|
||||
num = 0;
|
||||
this.declaration = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB1E RID: 43806 RVA: 0x0027F790 File Offset: 0x0027D990
|
||||
[Token(Token = "0x600AB1E")]
|
||||
[Address(RVA = "0x27CD230", Offset = "0x27CBC30", VA = "0x1827CD230")]
|
||||
public DeclarationOfMajority(DerGeneralizedTime dateOfBirth)
|
||||
{
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 2, dateOfBirth);
|
||||
num = 0;
|
||||
this.declaration = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB1F RID: 43807 RVA: 0x0027F7B8 File Offset: 0x0027D9B8
|
||||
[Token(Token = "0x600AB1F")]
|
||||
[Address(RVA = "0x27CCC20", Offset = "0x27CB620", VA = "0x1827CCC20")]
|
||||
public static DeclarationOfMajority GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB1F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:string(var_7_36, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_8_4E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_7_36)), 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: 0x0600AB20 RID: 43808 RVA: 0x0027F814 File Offset: 0x0027DA14
|
||||
[Token(Token = "0x600AB20")]
|
||||
[Address(RVA = "0x27CCF50", Offset = "0x27CB950", VA = "0x1827CCF50")]
|
||||
private DeclarationOfMajority(Asn1TaggedObject o)
|
||||
{
|
||||
this.declaration = o;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB21 RID: 43809 RVA: 0x0027F834 File Offset: 0x0027DA34
|
||||
[Token(Token = "0x600AB21")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB21)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.DeclarationOfMajority::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1TaggedObject(var_0_06, ldfld:Asn1TaggedObject(DeclarationOfMajority::declaration, ldloc:DeclarationOfMajority(this)))
|
||||
}
|
||||
|
||||
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: 0x17001B10 RID: 6928
|
||||
// (get) Token: 0x0600AB22 RID: 43810 RVA: 0x0027F848 File Offset: 0x0027DA48
|
||||
[Token(Token = "0x17001B10")]
|
||||
public DeclarationOfMajority.Choice Type
|
||||
{
|
||||
[Token(Token = "0x600AB22")]
|
||||
[Address(RVA = "0x256E4C0", Offset = "0x256CEC0", VA = "0x18256E4C0")]
|
||||
get
|
||||
{
|
||||
int tagNo = this.declaration.tagNo;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B11 RID: 6929
|
||||
// (get) Token: 0x0600AB23 RID: 43811 RVA: 0x0027F868 File Offset: 0x0027DA68
|
||||
[Token(Token = "0x17001B11")]
|
||||
public virtual int NotYoungerThan
|
||||
{
|
||||
[Token(Token = "0x600AB23")]
|
||||
[Address(RVA = "0x27CD310", Offset = "0x27CBD10", VA = "0x1827CD310", Slot = "6")]
|
||||
get
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject = this.declaration;
|
||||
if (asn1TaggedObject.tagNo != 0)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
int num = 0;
|
||||
return DerInteger.GetInstance(asn1TaggedObject, num != 0).Value.IntValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B12 RID: 6930
|
||||
// (get) Token: 0x0600AB24 RID: 43812 RVA: 0x0027F8A0 File Offset: 0x0027DAA0
|
||||
[Token(Token = "0x17001B12")]
|
||||
public virtual Asn1Sequence FullAgeAtCountry
|
||||
{
|
||||
[Token(Token = "0x600AB24")]
|
||||
[Address(RVA = "0x27CD2E0", Offset = "0x27CBCE0", VA = "0x1827CD2E0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject = this.declaration;
|
||||
if (asn1TaggedObject.tagNo != 1)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
return Asn1Sequence.GetInstance(asn1TaggedObject, num != 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B13 RID: 6931
|
||||
// (get) Token: 0x0600AB25 RID: 43813 RVA: 0x0027F8D0 File Offset: 0x0027DAD0
|
||||
[Token(Token = "0x17001B13")]
|
||||
public virtual DerGeneralizedTime DateOfBirth
|
||||
{
|
||||
[Token(Token = "0x600AB25")]
|
||||
[Address(RVA = "0x27CD2B0", Offset = "0x27CBCB0", VA = "0x1827CD2B0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject = this.declaration;
|
||||
if (asn1TaggedObject.tagNo != 2)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
return DerGeneralizedTime.GetInstance(asn1TaggedObject, num != 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400706F RID: 28783
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400706F")]
|
||||
private readonly Asn1TaggedObject declaration;
|
||||
|
||||
// Token: 0x020018E6 RID: 6374
|
||||
[Token(Token = "0x20018E6")]
|
||||
public enum Choice
|
||||
{
|
||||
// Token: 0x04007071 RID: 28785
|
||||
[Token(Token = "0x4007071")]
|
||||
NotYoungerThan,
|
||||
// Token: 0x04007072 RID: 28786
|
||||
[Token(Token = "0x4007072")]
|
||||
FullAgeAtCountry,
|
||||
// Token: 0x04007073 RID: 28787
|
||||
[Token(Token = "0x4007073")]
|
||||
DateOfBirth
|
||||
}
|
||||
}
|
||||
}
|
||||
+149
@@ -0,0 +1,149 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018E7 RID: 6375
|
||||
[Token(Token = "0x20018E7")]
|
||||
[StructLayout(3)]
|
||||
public class MonetaryLimit : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB26 RID: 43814 RVA: 0x0027F900 File Offset: 0x0027DB00
|
||||
[Token(Token = "0x600AB26")]
|
||||
[Address(RVA = "0x27D1080", Offset = "0x27CFA80", VA = "0x1827D1080")]
|
||||
public static MonetaryLimit GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB26)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.MonetaryLimit BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.MonetaryLimit::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_5A:
|
||||
stloc:string(var_13_60, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_14_78, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_13_60)), 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: 0x0600AB27 RID: 43815 RVA: 0x0027F988 File Offset: 0x0027DB88
|
||||
[Token(Token = "0x600AB27")]
|
||||
[Address(RVA = "0x27D1590", Offset = "0x27CFF90", VA = "0x1827D1590")]
|
||||
private MonetaryLimit(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerPrintableString derPrintableString;
|
||||
this.currency = derPrintableString;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.amount = derInteger;
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
DerInteger derInteger2;
|
||||
this.exponent = derInteger2;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB28 RID: 43816 RVA: 0x0027F9D0 File Offset: 0x0027DBD0
|
||||
[Token(Token = "0x600AB28")]
|
||||
[Address(RVA = "0x27D14C0", Offset = "0x27CFEC0", VA = "0x1827D14C0")]
|
||||
public MonetaryLimit(string currency, int amount, int exponent)
|
||||
{
|
||||
DerPrintableString derPrintableString = new DerPrintableString(currency, true);
|
||||
this.currency = derPrintableString;
|
||||
DerInteger derInteger = new DerInteger(amount);
|
||||
this.amount = derInteger;
|
||||
DerInteger derInteger2 = new DerInteger(amount);
|
||||
this.exponent = derInteger2;
|
||||
}
|
||||
|
||||
// Token: 0x17001B14 RID: 6932
|
||||
// (get) Token: 0x0600AB29 RID: 43817 RVA: 0x0027FA10 File Offset: 0x0027DC10
|
||||
[Token(Token = "0x17001B14")]
|
||||
public virtual string Currency
|
||||
{
|
||||
[Token(Token = "0x600AB29")]
|
||||
[Address(RVA = "0x78FE10", Offset = "0x78E810", VA = "0x18078FE10", Slot = "6")]
|
||||
get
|
||||
{
|
||||
Asn1Object asn1Object = this.currency.ToAsn1Object();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B15 RID: 6933
|
||||
// (get) Token: 0x0600AB2A RID: 43818 RVA: 0x0027FA30 File Offset: 0x0027DC30
|
||||
[Token(Token = "0x17001B15")]
|
||||
public virtual BigInteger Amount
|
||||
{
|
||||
[Token(Token = "0x600AB2A")]
|
||||
[Address(RVA = "0x27D16D0", Offset = "0x27D00D0", VA = "0x1827D16D0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.amount.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B16 RID: 6934
|
||||
// (get) Token: 0x0600AB2B RID: 43819 RVA: 0x0027FA50 File Offset: 0x0027DC50
|
||||
[Token(Token = "0x17001B16")]
|
||||
public virtual BigInteger Exponent
|
||||
{
|
||||
[Token(Token = "0x600AB2B")]
|
||||
[Address(RVA = "0x27D16F0", Offset = "0x27D00F0", VA = "0x1827D16F0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.exponent.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB2C RID: 43820 RVA: 0x0027FA70 File Offset: 0x0027DC70
|
||||
[Token(Token = "0x600AB2C")]
|
||||
[Address(RVA = "0x27D1350", Offset = "0x27CFD50", VA = "0x1827D1350", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
DerPrintableString derPrintableString = this.currency;
|
||||
if (derPrintableString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derPrintableString;
|
||||
DerInteger derInteger = this.amount;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerInteger derInteger2 = this.exponent;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[2] = derInteger2;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007074 RID: 28788
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007074")]
|
||||
private readonly DerPrintableString currency;
|
||||
|
||||
// Token: 0x04007075 RID: 28789
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007075")]
|
||||
private readonly DerInteger amount;
|
||||
|
||||
// Token: 0x04007076 RID: 28790
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007076")]
|
||||
private readonly DerInteger exponent;
|
||||
}
|
||||
}
|
||||
+183
@@ -0,0 +1,183 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018E8 RID: 6376
|
||||
[Token(Token = "0x20018E8")]
|
||||
[StructLayout(3)]
|
||||
public class NamingAuthority : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB2D RID: 43821 RVA: 0x0027FACC File Offset: 0x0027DCCC
|
||||
[Token(Token = "0x600AB2D")]
|
||||
[Address(RVA = "0x27D1710", Offset = "0x27D0110", VA = "0x1827D1710")]
|
||||
public static NamingAuthority GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB2D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_2C)), 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: 0x0600AB2E RID: 43822 RVA: 0x0027FB20 File Offset: 0x0027DD20
|
||||
[Token(Token = "0x600AB2E")]
|
||||
[Address(RVA = "0x27D1910", Offset = "0x27D0310", VA = "0x1827D1910")]
|
||||
public static NamingAuthority GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return NamingAuthority.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600AB2F RID: 43823 RVA: 0x0027FB3C File Offset: 0x0027DD3C
|
||||
[Token(Token = "0x600AB2F")]
|
||||
[Address(RVA = "0x27D1C90", Offset = "0x27D0690", VA = "0x1827D1C90")]
|
||||
private NamingAuthority(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB2F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.NamingAuthority::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_DC:
|
||||
stloc:string(var_19_E3, call:string(Platform::GetTypeName, ldloc:string[exp:object](var_17)))
|
||||
stloc:ArgumentException(var_20_F6, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Bad object encountered: "), ldloc:string(var_19_E3))))
|
||||
}
|
||||
|
||||
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: 0x17001B17 RID: 6935
|
||||
// (get) Token: 0x0600AB30 RID: 43824 RVA: 0x0027FC40 File Offset: 0x0027DE40
|
||||
[Token(Token = "0x17001B17")]
|
||||
public virtual DerObjectIdentifier NamingAuthorityID
|
||||
{
|
||||
[Token(Token = "0x600AB30")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B18 RID: 6936
|
||||
// (get) Token: 0x0600AB31 RID: 43825 RVA: 0x0027FC54 File Offset: 0x0027DE54
|
||||
[Token(Token = "0x17001B18")]
|
||||
public virtual DirectoryString NamingAuthorityText
|
||||
{
|
||||
[Token(Token = "0x600AB31")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityText;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B19 RID: 6937
|
||||
// (get) Token: 0x0600AB32 RID: 43826 RVA: 0x0027FC68 File Offset: 0x0027DE68
|
||||
[Token(Token = "0x17001B19")]
|
||||
public virtual string NamingAuthorityUrl
|
||||
{
|
||||
[Token(Token = "0x600AB32")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityUrl;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB33 RID: 43827 RVA: 0x0027FC7C File Offset: 0x0027DE7C
|
||||
[Token(Token = "0x600AB33")]
|
||||
[Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")]
|
||||
public NamingAuthority(DerObjectIdentifier namingAuthorityID, string namingAuthorityUrl, DirectoryString namingAuthorityText)
|
||||
{
|
||||
this.namingAuthorityID = namingAuthorityID;
|
||||
this.namingAuthorityUrl = namingAuthorityUrl;
|
||||
this.namingAuthorityText = namingAuthorityText;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB34 RID: 43828 RVA: 0x0027FCA4 File Offset: 0x0027DEA4
|
||||
[Token(Token = "0x600AB34")]
|
||||
[Address(RVA = "0x27D1980", Offset = "0x27D0380", VA = "0x1827D1980", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.namingAuthorityID != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerObjectIdentifier derObjectIdentifier = this.namingAuthorityID;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.namingAuthorityUrl != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerIA5String derIA5String = new DerIA5String(this.namingAuthorityUrl, true);
|
||||
if (derIA5String != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derIA5String;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.namingAuthorityText != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DirectoryString directoryString = this.namingAuthorityText;
|
||||
if (directoryString != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = directoryString;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007077 RID: 28791
|
||||
[Token(Token = "0x4007077")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttATNamingAuthorities + ".1");
|
||||
|
||||
// Token: 0x04007078 RID: 28792
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007078")]
|
||||
private readonly DerObjectIdentifier namingAuthorityID;
|
||||
|
||||
// Token: 0x04007079 RID: 28793
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007079")]
|
||||
private readonly string namingAuthorityUrl;
|
||||
|
||||
// Token: 0x0400707A RID: 28794
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400707A")]
|
||||
private readonly DirectoryString namingAuthorityText;
|
||||
}
|
||||
}
|
||||
+212
@@ -0,0 +1,212 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018E9 RID: 6377
|
||||
[Token(Token = "0x20018E9")]
|
||||
[StructLayout(3)]
|
||||
public class ProcurationSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB36 RID: 43830 RVA: 0x0027FD7C File Offset: 0x0027DF7C
|
||||
[Token(Token = "0x600AB36")]
|
||||
[Address(RVA = "0x27D9670", Offset = "0x27D8070", VA = "0x1827D9670")]
|
||||
public static ProcurationSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB36)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.ProcurationSyntax::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_2C)), 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: 0x0600AB37 RID: 43831 RVA: 0x0027FDD0 File Offset: 0x0027DFD0
|
||||
[Token(Token = "0x600AB37")]
|
||||
[Address(RVA = "0x27D9BD0", Offset = "0x27D85D0", VA = "0x1827D9BD0")]
|
||||
private ProcurationSyntax(Asn1Sequence seq)
|
||||
{
|
||||
if (seq.GetEnumerator() != 0)
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject;
|
||||
int tagNo = asn1TaggedObject.tagNo;
|
||||
if (asn1TaggedObject != 0)
|
||||
{
|
||||
if (asn1TaggedObject != 0)
|
||||
{
|
||||
Asn1Object @object = asn1TaggedObject.GetObject();
|
||||
if (@object == 0)
|
||||
{
|
||||
IssuerSerial instance = IssuerSerial.GetInstance(@object);
|
||||
this.certRef = instance;
|
||||
}
|
||||
GeneralName instance2 = GeneralName.GetInstance(@object);
|
||||
this.thirdPerson = instance2;
|
||||
}
|
||||
ulong num;
|
||||
DirectoryString instance3 = DirectoryString.GetInstance(asn1TaggedObject, num != 0UL);
|
||||
this.typeOfSubstitution = instance3;
|
||||
}
|
||||
ulong num2;
|
||||
string @string = DerPrintableString.GetInstance(asn1TaggedObject, num2 != 0UL).GetString();
|
||||
this.country = @string;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB38 RID: 43832 RVA: 0x0027FE6C File Offset: 0x0027E06C
|
||||
[Token(Token = "0x600AB38")]
|
||||
[Address(RVA = "0x27D9E90", Offset = "0x27D8890", VA = "0x1827D9E90")]
|
||||
public ProcurationSyntax(string country, DirectoryString typeOfSubstitution, IssuerSerial certRef)
|
||||
{
|
||||
this.country = country;
|
||||
this.certRef = certRef;
|
||||
this.typeOfSubstitution = typeOfSubstitution;
|
||||
this.thirdPerson = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB39 RID: 43833 RVA: 0x0027FEA0 File Offset: 0x0027E0A0
|
||||
[Token(Token = "0x600AB39")]
|
||||
[Address(RVA = "0x27D9E40", Offset = "0x27D8840", VA = "0x1827D9E40")]
|
||||
public ProcurationSyntax(string country, DirectoryString typeOfSubstitution, GeneralName thirdPerson)
|
||||
{
|
||||
this.country = country;
|
||||
this.thirdPerson = thirdPerson;
|
||||
this.typeOfSubstitution = typeOfSubstitution;
|
||||
this.certRef = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x17001B1A RID: 6938
|
||||
// (get) Token: 0x0600AB3A RID: 43834 RVA: 0x0027FED4 File Offset: 0x0027E0D4
|
||||
[Token(Token = "0x17001B1A")]
|
||||
public virtual string Country
|
||||
{
|
||||
[Token(Token = "0x600AB3A")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.country;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B1B RID: 6939
|
||||
// (get) Token: 0x0600AB3B RID: 43835 RVA: 0x0027FEE8 File Offset: 0x0027E0E8
|
||||
[Token(Token = "0x17001B1B")]
|
||||
public virtual DirectoryString TypeOfSubstitution
|
||||
{
|
||||
[Token(Token = "0x600AB3B")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.typeOfSubstitution;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B1C RID: 6940
|
||||
// (get) Token: 0x0600AB3C RID: 43836 RVA: 0x0027FEFC File Offset: 0x0027E0FC
|
||||
[Token(Token = "0x17001B1C")]
|
||||
public virtual GeneralName ThirdPerson
|
||||
{
|
||||
[Token(Token = "0x600AB3C")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.thirdPerson;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B1D RID: 6941
|
||||
// (get) Token: 0x0600AB3D RID: 43837 RVA: 0x0027FF10 File Offset: 0x0027E110
|
||||
[Token(Token = "0x17001B1D")]
|
||||
public virtual IssuerSerial CertRef
|
||||
{
|
||||
[Token(Token = "0x600AB3D")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.certRef;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB3E RID: 43838 RVA: 0x0027FF24 File Offset: 0x0027E124
|
||||
[Token(Token = "0x600AB3E")]
|
||||
[Address(RVA = "0x27D9870", Offset = "0x27D8270", VA = "0x1827D9870", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
int num = 0;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.country != num)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[0];
|
||||
DerPrintableString derPrintableString = new DerPrintableString(this.country, true);
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(16777216 != 0, 16777216, derPrintableString);
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.typeOfSubstitution != num)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DirectoryString directoryString = this.typeOfSubstitution;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(true, 2, directoryString);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
IssuerSerial issuerSerial;
|
||||
if (this.thirdPerson == num)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
issuerSerial = this.certRef;
|
||||
if (new DerTaggedObject(true, 3, issuerSerial) != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
if (new DerTaggedObject(true, 3, issuerSerial) != 0)
|
||||
{
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400707B RID: 28795
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400707B")]
|
||||
private readonly string country;
|
||||
|
||||
// Token: 0x0400707C RID: 28796
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400707C")]
|
||||
private readonly DirectoryString typeOfSubstitution;
|
||||
|
||||
// Token: 0x0400707D RID: 28797
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400707D")]
|
||||
private readonly GeneralName thirdPerson;
|
||||
|
||||
// Token: 0x0400707E RID: 28798
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400707E")]
|
||||
private readonly IssuerSerial certRef;
|
||||
}
|
||||
}
|
||||
+382
@@ -0,0 +1,382 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018EA RID: 6378
|
||||
[Token(Token = "0x20018EA")]
|
||||
[StructLayout(3)]
|
||||
public class ProfessionInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB3F RID: 43839 RVA: 0x0027FFF0 File Offset: 0x0027E1F0
|
||||
[Token(Token = "0x600AB3F")]
|
||||
[Address(RVA = "0x27D9EE0", Offset = "0x27D88E0", VA = "0x1827D9EE0")]
|
||||
public static ProfessionInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB3F)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.ProfessionInfo::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_6_2C)), 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: 0x0600AB40 RID: 43840 RVA: 0x00280044 File Offset: 0x0027E244
|
||||
[Token(Token = "0x600AB40")]
|
||||
[Address(RVA = "0x27DAD50", Offset = "0x27D9750", VA = "0x1827DAD50")]
|
||||
private ProfessionInfo(Asn1Sequence seq)
|
||||
{
|
||||
string string2;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
if (enumerator == 0)
|
||||
{
|
||||
Asn1Sequence instance = Asn1Sequence.GetInstance(0);
|
||||
this.professionItems = instance;
|
||||
if (instance == 0)
|
||||
{
|
||||
goto IL_78;
|
||||
}
|
||||
if (instance == 0)
|
||||
{
|
||||
goto IL_55;
|
||||
}
|
||||
}
|
||||
if (enumerator == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
while (enumerator == 0)
|
||||
{
|
||||
}
|
||||
if (enumerator == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
NamingAuthority namingAuthority;
|
||||
this.namingAuthority = namingAuthority;
|
||||
Asn1Sequence asn1Sequence;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
this.professionOids = asn1Sequence;
|
||||
}
|
||||
IL_55:
|
||||
if (asn1Sequence == 0)
|
||||
{
|
||||
if (asn1Sequence == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
Asn1OctetString asn1OctetString;
|
||||
this.addProfessionInfo = asn1OctetString;
|
||||
}
|
||||
DerPrintableString derPrintableString;
|
||||
string @string = derPrintableString.GetString();
|
||||
this.registrationNumber = @string;
|
||||
IL_78:
|
||||
if (@string != 0)
|
||||
{
|
||||
if (@string != 0 && @string != 0)
|
||||
{
|
||||
string2 = DerPrintableString.GetInstance(@string).GetString();
|
||||
this.registrationNumber = string2;
|
||||
}
|
||||
if (string2 == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
this.addProfessionInfo = string2;
|
||||
}
|
||||
if (string2 == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
while (string2 == 0 || string2 == 0 || string2 == 0);
|
||||
this.addProfessionInfo = string2;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB41 RID: 43841 RVA: 0x00280194 File Offset: 0x0027E394
|
||||
[Token(Token = "0x600AB41")]
|
||||
[Address(RVA = "0x27DB440", Offset = "0x27D9E40", VA = "0x1827DB440")]
|
||||
public ProfessionInfo(NamingAuthority namingAuthority, DirectoryString[] professionItems, DerObjectIdentifier[] professionOids, string registrationNumber, Asn1OctetString addProfessionInfo)
|
||||
{
|
||||
this.namingAuthority = namingAuthority;
|
||||
DerSequence derSequence = new DerSequence(professionItems);
|
||||
this.professionItems = derSequence;
|
||||
if (professionOids != 0)
|
||||
{
|
||||
DerSequence derSequence2 = new DerSequence(professionOids);
|
||||
this.professionOids = derSequence2;
|
||||
}
|
||||
this.registrationNumber = 0;
|
||||
this.addProfessionInfo = 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB42 RID: 43842 RVA: 0x002801DC File Offset: 0x0027E3DC
|
||||
[Token(Token = "0x600AB42")]
|
||||
[Address(RVA = "0x27DA360", Offset = "0x27D8D60", VA = "0x1827DA360", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.Rechtsbeistand != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
NamingAuthority namingAuthority = this.namingAuthority;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, namingAuthority);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence = this.professionItems;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Sequence;
|
||||
asn1EncodableVector.Add(array2);
|
||||
if (this.Steuerberater != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
Asn1Sequence asn1Sequence2 = this.professionOids;
|
||||
if (asn1Sequence2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = asn1Sequence2;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
if (this.Steuerbevollmchtigte != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array4 = new Asn1Encodable[1];
|
||||
DerPrintableString derPrintableString = new DerPrintableString(this.registrationNumber, true);
|
||||
if (derPrintableString != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = derPrintableString;
|
||||
asn1EncodableVector.Add(array4);
|
||||
}
|
||||
if (this.addProfessionInfo != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array5 = new Asn1Encodable[1];
|
||||
Asn1OctetString asn1OctetString = this.addProfessionInfo;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array5[0] = asn1OctetString;
|
||||
asn1EncodableVector.Add(array5);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001B1E RID: 6942
|
||||
// (get) Token: 0x0600AB43 RID: 43843 RVA: 0x002802F4 File Offset: 0x0027E4F4
|
||||
[Token(Token = "0x17001B1E")]
|
||||
public virtual Asn1OctetString AddProfessionInfo
|
||||
{
|
||||
[Token(Token = "0x600AB43")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.addProfessionInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001B1F RID: 6943
|
||||
// (get) Token: 0x0600AB44 RID: 43844 RVA: 0x00280308 File Offset: 0x0027E508
|
||||
[Token(Token = "0x17001B1F")]
|
||||
public virtual NamingAuthority NamingAuthority
|
||||
{
|
||||
[Token(Token = "0x600AB44")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB45 RID: 43845 RVA: 0x0028031C File Offset: 0x0027E51C
|
||||
[Token(Token = "0x600AB45")]
|
||||
[Address(RVA = "0x27DA0E0", Offset = "0x27D8AE0", VA = "0x1827DA0E0", Slot = "8")]
|
||||
public virtual DirectoryString[] GetProfessionItems()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.professionItems;
|
||||
Asn1Encodable asn1Encodable;
|
||||
DirectoryString[] array = new DirectoryString[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence2 = this.professionItems;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num < asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.professionItems.Parser;
|
||||
DirectoryString directoryString;
|
||||
if (directoryString != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = directoryString;
|
||||
Asn1Sequence asn1Sequence3 = this.professionItems;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB46 RID: 43846 RVA: 0x00280374 File Offset: 0x0027E574
|
||||
[Token(Token = "0x600AB46")]
|
||||
[Address(RVA = "0x27DA210", Offset = "0x27D8C10", VA = "0x1827DA210", Slot = "9")]
|
||||
public virtual DerObjectIdentifier[] GetProfessionOids()
|
||||
{
|
||||
if (this.professionOids == 0)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
Asn1Encodable asn1Encodable;
|
||||
DerObjectIdentifier[] array = new DerObjectIdentifier[asn1Encodable];
|
||||
int num = 0;
|
||||
Asn1Sequence asn1Sequence = this.professionOids;
|
||||
Asn1Encodable asn1Encodable2;
|
||||
if (num < asn1Encodable2)
|
||||
{
|
||||
Asn1SequenceParser parser = this.professionOids.Parser;
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x17001B20 RID: 6944
|
||||
// (get) Token: 0x0600AB47 RID: 43847 RVA: 0x002803D0 File Offset: 0x0027E5D0
|
||||
[Token(Token = "0x17001B20")]
|
||||
public virtual string RegistrationNumber
|
||||
{
|
||||
[Token(Token = "0x600AB47")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.registrationNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400707F RID: 28799
|
||||
[Token(Token = "0x400707F")]
|
||||
public static readonly DerObjectIdentifier Rechtsanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".1");
|
||||
|
||||
// Token: 0x04007080 RID: 28800
|
||||
[Token(Token = "0x4007080")]
|
||||
public static readonly DerObjectIdentifier Rechtsanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".2");
|
||||
|
||||
// Token: 0x04007081 RID: 28801
|
||||
[Token(Token = "0x4007081")]
|
||||
public static readonly DerObjectIdentifier Rechtsbeistand = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".3");
|
||||
|
||||
// Token: 0x04007082 RID: 28802
|
||||
[Token(Token = "0x4007082")]
|
||||
public static readonly DerObjectIdentifier Steuerberaterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".4");
|
||||
|
||||
// Token: 0x04007083 RID: 28803
|
||||
[Token(Token = "0x4007083")]
|
||||
public static readonly DerObjectIdentifier Steuerberater = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".5");
|
||||
|
||||
// Token: 0x04007084 RID: 28804
|
||||
[Token(Token = "0x4007084")]
|
||||
public static readonly DerObjectIdentifier Steuerbevollmchtigte = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".6");
|
||||
|
||||
// Token: 0x04007085 RID: 28805
|
||||
[Token(Token = "0x4007085")]
|
||||
public static readonly DerObjectIdentifier Steuerbevollmchtigter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".7");
|
||||
|
||||
// Token: 0x04007086 RID: 28806
|
||||
[Token(Token = "0x4007086")]
|
||||
public static readonly DerObjectIdentifier Notarin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".8");
|
||||
|
||||
// Token: 0x04007087 RID: 28807
|
||||
[Token(Token = "0x4007087")]
|
||||
public static readonly DerObjectIdentifier Notar = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".9");
|
||||
|
||||
// Token: 0x04007088 RID: 28808
|
||||
[Token(Token = "0x4007088")]
|
||||
public static readonly DerObjectIdentifier Notarvertreterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".10");
|
||||
|
||||
// Token: 0x04007089 RID: 28809
|
||||
[Token(Token = "0x4007089")]
|
||||
public static readonly DerObjectIdentifier Notarvertreter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".11");
|
||||
|
||||
// Token: 0x0400708A RID: 28810
|
||||
[Token(Token = "0x400708A")]
|
||||
public static readonly DerObjectIdentifier Notariatsverwalterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".12");
|
||||
|
||||
// Token: 0x0400708B RID: 28811
|
||||
[Token(Token = "0x400708B")]
|
||||
public static readonly DerObjectIdentifier Notariatsverwalter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".13");
|
||||
|
||||
// Token: 0x0400708C RID: 28812
|
||||
[Token(Token = "0x400708C")]
|
||||
public static readonly DerObjectIdentifier Wirtschaftsprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".14");
|
||||
|
||||
// Token: 0x0400708D RID: 28813
|
||||
[Token(Token = "0x400708D")]
|
||||
public static readonly DerObjectIdentifier Wirtschaftsprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".15");
|
||||
|
||||
// Token: 0x0400708E RID: 28814
|
||||
[Token(Token = "0x400708E")]
|
||||
public static readonly DerObjectIdentifier VereidigteBuchprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".16");
|
||||
|
||||
// Token: 0x0400708F RID: 28815
|
||||
[Token(Token = "0x400708F")]
|
||||
public static readonly DerObjectIdentifier VereidigterBuchprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".17");
|
||||
|
||||
// Token: 0x04007090 RID: 28816
|
||||
[Token(Token = "0x4007090")]
|
||||
public static readonly DerObjectIdentifier Patentanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".18");
|
||||
|
||||
// Token: 0x04007091 RID: 28817
|
||||
[Token(Token = "0x4007091")]
|
||||
public static readonly DerObjectIdentifier Patentanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".19");
|
||||
|
||||
// Token: 0x04007092 RID: 28818
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007092")]
|
||||
private readonly NamingAuthority namingAuthority;
|
||||
|
||||
// Token: 0x04007093 RID: 28819
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007093")]
|
||||
private readonly Asn1Sequence professionItems;
|
||||
|
||||
// Token: 0x04007094 RID: 28820
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4007094")]
|
||||
private readonly Asn1Sequence professionOids;
|
||||
|
||||
// Token: 0x04007095 RID: 28821
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4007095")]
|
||||
private readonly string registrationNumber;
|
||||
|
||||
// Token: 0x04007096 RID: 28822
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4007096")]
|
||||
private readonly Asn1OctetString addProfessionInfo;
|
||||
}
|
||||
}
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x020018EB RID: 6379
|
||||
[Token(Token = "0x20018EB")]
|
||||
[StructLayout(3)]
|
||||
public class Restriction : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AB49 RID: 43849 RVA: 0x002805CC File Offset: 0x0027E7CC
|
||||
[Token(Token = "0x600AB49")]
|
||||
[Address(RVA = "0x27DD520", Offset = "0x27DBF20", VA = "0x1827DD520")]
|
||||
public static Restriction GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AB49)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509.Restriction::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_20:
|
||||
stloc:string(var_4_26, call:string(Platform::GetTypeName, ldloc:Restriction[exp:object](var_3)))
|
||||
stloc:ArgumentException(var_5_3E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in GetInstance: "), ldloc:string(var_4_26)), 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.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: 0x0600AB4A RID: 43850 RVA: 0x00280618 File Offset: 0x0027E818
|
||||
[Token(Token = "0x600AB4A")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
private Restriction(DirectoryString restriction)
|
||||
{
|
||||
this.restriction = restriction;
|
||||
}
|
||||
|
||||
// Token: 0x0600AB4B RID: 43851 RVA: 0x00280634 File Offset: 0x0027E834
|
||||
[Token(Token = "0x600AB4B")]
|
||||
[Address(RVA = "0x27DD6A0", Offset = "0x27DC0A0", VA = "0x1827DD6A0")]
|
||||
public Restriction(string restriction)
|
||||
{
|
||||
DirectoryString directoryString = new DirectoryString(restriction);
|
||||
this.restriction = directoryString;
|
||||
}
|
||||
|
||||
// Token: 0x17001B21 RID: 6945
|
||||
// (get) Token: 0x0600AB4C RID: 43852 RVA: 0x00280658 File Offset: 0x0027E858
|
||||
[Token(Token = "0x17001B21")]
|
||||
public virtual DirectoryString RestrictionString
|
||||
{
|
||||
[Token(Token = "0x600AB4C")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.restriction;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AB4D RID: 43853 RVA: 0x0028066C File Offset: 0x0027E86C
|
||||
[Token(Token = "0x600AB4D")]
|
||||
[Address(RVA = "0x52D760", Offset = "0x52C160", VA = "0x18052D760", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.restriction.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04007097 RID: 28823
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007097")]
|
||||
private readonly DirectoryString restriction;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user