m
This commit is contained in:
+97
@@ -0,0 +1,97 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt
|
||||
{
|
||||
// Token: 0x02001F9E RID: 8094
|
||||
[Token(Token = "0x2001F9E")]
|
||||
public abstract class IsisMttObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600CAB0 RID: 51888 RVA: 0x002DFD24 File Offset: 0x002DDF24
|
||||
[Token(Token = "0x600CAB0")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected IsisMttObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04008051 RID: 32849
|
||||
[Token(Token = "0x4008051")]
|
||||
public static readonly DerObjectIdentifier IdIsisMtt = new DerObjectIdentifier("1.3.36.8");
|
||||
|
||||
// Token: 0x04008052 RID: 32850
|
||||
[Token(Token = "0x4008052")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttCP = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMtt + ".1");
|
||||
|
||||
// Token: 0x04008053 RID: 32851
|
||||
[Token(Token = "0x4008053")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttCPAccredited = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttCP + ".1");
|
||||
|
||||
// Token: 0x04008054 RID: 32852
|
||||
[Token(Token = "0x4008054")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttAT = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMtt + ".3");
|
||||
|
||||
// Token: 0x04008055 RID: 32853
|
||||
[Token(Token = "0x4008055")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATDateOfCertGen = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".1");
|
||||
|
||||
// Token: 0x04008056 RID: 32854
|
||||
[Token(Token = "0x4008056")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATProcuration = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".2");
|
||||
|
||||
// Token: 0x04008057 RID: 32855
|
||||
[Token(Token = "0x4008057")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATAdmission = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".3");
|
||||
|
||||
// Token: 0x04008058 RID: 32856
|
||||
[Token(Token = "0x4008058")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATMonetaryLimit = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".4");
|
||||
|
||||
// Token: 0x04008059 RID: 32857
|
||||
[Token(Token = "0x4008059")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATDeclarationOfMajority = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".5");
|
||||
|
||||
// Token: 0x0400805A RID: 32858
|
||||
[Token(Token = "0x400805A")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATIccsn = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".6");
|
||||
|
||||
// Token: 0x0400805B RID: 32859
|
||||
[Token(Token = "0x400805B")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATPKReference = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".7");
|
||||
|
||||
// Token: 0x0400805C RID: 32860
|
||||
[Token(Token = "0x400805C")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRestriction = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".8");
|
||||
|
||||
// Token: 0x0400805D RID: 32861
|
||||
[Token(Token = "0x400805D")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRetrieveIfAllowed = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".9");
|
||||
|
||||
// Token: 0x0400805E RID: 32862
|
||||
[Token(Token = "0x400805E")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATRequestedCertificate = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".10");
|
||||
|
||||
// Token: 0x0400805F RID: 32863
|
||||
[Token(Token = "0x400805F")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNamingAuthorities = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".11");
|
||||
|
||||
// Token: 0x04008060 RID: 32864
|
||||
[Token(Token = "0x4008060")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATCertInDirSince = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".12");
|
||||
|
||||
// Token: 0x04008061 RID: 32865
|
||||
[Token(Token = "0x4008061")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATCertHash = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".13");
|
||||
|
||||
// Token: 0x04008062 RID: 32866
|
||||
[Token(Token = "0x4008062")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNameAtBirth = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".14");
|
||||
|
||||
// Token: 0x04008063 RID: 32867
|
||||
[Token(Token = "0x4008063")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATAdditionalInformation = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttAT + ".15");
|
||||
|
||||
// Token: 0x04008064 RID: 32868
|
||||
[Token(Token = "0x4008064")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATLiabilityLimitationFlag = new DerObjectIdentifier("0.2.262.1.10.12.0");
|
||||
}
|
||||
}
|
||||
+136
@@ -0,0 +1,136 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp
|
||||
{
|
||||
// Token: 0x02001FA9 RID: 8105
|
||||
[Token(Token = "0x2001FA9")]
|
||||
public class CertHash : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CAF6 RID: 51958 RVA: 0x002E1404 File Offset: 0x002DF604
|
||||
[Token(Token = "0x600CAF6")]
|
||||
[Address(RVA = "0x2EA3A90", Offset = "0x2EA2A90", VA = "0x182EA3A90")]
|
||||
public static CertHash GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAF6)
|
||||
|
||||
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: 0x0600CAF7 RID: 51959 RVA: 0x002E1470 File Offset: 0x002DF670
|
||||
[Token(Token = "0x600CAF7")]
|
||||
[Address(RVA = "0x2EA3FD0", Offset = "0x2EA2FD0", VA = "0x182EA3FD0")]
|
||||
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: 0x0600CAF8 RID: 51960 RVA: 0x002E14B0 File Offset: 0x002DF6B0
|
||||
[Token(Token = "0x600CAF8")]
|
||||
[Address(RVA = "0x2EA3ED0", Offset = "0x2EA2ED0", VA = "0x182EA3ED0")]
|
||||
public CertHash(AlgorithmIdentifier hashAlgorithm, byte[] certificateHash)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAF8)
|
||||
|
||||
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: 0x17001FC0 RID: 8128
|
||||
// (get) Token: 0x0600CAF9 RID: 51961 RVA: 0x002E14E8 File Offset: 0x002DF6E8
|
||||
[Token(Token = "0x17001FC0")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600CAF9")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FC1 RID: 8129
|
||||
// (get) Token: 0x0600CAFA RID: 51962 RVA: 0x002E14FC File Offset: 0x002DF6FC
|
||||
[Token(Token = "0x17001FC1")]
|
||||
public byte[] CertificateHash
|
||||
{
|
||||
[Token(Token = "0x600CAFA")]
|
||||
[Address(RVA = "0x2EA4110", Offset = "0x2EA3110", VA = "0x182EA4110")]
|
||||
get
|
||||
{
|
||||
byte[] array = this.certificateHash;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CAFB RID: 51963 RVA: 0x002E1518 File Offset: 0x002DF718
|
||||
[Token(Token = "0x600CAFB")]
|
||||
[Address(RVA = "0x2EA3D90", Offset = "0x2EA2D90", VA = "0x182EA3D90", 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: 0x04008094 RID: 32916
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008094")]
|
||||
private readonly AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04008095 RID: 32917
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008095")]
|
||||
private readonly byte[] certificateHash;
|
||||
}
|
||||
}
|
||||
+189
@@ -0,0 +1,189 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.Ocsp
|
||||
{
|
||||
// Token: 0x02001FAA RID: 8106
|
||||
[Token(Token = "0x2001FAA")]
|
||||
public class RequestedCertificate : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600CAFC RID: 51964 RVA: 0x002E1564 File Offset: 0x002DF764
|
||||
[Token(Token = "0x600CAFC")]
|
||||
[Address(RVA = "0x2EB82C0", Offset = "0x2EB72C0", VA = "0x182EB82C0")]
|
||||
public static RequestedCertificate GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAFC)
|
||||
|
||||
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: 0x0600CAFD RID: 51965 RVA: 0x002E15CC File Offset: 0x002DF7CC
|
||||
[Token(Token = "0x600CAFD")]
|
||||
[Address(RVA = "0x2EB84C0", Offset = "0x2EB74C0", VA = "0x182EB84C0")]
|
||||
public static RequestedCertificate GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAFD)
|
||||
|
||||
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: 0x0600CAFE RID: 51966 RVA: 0x002E15F4 File Offset: 0x002DF7F4
|
||||
[Token(Token = "0x600CAFE")]
|
||||
[Address(RVA = "0x2EB86F0", Offset = "0x2EB76F0", VA = "0x182EB86F0")]
|
||||
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: 0x0600CAFF RID: 51967 RVA: 0x002E1644 File Offset: 0x002DF844
|
||||
[Token(Token = "0x600CAFF")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public RequestedCertificate(X509CertificateStructure certificate)
|
||||
{
|
||||
this.cert = certificate;
|
||||
}
|
||||
|
||||
// Token: 0x0600CB00 RID: 51968 RVA: 0x002E1660 File Offset: 0x002DF860
|
||||
[Token(Token = "0x600CB00")]
|
||||
[Address(RVA = "0x2EB8650", Offset = "0x2EB7650", VA = "0x182EB8650")]
|
||||
public RequestedCertificate(RequestedCertificate.Choice type, byte[] certificateOctets)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(certificateOctets);
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject((int)type, derOctetString);
|
||||
}
|
||||
|
||||
// Token: 0x17001FC2 RID: 8130
|
||||
// (get) Token: 0x0600CB01 RID: 51969 RVA: 0x002E1680 File Offset: 0x002DF880
|
||||
[Token(Token = "0x17001FC2")]
|
||||
public RequestedCertificate.Choice Type
|
||||
{
|
||||
[Token(Token = "0x600CB01")]
|
||||
[Address(RVA = "0x2EB8810", Offset = "0x2EB7810", VA = "0x182EB8810")]
|
||||
get
|
||||
{
|
||||
if (this.cert == (ulong)0L)
|
||||
{
|
||||
int num = 0;
|
||||
bool flag = this.publicKeyCert == num;
|
||||
}
|
||||
return RequestedCertificate.Choice.Certificate;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CB02 RID: 51970 RVA: 0x002E16A8 File Offset: 0x002DF8A8
|
||||
[Token(Token = "0x600CB02")]
|
||||
[Address(RVA = "0x2EB81F0", Offset = "0x2EB71F0", VA = "0x182EB81F0")]
|
||||
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: 0x0600CB03 RID: 51971 RVA: 0x002E16F4 File Offset: 0x002DF8F4
|
||||
[Token(Token = "0x600CB03")]
|
||||
[Address(RVA = "0x2EB8550", Offset = "0x2EB7550", VA = "0x182EB8550", 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: 0x04008096 RID: 32918
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008096")]
|
||||
private readonly X509CertificateStructure cert;
|
||||
|
||||
// Token: 0x04008097 RID: 32919
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008097")]
|
||||
private readonly byte[] publicKeyCert;
|
||||
|
||||
// Token: 0x04008098 RID: 32920
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008098")]
|
||||
private readonly byte[] attributeCert;
|
||||
|
||||
// Token: 0x02001FAB RID: 8107
|
||||
[Token(Token = "0x2001FAB")]
|
||||
public enum Choice
|
||||
{
|
||||
// Token: 0x0400809A RID: 32922
|
||||
[Token(Token = "0x400809A")]
|
||||
Certificate = -1,
|
||||
// Token: 0x0400809B RID: 32923
|
||||
[Token(Token = "0x400809B")]
|
||||
PublicKeyCertificate,
|
||||
// Token: 0x0400809C RID: 32924
|
||||
[Token(Token = "0x400809C")]
|
||||
AttributeCertificate
|
||||
}
|
||||
}
|
||||
}
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001F9F RID: 8095
|
||||
[Token(Token = "0x2001F9F")]
|
||||
public class AdditionalInformationSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CAB2 RID: 51890 RVA: 0x002DFF28 File Offset: 0x002DE128
|
||||
[Token(Token = "0x600CAB2")]
|
||||
[Address(RVA = "0x2EA24C0", Offset = "0x2EA14C0", VA = "0x182EA24C0")]
|
||||
public static AdditionalInformationSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAB2)
|
||||
|
||||
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: 0x0600CAB3 RID: 51891 RVA: 0x002DFF74 File Offset: 0x002DE174
|
||||
[Token(Token = "0x600CAB3")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
private AdditionalInformationSyntax(DirectoryString information)
|
||||
{
|
||||
this.information = information;
|
||||
}
|
||||
|
||||
// Token: 0x0600CAB4 RID: 51892 RVA: 0x002DFF90 File Offset: 0x002DE190
|
||||
[Token(Token = "0x600CAB4")]
|
||||
[Address(RVA = "0x2EA2640", Offset = "0x2EA1640", VA = "0x182EA2640")]
|
||||
public AdditionalInformationSyntax(string information)
|
||||
{
|
||||
DirectoryString directoryString = new DirectoryString(information);
|
||||
this.information = directoryString;
|
||||
}
|
||||
|
||||
// Token: 0x17001FAA RID: 8106
|
||||
// (get) Token: 0x0600CAB5 RID: 51893 RVA: 0x002DFFB4 File Offset: 0x002DE1B4
|
||||
[Token(Token = "0x17001FAA")]
|
||||
public virtual DirectoryString Information
|
||||
{
|
||||
[Token(Token = "0x600CAB5")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.information;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CAB6 RID: 51894 RVA: 0x002DFFC8 File Offset: 0x002DE1C8
|
||||
[Token(Token = "0x600CAB6")]
|
||||
[Address(RVA = "0x415960", Offset = "0x414960", VA = "0x180415960", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.information.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04008065 RID: 32869
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008065")]
|
||||
private readonly DirectoryString information;
|
||||
}
|
||||
}
|
||||
+141
@@ -0,0 +1,141 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA0 RID: 8096
|
||||
[Token(Token = "0x2001FA0")]
|
||||
public class AdmissionSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CAB7 RID: 51895 RVA: 0x002DFFE8 File Offset: 0x002DE1E8
|
||||
[Token(Token = "0x600CAB7")]
|
||||
[Address(RVA = "0x2EA27E0", Offset = "0x2EA17E0", VA = "0x182EA27E0")]
|
||||
public static AdmissionSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAB7)
|
||||
|
||||
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: 0x0600CAB8 RID: 51896 RVA: 0x002E0058 File Offset: 0x002DE258
|
||||
[Token(Token = "0x600CAB8")]
|
||||
[Address(RVA = "0x2EA2C70", Offset = "0x2EA1C70", VA = "0x182EA2C70")]
|
||||
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: 0x0600CAB9 RID: 51897 RVA: 0x002E0094 File Offset: 0x002DE294
|
||||
[Token(Token = "0x600CAB9")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public AdmissionSyntax(GeneralName admissionAuthority, Asn1Sequence contentsOfAdmissions)
|
||||
{
|
||||
this.admissionAuthority = admissionAuthority;
|
||||
this.contentsOfAdmissions = contentsOfAdmissions;
|
||||
}
|
||||
|
||||
// Token: 0x0600CABA RID: 51898 RVA: 0x002E00B8 File Offset: 0x002DE2B8
|
||||
[Token(Token = "0x600CABA")]
|
||||
[Address(RVA = "0x2EA2AD0", Offset = "0x2EA1AD0", VA = "0x182EA2AD0", 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: 0x17001FAB RID: 8107
|
||||
// (get) Token: 0x0600CABB RID: 51899 RVA: 0x002E0124 File Offset: 0x002DE324
|
||||
[Token(Token = "0x17001FAB")]
|
||||
public virtual GeneralName AdmissionAuthority
|
||||
{
|
||||
[Token(Token = "0x600CABB")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.admissionAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CABC RID: 51900 RVA: 0x002E0138 File Offset: 0x002DE338
|
||||
[Token(Token = "0x600CABC")]
|
||||
[Address(RVA = "0x2EA26B0", Offset = "0x2EA16B0", VA = "0x182EA26B0", 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: 0x04008066 RID: 32870
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008066")]
|
||||
private readonly GeneralName admissionAuthority;
|
||||
|
||||
// Token: 0x04008067 RID: 32871
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008067")]
|
||||
private readonly Asn1Sequence contentsOfAdmissions;
|
||||
}
|
||||
}
|
||||
+239
@@ -0,0 +1,239 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA1 RID: 8097
|
||||
[Token(Token = "0x2001FA1")]
|
||||
public class Admissions : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CABD RID: 51901 RVA: 0x002E0190 File Offset: 0x002DE390
|
||||
[Token(Token = "0x600CABD")]
|
||||
[Address(RVA = "0x2EA2DA0", Offset = "0x2EA1DA0", VA = "0x182EA2DA0")]
|
||||
public static Admissions GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CABD)
|
||||
|
||||
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: 0x0600CABE RID: 51902 RVA: 0x002E01E4 File Offset: 0x002DE3E4
|
||||
[Token(Token = "0x600CABE")]
|
||||
[Address(RVA = "0x2EA34E0", Offset = "0x2EA24E0", VA = "0x182EA34E0")]
|
||||
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: 0x0600CABF RID: 51903 RVA: 0x002E02DC File Offset: 0x002DE4DC
|
||||
[Token(Token = "0x600CABF")]
|
||||
[Address(RVA = "0x2EA3450", Offset = "0x2EA2450", VA = "0x182EA3450")]
|
||||
public Admissions(GeneralName admissionAuthority, NamingAuthority namingAuthority, ProfessionInfo[] professionInfos)
|
||||
{
|
||||
this.admissionAuthority = admissionAuthority;
|
||||
this.namingAuthority = namingAuthority;
|
||||
DerSequence derSequence = new DerSequence(professionInfos);
|
||||
this.professionInfos = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x17001FAC RID: 8108
|
||||
// (get) Token: 0x0600CAC0 RID: 51904 RVA: 0x002E030C File Offset: 0x002DE50C
|
||||
[Token(Token = "0x17001FAC")]
|
||||
public virtual GeneralName AdmissionAuthority
|
||||
{
|
||||
[Token(Token = "0x600CAC0")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.admissionAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FAD RID: 8109
|
||||
// (get) Token: 0x0600CAC1 RID: 51905 RVA: 0x002E0320 File Offset: 0x002DE520
|
||||
[Token(Token = "0x17001FAD")]
|
||||
public virtual NamingAuthority NamingAuthority
|
||||
{
|
||||
[Token(Token = "0x600CAC1")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CAC2 RID: 51906 RVA: 0x002E0334 File Offset: 0x002DE534
|
||||
[Token(Token = "0x600CAC2")]
|
||||
[Address(RVA = "0x2EA2FA0", Offset = "0x2EA1FA0", VA = "0x182EA2FA0")]
|
||||
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 == 0)
|
||||
{
|
||||
return array;
|
||||
}
|
||||
}
|
||||
if (enumerator == 0)
|
||||
{
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
num++;
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600CAC3 RID: 51907 RVA: 0x002E03A8 File Offset: 0x002DE5A8
|
||||
[Token(Token = "0x600CAC3")]
|
||||
[Address(RVA = "0x2EA31C0", Offset = "0x2EA21C0", VA = "0x182EA31C0", 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: 0x04008068 RID: 32872
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008068")]
|
||||
private readonly GeneralName admissionAuthority;
|
||||
|
||||
// Token: 0x04008069 RID: 32873
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008069")]
|
||||
private readonly NamingAuthority namingAuthority;
|
||||
|
||||
// Token: 0x0400806A RID: 32874
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400806A")]
|
||||
private readonly Asn1Sequence professionInfos;
|
||||
}
|
||||
}
|
||||
+212
@@ -0,0 +1,212 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA2 RID: 8098
|
||||
[Token(Token = "0x2001FA2")]
|
||||
public class DeclarationOfMajority : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600CAC4 RID: 51908 RVA: 0x002E0468 File Offset: 0x002DE668
|
||||
[Token(Token = "0x600CAC4")]
|
||||
[Address(RVA = "0x2EA9960", Offset = "0x2EA8960", VA = "0x182EA9960")]
|
||||
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: 0x0600CAC5 RID: 51909 RVA: 0x002E0498 File Offset: 0x002DE698
|
||||
[Token(Token = "0x600CAC5")]
|
||||
[Address(RVA = "0x2EA9AC0", Offset = "0x2EA8AC0", VA = "0x182EA9AC0")]
|
||||
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: 0x0600CAC6 RID: 51910 RVA: 0x002E0508 File Offset: 0x002DE708
|
||||
[Token(Token = "0x600CAC6")]
|
||||
[Address(RVA = "0x2EA9CE0", Offset = "0x2EA8CE0", VA = "0x182EA9CE0")]
|
||||
public DeclarationOfMajority(DerGeneralizedTime dateOfBirth)
|
||||
{
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 2, dateOfBirth);
|
||||
num = 0;
|
||||
this.declaration = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600CAC7 RID: 51911 RVA: 0x002E0530 File Offset: 0x002DE730
|
||||
[Token(Token = "0x600CAC7")]
|
||||
[Address(RVA = "0x2EA96D0", Offset = "0x2EA86D0", VA = "0x182EA96D0")]
|
||||
public static DeclarationOfMajority GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAC7)
|
||||
|
||||
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: 0x0600CAC8 RID: 51912 RVA: 0x002E058C File Offset: 0x002DE78C
|
||||
[Token(Token = "0x600CAC8")]
|
||||
[Address(RVA = "0x2EA9A00", Offset = "0x2EA8A00", VA = "0x182EA9A00")]
|
||||
private DeclarationOfMajority(Asn1TaggedObject o)
|
||||
{
|
||||
this.declaration = o;
|
||||
}
|
||||
|
||||
// Token: 0x0600CAC9 RID: 51913 RVA: 0x002E05AC File Offset: 0x002DE7AC
|
||||
[Token(Token = "0x600CAC9")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAC9)
|
||||
|
||||
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: 0x17001FAE RID: 8110
|
||||
// (get) Token: 0x0600CACA RID: 51914 RVA: 0x002E05C0 File Offset: 0x002DE7C0
|
||||
[Token(Token = "0x17001FAE")]
|
||||
public DeclarationOfMajority.Choice Type
|
||||
{
|
||||
[Token(Token = "0x600CACA")]
|
||||
[Address(RVA = "0xC03A40", Offset = "0xC02A40", VA = "0x180C03A40")]
|
||||
get
|
||||
{
|
||||
int tagNo = this.declaration.tagNo;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FAF RID: 8111
|
||||
// (get) Token: 0x0600CACB RID: 51915 RVA: 0x002E05E0 File Offset: 0x002DE7E0
|
||||
[Token(Token = "0x17001FAF")]
|
||||
public virtual int NotYoungerThan
|
||||
{
|
||||
[Token(Token = "0x600CACB")]
|
||||
[Address(RVA = "0x2EA9DC0", Offset = "0x2EA8DC0", VA = "0x182EA9DC0", 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: 0x17001FB0 RID: 8112
|
||||
// (get) Token: 0x0600CACC RID: 51916 RVA: 0x002E0618 File Offset: 0x002DE818
|
||||
[Token(Token = "0x17001FB0")]
|
||||
public virtual Asn1Sequence FullAgeAtCountry
|
||||
{
|
||||
[Token(Token = "0x600CACC")]
|
||||
[Address(RVA = "0x2EA9D90", Offset = "0x2EA8D90", VA = "0x182EA9D90", Slot = "7")]
|
||||
get
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject = this.declaration;
|
||||
if (asn1TaggedObject.tagNo != 1)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
return Asn1Sequence.GetInstance(asn1TaggedObject, num != 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FB1 RID: 8113
|
||||
// (get) Token: 0x0600CACD RID: 51917 RVA: 0x002E0648 File Offset: 0x002DE848
|
||||
[Token(Token = "0x17001FB1")]
|
||||
public virtual DerGeneralizedTime DateOfBirth
|
||||
{
|
||||
[Token(Token = "0x600CACD")]
|
||||
[Address(RVA = "0x2EA9D60", Offset = "0x2EA8D60", VA = "0x182EA9D60", Slot = "8")]
|
||||
get
|
||||
{
|
||||
Asn1TaggedObject asn1TaggedObject = this.declaration;
|
||||
if (asn1TaggedObject.tagNo != 2)
|
||||
{
|
||||
}
|
||||
int num = 0;
|
||||
return DerGeneralizedTime.GetInstance(asn1TaggedObject, num != 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400806B RID: 32875
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400806B")]
|
||||
private readonly Asn1TaggedObject declaration;
|
||||
|
||||
// Token: 0x02001FA3 RID: 8099
|
||||
[Token(Token = "0x2001FA3")]
|
||||
public enum Choice
|
||||
{
|
||||
// Token: 0x0400806D RID: 32877
|
||||
[Token(Token = "0x400806D")]
|
||||
NotYoungerThan,
|
||||
// Token: 0x0400806E RID: 32878
|
||||
[Token(Token = "0x400806E")]
|
||||
FullAgeAtCountry,
|
||||
// Token: 0x0400806F RID: 32879
|
||||
[Token(Token = "0x400806F")]
|
||||
DateOfBirth
|
||||
}
|
||||
}
|
||||
}
|
||||
+147
@@ -0,0 +1,147 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA4 RID: 8100
|
||||
[Token(Token = "0x2001FA4")]
|
||||
public class MonetaryLimit : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CACE RID: 51918 RVA: 0x002E0678 File Offset: 0x002DE878
|
||||
[Token(Token = "0x600CACE")]
|
||||
[Address(RVA = "0x2EB0280", Offset = "0x2EAF280", VA = "0x182EB0280")]
|
||||
public static MonetaryLimit GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CACE)
|
||||
|
||||
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: 0x0600CACF RID: 51919 RVA: 0x002E0700 File Offset: 0x002DE900
|
||||
[Token(Token = "0x600CACF")]
|
||||
[Address(RVA = "0x2EB0790", Offset = "0x2EAF790", VA = "0x182EB0790")]
|
||||
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: 0x0600CAD0 RID: 51920 RVA: 0x002E0748 File Offset: 0x002DE948
|
||||
[Token(Token = "0x600CAD0")]
|
||||
[Address(RVA = "0x2EB06C0", Offset = "0x2EAF6C0", VA = "0x182EB06C0")]
|
||||
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: 0x17001FB2 RID: 8114
|
||||
// (get) Token: 0x0600CAD1 RID: 51921 RVA: 0x002E0788 File Offset: 0x002DE988
|
||||
[Token(Token = "0x17001FB2")]
|
||||
public virtual string Currency
|
||||
{
|
||||
[Token(Token = "0x600CAD1")]
|
||||
[Address(RVA = "0x4DB0F0", Offset = "0x4DA0F0", VA = "0x1804DB0F0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
Asn1Object asn1Object = this.currency.ToAsn1Object();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FB3 RID: 8115
|
||||
// (get) Token: 0x0600CAD2 RID: 51922 RVA: 0x002E07A8 File Offset: 0x002DE9A8
|
||||
[Token(Token = "0x17001FB3")]
|
||||
public virtual BigInteger Amount
|
||||
{
|
||||
[Token(Token = "0x600CAD2")]
|
||||
[Address(RVA = "0x2E80530", Offset = "0x2E7F530", VA = "0x182E80530", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.amount.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FB4 RID: 8116
|
||||
// (get) Token: 0x0600CAD3 RID: 51923 RVA: 0x002E07C8 File Offset: 0x002DE9C8
|
||||
[Token(Token = "0x17001FB4")]
|
||||
public virtual BigInteger Exponent
|
||||
{
|
||||
[Token(Token = "0x600CAD3")]
|
||||
[Address(RVA = "0x2E80550", Offset = "0x2E7F550", VA = "0x182E80550", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.exponent.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CAD4 RID: 51924 RVA: 0x002E07E8 File Offset: 0x002DE9E8
|
||||
[Token(Token = "0x600CAD4")]
|
||||
[Address(RVA = "0x2EB0550", Offset = "0x2EAF550", VA = "0x182EB0550", 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: 0x04008070 RID: 32880
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008070")]
|
||||
private readonly DerPrintableString currency;
|
||||
|
||||
// Token: 0x04008071 RID: 32881
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008071")]
|
||||
private readonly DerInteger amount;
|
||||
|
||||
// Token: 0x04008072 RID: 32882
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008072")]
|
||||
private readonly DerInteger exponent;
|
||||
}
|
||||
}
|
||||
+181
@@ -0,0 +1,181 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA5 RID: 8101
|
||||
[Token(Token = "0x2001FA5")]
|
||||
public class NamingAuthority : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CAD5 RID: 51925 RVA: 0x002E0844 File Offset: 0x002DEA44
|
||||
[Token(Token = "0x600CAD5")]
|
||||
[Address(RVA = "0x2EB08D0", Offset = "0x2EAF8D0", VA = "0x182EB08D0")]
|
||||
public static NamingAuthority GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAD5)
|
||||
|
||||
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: 0x0600CAD6 RID: 51926 RVA: 0x002E0898 File Offset: 0x002DEA98
|
||||
[Token(Token = "0x600CAD6")]
|
||||
[Address(RVA = "0x2EB0AD0", Offset = "0x2EAFAD0", VA = "0x182EB0AD0")]
|
||||
public static NamingAuthority GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return NamingAuthority.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600CAD7 RID: 51927 RVA: 0x002E08B4 File Offset: 0x002DEAB4
|
||||
[Token(Token = "0x600CAD7")]
|
||||
[Address(RVA = "0x2EB0E50", Offset = "0x2EAFE50", VA = "0x182EB0E50")]
|
||||
private NamingAuthority(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAD7)
|
||||
|
||||
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: 0x17001FB5 RID: 8117
|
||||
// (get) Token: 0x0600CAD8 RID: 51928 RVA: 0x002E09B8 File Offset: 0x002DEBB8
|
||||
[Token(Token = "0x17001FB5")]
|
||||
public virtual DerObjectIdentifier NamingAuthorityID
|
||||
{
|
||||
[Token(Token = "0x600CAD8")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FB6 RID: 8118
|
||||
// (get) Token: 0x0600CAD9 RID: 51929 RVA: 0x002E09CC File Offset: 0x002DEBCC
|
||||
[Token(Token = "0x17001FB6")]
|
||||
public virtual DirectoryString NamingAuthorityText
|
||||
{
|
||||
[Token(Token = "0x600CAD9")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityText;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FB7 RID: 8119
|
||||
// (get) Token: 0x0600CADA RID: 51930 RVA: 0x002E09E0 File Offset: 0x002DEBE0
|
||||
[Token(Token = "0x17001FB7")]
|
||||
public virtual string NamingAuthorityUrl
|
||||
{
|
||||
[Token(Token = "0x600CADA")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthorityUrl;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CADB RID: 51931 RVA: 0x002E09F4 File Offset: 0x002DEBF4
|
||||
[Token(Token = "0x600CADB")]
|
||||
[Address(RVA = "0xED6DA0", Offset = "0xED5DA0", VA = "0x180ED6DA0")]
|
||||
public NamingAuthority(DerObjectIdentifier namingAuthorityID, string namingAuthorityUrl, DirectoryString namingAuthorityText)
|
||||
{
|
||||
this.namingAuthorityID = namingAuthorityID;
|
||||
this.namingAuthorityUrl = namingAuthorityUrl;
|
||||
this.namingAuthorityText = namingAuthorityText;
|
||||
}
|
||||
|
||||
// Token: 0x0600CADC RID: 51932 RVA: 0x002E0A1C File Offset: 0x002DEC1C
|
||||
[Token(Token = "0x600CADC")]
|
||||
[Address(RVA = "0x2EB0B40", Offset = "0x2EAFB40", VA = "0x182EB0B40", 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: 0x04008073 RID: 32883
|
||||
[Token(Token = "0x4008073")]
|
||||
public static readonly DerObjectIdentifier IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern = new DerObjectIdentifier(IsisMttObjectIdentifiers.IdIsisMttATNamingAuthorities + ".1");
|
||||
|
||||
// Token: 0x04008074 RID: 32884
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008074")]
|
||||
private readonly DerObjectIdentifier namingAuthorityID;
|
||||
|
||||
// Token: 0x04008075 RID: 32885
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008075")]
|
||||
private readonly string namingAuthorityUrl;
|
||||
|
||||
// Token: 0x04008076 RID: 32886
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008076")]
|
||||
private readonly DirectoryString namingAuthorityText;
|
||||
}
|
||||
}
|
||||
+210
@@ -0,0 +1,210 @@
|
||||
using System;
|
||||
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: 0x02001FA6 RID: 8102
|
||||
[Token(Token = "0x2001FA6")]
|
||||
public class ProcurationSyntax : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CADE RID: 51934 RVA: 0x002E0AF4 File Offset: 0x002DECF4
|
||||
[Token(Token = "0x600CADE")]
|
||||
[Address(RVA = "0x2EB63B0", Offset = "0x2EB53B0", VA = "0x182EB63B0")]
|
||||
public static ProcurationSyntax GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CADE)
|
||||
|
||||
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: 0x0600CADF RID: 51935 RVA: 0x002E0B48 File Offset: 0x002DED48
|
||||
[Token(Token = "0x600CADF")]
|
||||
[Address(RVA = "0x2EB6910", Offset = "0x2EB5910", VA = "0x182EB6910")]
|
||||
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: 0x0600CAE0 RID: 51936 RVA: 0x002E0BE4 File Offset: 0x002DEDE4
|
||||
[Token(Token = "0x600CAE0")]
|
||||
[Address(RVA = "0x2EB6B80", Offset = "0x2EB5B80", VA = "0x182EB6B80")]
|
||||
public ProcurationSyntax(string country, DirectoryString typeOfSubstitution, IssuerSerial certRef)
|
||||
{
|
||||
this.country = country;
|
||||
this.certRef = certRef;
|
||||
this.typeOfSubstitution = typeOfSubstitution;
|
||||
this.thirdPerson = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600CAE1 RID: 51937 RVA: 0x002E0C18 File Offset: 0x002DEE18
|
||||
[Token(Token = "0x600CAE1")]
|
||||
[Address(RVA = "0x2E78750", Offset = "0x2E77750", VA = "0x182E78750")]
|
||||
public ProcurationSyntax(string country, DirectoryString typeOfSubstitution, GeneralName thirdPerson)
|
||||
{
|
||||
this.country = country;
|
||||
this.thirdPerson = thirdPerson;
|
||||
this.typeOfSubstitution = typeOfSubstitution;
|
||||
this.certRef = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x17001FB8 RID: 8120
|
||||
// (get) Token: 0x0600CAE2 RID: 51938 RVA: 0x002E0C4C File Offset: 0x002DEE4C
|
||||
[Token(Token = "0x17001FB8")]
|
||||
public virtual string Country
|
||||
{
|
||||
[Token(Token = "0x600CAE2")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.country;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FB9 RID: 8121
|
||||
// (get) Token: 0x0600CAE3 RID: 51939 RVA: 0x002E0C60 File Offset: 0x002DEE60
|
||||
[Token(Token = "0x17001FB9")]
|
||||
public virtual DirectoryString TypeOfSubstitution
|
||||
{
|
||||
[Token(Token = "0x600CAE3")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.typeOfSubstitution;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FBA RID: 8122
|
||||
// (get) Token: 0x0600CAE4 RID: 51940 RVA: 0x002E0C74 File Offset: 0x002DEE74
|
||||
[Token(Token = "0x17001FBA")]
|
||||
public virtual GeneralName ThirdPerson
|
||||
{
|
||||
[Token(Token = "0x600CAE4")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.thirdPerson;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FBB RID: 8123
|
||||
// (get) Token: 0x0600CAE5 RID: 51941 RVA: 0x002E0C88 File Offset: 0x002DEE88
|
||||
[Token(Token = "0x17001FBB")]
|
||||
public virtual IssuerSerial CertRef
|
||||
{
|
||||
[Token(Token = "0x600CAE5")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.certRef;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CAE6 RID: 51942 RVA: 0x002E0C9C File Offset: 0x002DEE9C
|
||||
[Token(Token = "0x600CAE6")]
|
||||
[Address(RVA = "0x2EB65B0", Offset = "0x2EB55B0", VA = "0x182EB65B0", 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: 0x04008077 RID: 32887
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008077")]
|
||||
private readonly string country;
|
||||
|
||||
// Token: 0x04008078 RID: 32888
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008078")]
|
||||
private readonly DirectoryString typeOfSubstitution;
|
||||
|
||||
// Token: 0x04008079 RID: 32889
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008079")]
|
||||
private readonly GeneralName thirdPerson;
|
||||
|
||||
// Token: 0x0400807A RID: 32890
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400807A")]
|
||||
private readonly IssuerSerial certRef;
|
||||
}
|
||||
}
|
||||
+380
@@ -0,0 +1,380 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA7 RID: 8103
|
||||
[Token(Token = "0x2001FA7")]
|
||||
public class ProfessionInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CAE7 RID: 51943 RVA: 0x002E0D68 File Offset: 0x002DEF68
|
||||
[Token(Token = "0x600CAE7")]
|
||||
[Address(RVA = "0x2EB6BD0", Offset = "0x2EB5BD0", VA = "0x182EB6BD0")]
|
||||
public static ProfessionInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAE7)
|
||||
|
||||
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: 0x0600CAE8 RID: 51944 RVA: 0x002E0DBC File Offset: 0x002DEFBC
|
||||
[Token(Token = "0x600CAE8")]
|
||||
[Address(RVA = "0x2EB7A40", Offset = "0x2EB6A40", VA = "0x182EB7A40")]
|
||||
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: 0x0600CAE9 RID: 51945 RVA: 0x002E0F0C File Offset: 0x002DF10C
|
||||
[Token(Token = "0x600CAE9")]
|
||||
[Address(RVA = "0x2EB8130", Offset = "0x2EB7130", VA = "0x182EB8130")]
|
||||
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: 0x0600CAEA RID: 51946 RVA: 0x002E0F54 File Offset: 0x002DF154
|
||||
[Token(Token = "0x600CAEA")]
|
||||
[Address(RVA = "0x2EB7050", Offset = "0x2EB6050", VA = "0x182EB7050", 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: 0x17001FBC RID: 8124
|
||||
// (get) Token: 0x0600CAEB RID: 51947 RVA: 0x002E106C File Offset: 0x002DF26C
|
||||
[Token(Token = "0x17001FBC")]
|
||||
public virtual Asn1OctetString AddProfessionInfo
|
||||
{
|
||||
[Token(Token = "0x600CAEB")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.addProfessionInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FBD RID: 8125
|
||||
// (get) Token: 0x0600CAEC RID: 51948 RVA: 0x002E1080 File Offset: 0x002DF280
|
||||
[Token(Token = "0x17001FBD")]
|
||||
public virtual NamingAuthority NamingAuthority
|
||||
{
|
||||
[Token(Token = "0x600CAEC")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.namingAuthority;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CAED RID: 51949 RVA: 0x002E1094 File Offset: 0x002DF294
|
||||
[Token(Token = "0x600CAED")]
|
||||
[Address(RVA = "0x2EB6DD0", Offset = "0x2EB5DD0", VA = "0x182EB6DD0", 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: 0x0600CAEE RID: 51950 RVA: 0x002E10EC File Offset: 0x002DF2EC
|
||||
[Token(Token = "0x600CAEE")]
|
||||
[Address(RVA = "0x2EB6F00", Offset = "0x2EB5F00", VA = "0x182EB6F00", 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: 0x17001FBE RID: 8126
|
||||
// (get) Token: 0x0600CAEF RID: 51951 RVA: 0x002E1148 File Offset: 0x002DF348
|
||||
[Token(Token = "0x17001FBE")]
|
||||
public virtual string RegistrationNumber
|
||||
{
|
||||
[Token(Token = "0x600CAEF")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.registrationNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400807B RID: 32891
|
||||
[Token(Token = "0x400807B")]
|
||||
public static readonly DerObjectIdentifier Rechtsanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".1");
|
||||
|
||||
// Token: 0x0400807C RID: 32892
|
||||
[Token(Token = "0x400807C")]
|
||||
public static readonly DerObjectIdentifier Rechtsanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".2");
|
||||
|
||||
// Token: 0x0400807D RID: 32893
|
||||
[Token(Token = "0x400807D")]
|
||||
public static readonly DerObjectIdentifier Rechtsbeistand = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".3");
|
||||
|
||||
// Token: 0x0400807E RID: 32894
|
||||
[Token(Token = "0x400807E")]
|
||||
public static readonly DerObjectIdentifier Steuerberaterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".4");
|
||||
|
||||
// Token: 0x0400807F RID: 32895
|
||||
[Token(Token = "0x400807F")]
|
||||
public static readonly DerObjectIdentifier Steuerberater = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".5");
|
||||
|
||||
// Token: 0x04008080 RID: 32896
|
||||
[Token(Token = "0x4008080")]
|
||||
public static readonly DerObjectIdentifier Steuerbevollmchtigte = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".6");
|
||||
|
||||
// Token: 0x04008081 RID: 32897
|
||||
[Token(Token = "0x4008081")]
|
||||
public static readonly DerObjectIdentifier Steuerbevollmchtigter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".7");
|
||||
|
||||
// Token: 0x04008082 RID: 32898
|
||||
[Token(Token = "0x4008082")]
|
||||
public static readonly DerObjectIdentifier Notarin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".8");
|
||||
|
||||
// Token: 0x04008083 RID: 32899
|
||||
[Token(Token = "0x4008083")]
|
||||
public static readonly DerObjectIdentifier Notar = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".9");
|
||||
|
||||
// Token: 0x04008084 RID: 32900
|
||||
[Token(Token = "0x4008084")]
|
||||
public static readonly DerObjectIdentifier Notarvertreterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".10");
|
||||
|
||||
// Token: 0x04008085 RID: 32901
|
||||
[Token(Token = "0x4008085")]
|
||||
public static readonly DerObjectIdentifier Notarvertreter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".11");
|
||||
|
||||
// Token: 0x04008086 RID: 32902
|
||||
[Token(Token = "0x4008086")]
|
||||
public static readonly DerObjectIdentifier Notariatsverwalterin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".12");
|
||||
|
||||
// Token: 0x04008087 RID: 32903
|
||||
[Token(Token = "0x4008087")]
|
||||
public static readonly DerObjectIdentifier Notariatsverwalter = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".13");
|
||||
|
||||
// Token: 0x04008088 RID: 32904
|
||||
[Token(Token = "0x4008088")]
|
||||
public static readonly DerObjectIdentifier Wirtschaftsprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".14");
|
||||
|
||||
// Token: 0x04008089 RID: 32905
|
||||
[Token(Token = "0x4008089")]
|
||||
public static readonly DerObjectIdentifier Wirtschaftsprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".15");
|
||||
|
||||
// Token: 0x0400808A RID: 32906
|
||||
[Token(Token = "0x400808A")]
|
||||
public static readonly DerObjectIdentifier VereidigteBuchprferin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".16");
|
||||
|
||||
// Token: 0x0400808B RID: 32907
|
||||
[Token(Token = "0x400808B")]
|
||||
public static readonly DerObjectIdentifier VereidigterBuchprfer = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".17");
|
||||
|
||||
// Token: 0x0400808C RID: 32908
|
||||
[Token(Token = "0x400808C")]
|
||||
public static readonly DerObjectIdentifier Patentanwltin = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".18");
|
||||
|
||||
// Token: 0x0400808D RID: 32909
|
||||
[Token(Token = "0x400808D")]
|
||||
public static readonly DerObjectIdentifier Patentanwalt = new DerObjectIdentifier(NamingAuthority.IdIsisMttATNamingAuthoritiesRechtWirtschaftSteuern + ".19");
|
||||
|
||||
// Token: 0x0400808E RID: 32910
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400808E")]
|
||||
private readonly NamingAuthority namingAuthority;
|
||||
|
||||
// Token: 0x0400808F RID: 32911
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400808F")]
|
||||
private readonly Asn1Sequence professionItems;
|
||||
|
||||
// Token: 0x04008090 RID: 32912
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008090")]
|
||||
private readonly Asn1Sequence professionOids;
|
||||
|
||||
// Token: 0x04008091 RID: 32913
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4008091")]
|
||||
private readonly string registrationNumber;
|
||||
|
||||
// Token: 0x04008092 RID: 32914
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4008092")]
|
||||
private readonly Asn1OctetString addProfessionInfo;
|
||||
}
|
||||
}
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X500;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.IsisMtt.X509
|
||||
{
|
||||
// Token: 0x02001FA8 RID: 8104
|
||||
[Token(Token = "0x2001FA8")]
|
||||
public class Restriction : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CAF1 RID: 51953 RVA: 0x002E1344 File Offset: 0x002DF544
|
||||
[Token(Token = "0x600CAF1")]
|
||||
[Address(RVA = "0x2F8D600", Offset = "0x2F8C600", VA = "0x182F8D600")]
|
||||
public static Restriction GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CAF1)
|
||||
|
||||
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: 0x0600CAF2 RID: 51954 RVA: 0x002E1390 File Offset: 0x002DF590
|
||||
[Token(Token = "0x600CAF2")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
private Restriction(DirectoryString restriction)
|
||||
{
|
||||
this.restriction = restriction;
|
||||
}
|
||||
|
||||
// Token: 0x0600CAF3 RID: 51955 RVA: 0x002E13AC File Offset: 0x002DF5AC
|
||||
[Token(Token = "0x600CAF3")]
|
||||
[Address(RVA = "0x2F8D780", Offset = "0x2F8C780", VA = "0x182F8D780")]
|
||||
public Restriction(string restriction)
|
||||
{
|
||||
DirectoryString directoryString = new DirectoryString(restriction);
|
||||
this.restriction = directoryString;
|
||||
}
|
||||
|
||||
// Token: 0x17001FBF RID: 8127
|
||||
// (get) Token: 0x0600CAF4 RID: 51956 RVA: 0x002E13D0 File Offset: 0x002DF5D0
|
||||
[Token(Token = "0x17001FBF")]
|
||||
public virtual DirectoryString RestrictionString
|
||||
{
|
||||
[Token(Token = "0x600CAF4")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.restriction;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CAF5 RID: 51957 RVA: 0x002E13E4 File Offset: 0x002DF5E4
|
||||
[Token(Token = "0x600CAF5")]
|
||||
[Address(RVA = "0x415960", Offset = "0x414960", VA = "0x180415960", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.restriction.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04008093 RID: 32915
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008093")]
|
||||
private readonly DirectoryString restriction;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user