a
This commit is contained in:
+130
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F02 RID: 7938
|
||||
[Token(Token = "0x2001F02")]
|
||||
public class AttributeTypeAndValue : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C882 RID: 51330 RVA: 0x002DEE4C File Offset: 0x002DD04C
|
||||
[Token(Token = "0x600C882")]
|
||||
[Address(RVA = "0x2AD0260", Offset = "0x2ACF060", VA = "0x182AD0260")]
|
||||
private AttributeTypeAndValue(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
parser = seq.Parser;
|
||||
}
|
||||
while (parser != 0 && parser == 0);
|
||||
this.type = parser;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
this.value = parser2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C883 RID: 51331 RVA: 0x002DEE8C File Offset: 0x002DD08C
|
||||
[Token(Token = "0x600C883")]
|
||||
[Address(RVA = "0x2ACFEB0", Offset = "0x2ACECB0", VA = "0x182ACFEB0")]
|
||||
public static AttributeTypeAndValue GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C883)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.AttributeTypeAndValue BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.AttributeTypeAndValue::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_25:
|
||||
stloc:string(var_7_2B, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_8_43, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_7_2B)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C884 RID: 51332 RVA: 0x002DEEE0 File Offset: 0x002DD0E0
|
||||
[Token(Token = "0x600C884")]
|
||||
[Address(RVA = "0x2AD0340", Offset = "0x2ACF140", VA = "0x182AD0340")]
|
||||
public AttributeTypeAndValue(string oid, Asn1Encodable value)
|
||||
{
|
||||
DerObjectIdentifier derObjectIdentifier = new DerObjectIdentifier(oid);
|
||||
base..ctor();
|
||||
this.type = derObjectIdentifier;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// Token: 0x0600C885 RID: 51333 RVA: 0x002DEF08 File Offset: 0x002DD108
|
||||
[Token(Token = "0x600C885")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public AttributeTypeAndValue(DerObjectIdentifier type, Asn1Encodable value)
|
||||
{
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// Token: 0x17001F66 RID: 8038
|
||||
// (get) Token: 0x0600C886 RID: 51334 RVA: 0x002DEF2C File Offset: 0x002DD12C
|
||||
[Token(Token = "0x17001F66")]
|
||||
public virtual DerObjectIdentifier Type
|
||||
{
|
||||
[Token(Token = "0x600C886")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.type;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F67 RID: 8039
|
||||
// (get) Token: 0x0600C887 RID: 51335 RVA: 0x002DEF40 File Offset: 0x002DD140
|
||||
[Token(Token = "0x17001F67")]
|
||||
public virtual Asn1Encodable Value
|
||||
{
|
||||
[Token(Token = "0x600C887")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C888 RID: 51336 RVA: 0x002DEF54 File Offset: 0x002DD154
|
||||
[Token(Token = "0x600C888")]
|
||||
[Address(RVA = "0x2AD0150", Offset = "0x2ACEF50", VA = "0x182AD0150", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier = this.type;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1Encodable asn1Encodable = this.value;
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Encodable;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FFA RID: 32762
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FFA")]
|
||||
private readonly DerObjectIdentifier type;
|
||||
|
||||
// Token: 0x04007FFB RID: 32763
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007FFB")]
|
||||
private readonly Asn1Encodable value;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,115 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F03 RID: 7939
|
||||
[Token(Token = "0x2001F03")]
|
||||
public class CertId : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C889 RID: 51337 RVA: 0x002DEF9C File Offset: 0x002DD19C
|
||||
[Token(Token = "0x600C889")]
|
||||
[Address(RVA = "0x2AD3AA0", Offset = "0x2AD28A0", VA = "0x182AD3AA0")]
|
||||
private CertId(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
GeneralName generalName;
|
||||
this.issuer = generalName;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.serialNumber = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600C88A RID: 51338 RVA: 0x002DEFD4 File Offset: 0x002DD1D4
|
||||
[Token(Token = "0x600C88A")]
|
||||
[Address(RVA = "0x2AD3730", Offset = "0x2AD2530", VA = "0x182AD3730")]
|
||||
public static CertId GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C88A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertId BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertId::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_32:
|
||||
stloc:string(var_8_38, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_9_50, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_8_38)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C88B RID: 51339 RVA: 0x002DF034 File Offset: 0x002DD234
|
||||
[Token(Token = "0x600C88B")]
|
||||
[Address(RVA = "0x2AD3970", Offset = "0x2AD2770", VA = "0x182AD3970")]
|
||||
public static CertId GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return CertId.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x17001F68 RID: 8040
|
||||
// (get) Token: 0x0600C88C RID: 51340 RVA: 0x002DF050 File Offset: 0x002DD250
|
||||
[Token(Token = "0x17001F68")]
|
||||
public virtual GeneralName Issuer
|
||||
{
|
||||
[Token(Token = "0x600C88C")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.issuer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F69 RID: 8041
|
||||
// (get) Token: 0x0600C88D RID: 51341 RVA: 0x002DF064 File Offset: 0x002DD264
|
||||
[Token(Token = "0x17001F69")]
|
||||
public virtual DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600C88D")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C88E RID: 51342 RVA: 0x002DF078 File Offset: 0x002DD278
|
||||
[Token(Token = "0x600C88E")]
|
||||
[Address(RVA = "0x2AD3990", Offset = "0x2AD2790", VA = "0x182AD3990", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
GeneralName generalName = this.issuer;
|
||||
if (generalName != 0)
|
||||
{
|
||||
}
|
||||
array[0] = generalName;
|
||||
DerInteger derInteger = this.serialNumber;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FFC RID: 32764
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FFC")]
|
||||
private readonly GeneralName issuer;
|
||||
|
||||
// Token: 0x04007FFD RID: 32765
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4007FFD")]
|
||||
private readonly DerInteger serialNumber;
|
||||
}
|
||||
}
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F04 RID: 7940
|
||||
[Token(Token = "0x2001F04")]
|
||||
public class CertReqMessages : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C88F RID: 51343 RVA: 0x002DF0C0 File Offset: 0x002DD2C0
|
||||
[Token(Token = "0x600C88F")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
private CertReqMessages(Asn1Sequence seq)
|
||||
{
|
||||
this.content = seq;
|
||||
}
|
||||
|
||||
// Token: 0x0600C890 RID: 51344 RVA: 0x002DF0DC File Offset: 0x002DD2DC
|
||||
[Token(Token = "0x600C890")]
|
||||
[Address(RVA = "0x2AD3B20", Offset = "0x2AD2920", VA = "0x182AD3B20")]
|
||||
public static CertReqMessages GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C890)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertReqMessages BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertReqMessages::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_29:
|
||||
stloc:string(var_6_2F, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_47, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_6_2F)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C891 RID: 51345 RVA: 0x002DF134 File Offset: 0x002DD334
|
||||
[Token(Token = "0x600C891")]
|
||||
[Address(RVA = "0x2AD3E20", Offset = "0x2AD2C20", VA = "0x182AD3E20")]
|
||||
public CertReqMessages(params CertReqMsg[] msgs)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(msgs);
|
||||
this.content = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600C892 RID: 51346 RVA: 0x002DF158 File Offset: 0x002DD358
|
||||
[Token(Token = "0x600C892")]
|
||||
[Address(RVA = "0x2AD3D10", Offset = "0x2AD2B10", VA = "0x182AD3D10", Slot = "6")]
|
||||
public virtual CertReqMsg[] ToCertReqMsgArray()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.content;
|
||||
Asn1Encodable asn1Encodable;
|
||||
CertReqMsg[] array = new CertReqMsg[asn1Encodable];
|
||||
int num = 0;
|
||||
if (num != array.Length)
|
||||
{
|
||||
Asn1SequenceParser parser = this.content.Parser;
|
||||
CertReqMsg certReqMsg;
|
||||
if (certReqMsg != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = certReqMsg;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C893 RID: 51347 RVA: 0x002DF1A4 File Offset: 0x002DD3A4
|
||||
[Token(Token = "0x600C893")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C893)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertReqMessages::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(CertReqMessages::content, ldloc:CertReqMessages(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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04007FFE RID: 32766
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FFE")]
|
||||
private readonly Asn1Sequence content;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,199 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F05 RID: 7941
|
||||
[Token(Token = "0x2001F05")]
|
||||
public class CertReqMsg : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C894 RID: 51348 RVA: 0x002DF1B8 File Offset: 0x002DD3B8
|
||||
[Token(Token = "0x600C894")]
|
||||
[Address(RVA = "0x2AD4400", Offset = "0x2AD3200", VA = "0x182AD4400")]
|
||||
private CertReqMsg(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
CertRequest certRequest;
|
||||
this.certReq = certRequest;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if ((uint)1 < asn1Encodable)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser2 != 0 && (parser2 != 0 || parser2 != 0))
|
||||
{
|
||||
ProofOfPossession proofOfPossession;
|
||||
this.popo = proofOfPossession;
|
||||
}
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.regInfo = asn1Sequence;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C895 RID: 51349 RVA: 0x002DF210 File Offset: 0x002DD410
|
||||
[Token(Token = "0x600C895")]
|
||||
[Address(RVA = "0x2AD3E90", Offset = "0x2AD2C90", VA = "0x182AD3E90")]
|
||||
public static CertReqMsg GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
Asn1Sequence instance = Asn1Sequence.GetInstance(obj);
|
||||
Asn1SequenceParser parser = instance.Parser;
|
||||
CertReqMsg certReqMsg;
|
||||
CertRequest certRequest;
|
||||
certReqMsg.certReq = certRequest;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if ((uint)1 < asn1Encodable)
|
||||
{
|
||||
Asn1SequenceParser parser2 = instance.Parser;
|
||||
if (parser2 != 0 && (parser2 != 0 || parser2 != 0))
|
||||
{
|
||||
ProofOfPossession proofOfPossession;
|
||||
certReqMsg.popo = proofOfPossession;
|
||||
}
|
||||
Asn1Sequence asn1Sequence;
|
||||
certReqMsg.regInfo = asn1Sequence;
|
||||
}
|
||||
return certReqMsg;
|
||||
}
|
||||
if ((uint)1 != 0U)
|
||||
{
|
||||
return (uint)1;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C896 RID: 51350 RVA: 0x002DF28C File Offset: 0x002DD48C
|
||||
[Token(Token = "0x600C896")]
|
||||
[Address(RVA = "0x2AD40F0", Offset = "0x2AD2EF0", VA = "0x182AD40F0")]
|
||||
public static CertReqMsg GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return CertReqMsg.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C897 RID: 51351 RVA: 0x002DF2A8 File Offset: 0x002DD4A8
|
||||
[Token(Token = "0x600C897")]
|
||||
[Address(RVA = "0x2AD4570", Offset = "0x2AD3370", VA = "0x182AD4570")]
|
||||
public CertReqMsg(CertRequest certReq, ProofOfPossession popo, AttributeTypeAndValue[] regInfo)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C897)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertReqMsg::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertRequest,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.ProofOfPossession,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.AttributeTypeAndValue[])
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2B:
|
||||
stloc:ArgumentNullException(var_1_35, newobj:ArgumentNullException(ArgumentNullException::.ctor, ldstr:string("certReq")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001F6A RID: 8042
|
||||
// (get) Token: 0x0600C898 RID: 51352 RVA: 0x002DF2EC File Offset: 0x002DD4EC
|
||||
[Token(Token = "0x17001F6A")]
|
||||
public virtual CertRequest CertReq
|
||||
{
|
||||
[Token(Token = "0x600C898")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.certReq;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F6B RID: 8043
|
||||
// (get) Token: 0x0600C899 RID: 51353 RVA: 0x002DF300 File Offset: 0x002DD500
|
||||
[Token(Token = "0x17001F6B")]
|
||||
public virtual ProofOfPossession Popo
|
||||
{
|
||||
[Token(Token = "0x600C899")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.popo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C89A RID: 51354 RVA: 0x002DF314 File Offset: 0x002DD514
|
||||
[Token(Token = "0x600C89A")]
|
||||
[Address(RVA = "0x2AD4110", Offset = "0x2AD2F10", VA = "0x182AD4110", Slot = "8")]
|
||||
public virtual AttributeTypeAndValue[] GetRegInfo()
|
||||
{
|
||||
if (this.regInfo != 0)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
AttributeTypeAndValue[] array = new AttributeTypeAndValue[asn1Encodable];
|
||||
int num = 0;
|
||||
if (num != array.Length)
|
||||
{
|
||||
Asn1SequenceParser parser = this.regInfo.Parser;
|
||||
AttributeTypeAndValue attributeTypeAndValue;
|
||||
if (attributeTypeAndValue != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = attributeTypeAndValue;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C89B RID: 51355 RVA: 0x002DF364 File Offset: 0x002DD564
|
||||
[Token(Token = "0x600C89B")]
|
||||
[Address(RVA = "0x2AD4230", Offset = "0x2AD3030", VA = "0x182AD4230", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
CertRequest certRequest = this.certReq;
|
||||
if (certRequest != 0)
|
||||
{
|
||||
}
|
||||
array[0] = certRequest;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[2];
|
||||
ProofOfPossession proofOfPossession = this.popo;
|
||||
if (proofOfPossession != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = proofOfPossession;
|
||||
Asn1Sequence asn1Sequence = this.regInfo;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array2[1] = asn1Sequence;
|
||||
asn1EncodableVector.AddOptional(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04007FFF RID: 32767
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007FFF")]
|
||||
private readonly CertRequest certReq;
|
||||
|
||||
// Token: 0x04008000 RID: 32768
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008000")]
|
||||
private readonly ProofOfPossession popo;
|
||||
|
||||
// Token: 0x04008001 RID: 32769
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008001")]
|
||||
private readonly Asn1Sequence regInfo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F06 RID: 7942
|
||||
[Token(Token = "0x2001F06")]
|
||||
public class CertRequest : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C89C RID: 51356 RVA: 0x002DF3DC File Offset: 0x002DD5DC
|
||||
[Token(Token = "0x600C89C")]
|
||||
[Address(RVA = "0x2AD4A10", Offset = "0x2AD3810", VA = "0x182AD4A10")]
|
||||
private CertRequest(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.certReqId = derInteger;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
CertTemplate certTemplate;
|
||||
this.certTemplate = certTemplate;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)2L)
|
||||
{
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
Controls controls;
|
||||
this.controls = controls;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C89D RID: 51357 RVA: 0x002DF428 File Offset: 0x002DD628
|
||||
[Token(Token = "0x600C89D")]
|
||||
[Address(RVA = "0x2AD4630", Offset = "0x2AD3430", VA = "0x182AD4630")]
|
||||
public static CertRequest GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
Asn1SequenceParser parser = instance.Parser;
|
||||
CertRequest certRequest;
|
||||
DerInteger derInteger;
|
||||
certRequest.certReqId = derInteger;
|
||||
Asn1SequenceParser parser2 = instance.Parser;
|
||||
CertTemplate certTemplate;
|
||||
certRequest.certTemplate = certTemplate;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)2L)
|
||||
{
|
||||
Asn1SequenceParser parser3 = instance.Parser;
|
||||
Controls controls;
|
||||
certRequest.controls = controls;
|
||||
}
|
||||
return certRequest;
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C89E RID: 51358 RVA: 0x002DF490 File Offset: 0x002DD690
|
||||
[Token(Token = "0x600C89E")]
|
||||
[Address(RVA = "0x2AD4980", Offset = "0x2AD3780", VA = "0x182AD4980")]
|
||||
public CertRequest(int certReqId, CertTemplate certTemplate, Controls controls)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(certReqId);
|
||||
base..ctor();
|
||||
this.certReqId = derInteger;
|
||||
this.certTemplate = certTemplate;
|
||||
this.controls = controls;
|
||||
}
|
||||
|
||||
// Token: 0x0600C89F RID: 51359 RVA: 0x002DF4C0 File Offset: 0x002DD6C0
|
||||
[Token(Token = "0x600C89F")]
|
||||
[Address(RVA = "0xECF220", Offset = "0xECE020", VA = "0x180ECF220")]
|
||||
public CertRequest(DerInteger certReqId, CertTemplate certTemplate, Controls controls)
|
||||
{
|
||||
this.certReqId = certReqId;
|
||||
this.certTemplate = certTemplate;
|
||||
this.controls = controls;
|
||||
}
|
||||
|
||||
// Token: 0x17001F6C RID: 8044
|
||||
// (get) Token: 0x0600C8A0 RID: 51360 RVA: 0x002DF4E8 File Offset: 0x002DD6E8
|
||||
[Token(Token = "0x17001F6C")]
|
||||
public virtual DerInteger CertReqID
|
||||
{
|
||||
[Token(Token = "0x600C8A0")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.certReqId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F6D RID: 8045
|
||||
// (get) Token: 0x0600C8A1 RID: 51361 RVA: 0x002DF4FC File Offset: 0x002DD6FC
|
||||
[Token(Token = "0x17001F6D")]
|
||||
public virtual CertTemplate CertTemplate
|
||||
{
|
||||
[Token(Token = "0x600C8A1")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.certTemplate;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F6E RID: 8046
|
||||
// (get) Token: 0x0600C8A2 RID: 51362 RVA: 0x002DF510 File Offset: 0x002DD710
|
||||
[Token(Token = "0x17001F6E")]
|
||||
public virtual Controls Controls
|
||||
{
|
||||
[Token(Token = "0x600C8A2")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.controls;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8A3 RID: 51363 RVA: 0x002DF524 File Offset: 0x002DD724
|
||||
[Token(Token = "0x600C8A3")]
|
||||
[Address(RVA = "0x2AD47C0", Offset = "0x2AD35C0", VA = "0x182AD47C0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerInteger derInteger = this.certReqId;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
CertTemplate certTemplate = this.certTemplate;
|
||||
if (certTemplate != 0)
|
||||
{
|
||||
}
|
||||
array[1] = certTemplate;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Controls controls = this.controls;
|
||||
if (controls != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = controls;
|
||||
asn1EncodableVector.AddOptional(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04008002 RID: 32770
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008002")]
|
||||
private readonly DerInteger certReqId;
|
||||
|
||||
// Token: 0x04008003 RID: 32771
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008003")]
|
||||
private readonly CertTemplate certTemplate;
|
||||
|
||||
// Token: 0x04008004 RID: 32772
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008004")]
|
||||
private readonly Controls controls;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,301 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F07 RID: 7943
|
||||
[Token(Token = "0x2001F07")]
|
||||
public class CertTemplate : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C8A4 RID: 51364 RVA: 0x002DF59C File Offset: 0x002DD79C
|
||||
[Token(Token = "0x600C8A4")]
|
||||
[Address(RVA = "0x1872190", Offset = "0x1870F90", VA = "0x181872190")]
|
||||
private CertTemplate(Asn1Sequence seq)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
base..ctor();
|
||||
this.seq = seq;
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
X509Extensions x509Extensions;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
int num2 = 0;
|
||||
if (enumerator == 0)
|
||||
{
|
||||
goto IL_AC;
|
||||
}
|
||||
if (num2 > 9)
|
||||
{
|
||||
goto IL_8E;
|
||||
}
|
||||
DerInteger derInteger;
|
||||
this.version = derInteger;
|
||||
DerInteger derInteger2;
|
||||
this.serialNumber = derInteger2;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.signingAlg = algorithmIdentifier;
|
||||
X509Name x509Name;
|
||||
this.issuer = x509Name;
|
||||
Asn1Sequence asn1Sequence;
|
||||
OptionalValidity instance = OptionalValidity.GetInstance(asn1Sequence);
|
||||
this.validity = instance;
|
||||
X509Name x509Name2;
|
||||
this.subject = x509Name2;
|
||||
SubjectPublicKeyInfo subjectPublicKeyInfo;
|
||||
this.publicKey = subjectPublicKeyInfo;
|
||||
DerBitString derBitString;
|
||||
this.issuerUID = derBitString;
|
||||
DerBitString derBitString2;
|
||||
this.subjectUID = derBitString2;
|
||||
this.extensions = x509Extensions;
|
||||
}
|
||||
if (x509Extensions != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return;
|
||||
IL_8E:
|
||||
throw new NullReferenceException();
|
||||
IL_AC:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C8A5 RID: 51365 RVA: 0x002DF660 File Offset: 0x002DD860
|
||||
[Token(Token = "0x600C8A5")]
|
||||
[Address(RVA = "0x1872090", Offset = "0x1870E90", VA = "0x181872090")]
|
||||
public static CertTemplate GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
return new CertTemplate(instance);
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F6F RID: 8047
|
||||
// (get) Token: 0x0600C8A6 RID: 51366 RVA: 0x002DF694 File Offset: 0x002DD894
|
||||
[Token(Token = "0x17001F6F")]
|
||||
public virtual int Version
|
||||
{
|
||||
[Token(Token = "0x600C8A6")]
|
||||
[Address(RVA = "0x1872550", Offset = "0x1871350", VA = "0x181872550", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return new BigInteger(this.version.bytes).IntValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F70 RID: 8048
|
||||
// (get) Token: 0x0600C8A7 RID: 51367 RVA: 0x002DF6BC File Offset: 0x002DD8BC
|
||||
[Token(Token = "0x17001F70")]
|
||||
public virtual DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600C8A7")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F71 RID: 8049
|
||||
// (get) Token: 0x0600C8A8 RID: 51368 RVA: 0x002DF6D0 File Offset: 0x002DD8D0
|
||||
[Token(Token = "0x17001F71")]
|
||||
public virtual AlgorithmIdentifier SigningAlg
|
||||
{
|
||||
[Token(Token = "0x600C8A8")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.signingAlg;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F72 RID: 8050
|
||||
// (get) Token: 0x0600C8A9 RID: 51369 RVA: 0x002DF6E4 File Offset: 0x002DD8E4
|
||||
[Token(Token = "0x17001F72")]
|
||||
public virtual X509Name Issuer
|
||||
{
|
||||
[Token(Token = "0x600C8A9")]
|
||||
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.issuer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F73 RID: 8051
|
||||
// (get) Token: 0x0600C8AA RID: 51370 RVA: 0x002DF6F8 File Offset: 0x002DD8F8
|
||||
[Token(Token = "0x17001F73")]
|
||||
public virtual OptionalValidity Validity
|
||||
{
|
||||
[Token(Token = "0x600C8AA")]
|
||||
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.validity;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F74 RID: 8052
|
||||
// (get) Token: 0x0600C8AB RID: 51371 RVA: 0x002DF70C File Offset: 0x002DD90C
|
||||
[Token(Token = "0x17001F74")]
|
||||
public virtual X509Name Subject
|
||||
{
|
||||
[Token(Token = "0x600C8AB")]
|
||||
[Address(RVA = "0x408890", Offset = "0x407690", VA = "0x180408890", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return this.subject;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F75 RID: 8053
|
||||
// (get) Token: 0x0600C8AC RID: 51372 RVA: 0x002DF720 File Offset: 0x002DD920
|
||||
[Token(Token = "0x17001F75")]
|
||||
public virtual SubjectPublicKeyInfo PublicKey
|
||||
{
|
||||
[Token(Token = "0x600C8AC")]
|
||||
[Address(RVA = "0x3FA170", Offset = "0x3F8F70", VA = "0x1803FA170", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return this.publicKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F76 RID: 8054
|
||||
// (get) Token: 0x0600C8AD RID: 51373 RVA: 0x002DF734 File Offset: 0x002DD934
|
||||
[Token(Token = "0x17001F76")]
|
||||
public virtual DerBitString IssuerUID
|
||||
{
|
||||
[Token(Token = "0x600C8AD")]
|
||||
[Address(RVA = "0x415290", Offset = "0x414090", VA = "0x180415290", Slot = "13")]
|
||||
get
|
||||
{
|
||||
return this.issuerUID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F77 RID: 8055
|
||||
// (get) Token: 0x0600C8AE RID: 51374 RVA: 0x002DF748 File Offset: 0x002DD948
|
||||
[Token(Token = "0x17001F77")]
|
||||
public virtual DerBitString SubjectUID
|
||||
{
|
||||
[Token(Token = "0x600C8AE")]
|
||||
[Address(RVA = "0x423D40", Offset = "0x422B40", VA = "0x180423D40", Slot = "14")]
|
||||
get
|
||||
{
|
||||
return this.subjectUID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F78 RID: 8056
|
||||
// (get) Token: 0x0600C8AF RID: 51375 RVA: 0x002DF75C File Offset: 0x002DD95C
|
||||
[Token(Token = "0x17001F78")]
|
||||
public virtual X509Extensions Extensions
|
||||
{
|
||||
[Token(Token = "0x600C8AF")]
|
||||
[Address(RVA = "0x423DE0", Offset = "0x422BE0", VA = "0x180423DE0", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return this.extensions;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B0 RID: 51376 RVA: 0x002DF770 File Offset: 0x002DD970
|
||||
[Token(Token = "0x600C8B0")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8B0)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.CertTemplate::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(CertTemplate::seq, ldloc:CertTemplate(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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04008005 RID: 32773
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008005")]
|
||||
private readonly Asn1Sequence seq;
|
||||
|
||||
// Token: 0x04008006 RID: 32774
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008006")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04008007 RID: 32775
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008007")]
|
||||
private readonly DerInteger serialNumber;
|
||||
|
||||
// Token: 0x04008008 RID: 32776
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4008008")]
|
||||
private readonly AlgorithmIdentifier signingAlg;
|
||||
|
||||
// Token: 0x04008009 RID: 32777
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4008009")]
|
||||
private readonly X509Name issuer;
|
||||
|
||||
// Token: 0x0400800A RID: 32778
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400800A")]
|
||||
private readonly OptionalValidity validity;
|
||||
|
||||
// Token: 0x0400800B RID: 32779
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400800B")]
|
||||
private readonly X509Name subject;
|
||||
|
||||
// Token: 0x0400800C RID: 32780
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400800C")]
|
||||
private readonly SubjectPublicKeyInfo publicKey;
|
||||
|
||||
// Token: 0x0400800D RID: 32781
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400800D")]
|
||||
private readonly DerBitString issuerUID;
|
||||
|
||||
// Token: 0x0400800E RID: 32782
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400800E")]
|
||||
private readonly DerBitString subjectUID;
|
||||
|
||||
// Token: 0x0400800F RID: 32783
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400800F")]
|
||||
private readonly X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
+216
@@ -0,0 +1,216 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F08 RID: 7944
|
||||
[Token(Token = "0x2001F08")]
|
||||
public class CertTemplateBuilder
|
||||
{
|
||||
// Token: 0x0600C8B1 RID: 51377 RVA: 0x002DF784 File Offset: 0x002DD984
|
||||
[Token(Token = "0x600C8B1")]
|
||||
[Address(RVA = "0x1872020", Offset = "0x1870E20", VA = "0x181872020", Slot = "4")]
|
||||
public virtual CertTemplateBuilder SetVersion(int ver)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(ver);
|
||||
this.version = derInteger;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B2 RID: 51378 RVA: 0x002DF7A0 File Offset: 0x002DD9A0
|
||||
[Token(Token = "0x600C8B2")]
|
||||
[Address(RVA = "0x1871FF0", Offset = "0x1870DF0", VA = "0x181871FF0", Slot = "5")]
|
||||
public virtual CertTemplateBuilder SetSerialNumber(DerInteger ser)
|
||||
{
|
||||
this.serialNumber = ser;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B3 RID: 51379 RVA: 0x002DF7B8 File Offset: 0x002DD9B8
|
||||
[Token(Token = "0x600C8B3")]
|
||||
[Address(RVA = "0x1872000", Offset = "0x1870E00", VA = "0x181872000", Slot = "6")]
|
||||
public virtual CertTemplateBuilder SetSigningAlg(AlgorithmIdentifier aid)
|
||||
{
|
||||
this.signingAlg = aid;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B4 RID: 51380 RVA: 0x002DF7D0 File Offset: 0x002DD9D0
|
||||
[Token(Token = "0x600C8B4")]
|
||||
[Address(RVA = "0x1871FD0", Offset = "0x1870DD0", VA = "0x181871FD0", Slot = "7")]
|
||||
public virtual CertTemplateBuilder SetIssuer(X509Name name)
|
||||
{
|
||||
this.issuer = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B5 RID: 51381 RVA: 0x002DF7E8 File Offset: 0x002DD9E8
|
||||
[Token(Token = "0x600C8B5")]
|
||||
[Address(RVA = "0xBED9A0", Offset = "0xBEC7A0", VA = "0x180BED9A0", Slot = "8")]
|
||||
public virtual CertTemplateBuilder SetValidity(OptionalValidity v)
|
||||
{
|
||||
this.validity = v;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B6 RID: 51382 RVA: 0x002DF800 File Offset: 0x002DDA00
|
||||
[Token(Token = "0x600C8B6")]
|
||||
[Address(RVA = "0x14A6770", Offset = "0x14A5570", VA = "0x1814A6770", Slot = "9")]
|
||||
public virtual CertTemplateBuilder SetSubject(X509Name name)
|
||||
{
|
||||
this.subject = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B7 RID: 51383 RVA: 0x002DF818 File Offset: 0x002DDA18
|
||||
[Token(Token = "0x600C8B7")]
|
||||
[Address(RVA = "0x1871FE0", Offset = "0x1870DE0", VA = "0x181871FE0", Slot = "10")]
|
||||
public virtual CertTemplateBuilder SetPublicKey(SubjectPublicKeyInfo spki)
|
||||
{
|
||||
this.publicKey = spki;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B8 RID: 51384 RVA: 0x002DF830 File Offset: 0x002DDA30
|
||||
[Token(Token = "0x600C8B8")]
|
||||
[Address(RVA = "0x1871FC0", Offset = "0x1870DC0", VA = "0x181871FC0", Slot = "11")]
|
||||
public virtual CertTemplateBuilder SetIssuerUID(DerBitString uid)
|
||||
{
|
||||
this.issuerUID = uid;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8B9 RID: 51385 RVA: 0x002DF848 File Offset: 0x002DDA48
|
||||
[Token(Token = "0x600C8B9")]
|
||||
[Address(RVA = "0x1872010", Offset = "0x1870E10", VA = "0x181872010", Slot = "12")]
|
||||
public virtual CertTemplateBuilder SetSubjectUID(DerBitString uid)
|
||||
{
|
||||
this.subjectUID = uid;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8BA RID: 51386 RVA: 0x002DF860 File Offset: 0x002DDA60
|
||||
[Token(Token = "0x600C8BA")]
|
||||
[Address(RVA = "0x1871FB0", Offset = "0x1870DB0", VA = "0x181871FB0", Slot = "13")]
|
||||
public virtual CertTemplateBuilder SetExtensions(X509Extensions extens)
|
||||
{
|
||||
this.extensions = extens;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8BB RID: 51387 RVA: 0x002DF878 File Offset: 0x002DDA78
|
||||
[Token(Token = "0x600C8BB")]
|
||||
[Address(RVA = "0x1871D10", Offset = "0x1870B10", VA = "0x181871D10", Slot = "14")]
|
||||
public virtual CertTemplate Build()
|
||||
{
|
||||
DerInteger derInteger = this.version;
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
this.AddOptional(asn1EncodableVector, num2, num != 0, derInteger);
|
||||
DerInteger derInteger2 = this.serialNumber;
|
||||
int num3 = 0;
|
||||
this.AddOptional(asn1EncodableVector, 1, num3 != 0, derInteger2);
|
||||
AlgorithmIdentifier algorithmIdentifier = this.signingAlg;
|
||||
int num4 = 0;
|
||||
this.AddOptional(asn1EncodableVector, 2, num4 != 0, algorithmIdentifier);
|
||||
X509Name x509Name = this.issuer;
|
||||
this.AddOptional(asn1EncodableVector, 3, true, x509Name);
|
||||
OptionalValidity optionalValidity = this.validity;
|
||||
int num5 = 0;
|
||||
this.AddOptional(asn1EncodableVector, 4, num5 != 0, optionalValidity);
|
||||
X509Name x509Name2 = this.subject;
|
||||
this.AddOptional(asn1EncodableVector, 5, true, x509Name2);
|
||||
SubjectPublicKeyInfo subjectPublicKeyInfo = this.publicKey;
|
||||
int num6 = 0;
|
||||
this.AddOptional(asn1EncodableVector, 6, num6 != 0, subjectPublicKeyInfo);
|
||||
DerBitString derBitString = this.issuerUID;
|
||||
int num7 = 0;
|
||||
this.AddOptional(asn1EncodableVector, 7, num7 != 0, derBitString);
|
||||
DerBitString derBitString2 = this.subjectUID;
|
||||
int num8 = 0;
|
||||
this.AddOptional(asn1EncodableVector, 8, num8 != 0, derBitString2);
|
||||
X509Extensions x509Extensions = this.extensions;
|
||||
int num9 = 0;
|
||||
this.AddOptional(asn1EncodableVector, 9, num9 != 0, x509Extensions);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
if (derSequence != 0 && derSequence == 0)
|
||||
{
|
||||
CertTemplate certTemplate = new CertTemplate(Asn1Sequence.GetInstance(derSequence));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8BC RID: 51388 RVA: 0x002DF990 File Offset: 0x002DDB90
|
||||
[Token(Token = "0x600C8BC")]
|
||||
[Address(RVA = "0x1871C00", Offset = "0x1870A00", VA = "0x181871C00")]
|
||||
private void AddOptional(Asn1EncodableVector v, int tagNo, bool isExplicit, Asn1Encodable obj)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerTaggedObject derTaggedObject;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
v.Add(array);
|
||||
}
|
||||
|
||||
// Token: 0x0600C8BD RID: 51389 RVA: 0x002DF9C0 File Offset: 0x002DDBC0
|
||||
[Token(Token = "0x600C8BD")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
public CertTemplateBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04008010 RID: 32784
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008010")]
|
||||
private DerInteger version;
|
||||
|
||||
// Token: 0x04008011 RID: 32785
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008011")]
|
||||
private DerInteger serialNumber;
|
||||
|
||||
// Token: 0x04008012 RID: 32786
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008012")]
|
||||
private AlgorithmIdentifier signingAlg;
|
||||
|
||||
// Token: 0x04008013 RID: 32787
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4008013")]
|
||||
private X509Name issuer;
|
||||
|
||||
// Token: 0x04008014 RID: 32788
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4008014")]
|
||||
private OptionalValidity validity;
|
||||
|
||||
// Token: 0x04008015 RID: 32789
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4008015")]
|
||||
private X509Name subject;
|
||||
|
||||
// Token: 0x04008016 RID: 32790
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4008016")]
|
||||
private SubjectPublicKeyInfo publicKey;
|
||||
|
||||
// Token: 0x04008017 RID: 32791
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4008017")]
|
||||
private DerBitString issuerUID;
|
||||
|
||||
// Token: 0x04008018 RID: 32792
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x4008018")]
|
||||
private DerBitString subjectUID;
|
||||
|
||||
// Token: 0x04008019 RID: 32793
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x4008019")]
|
||||
private X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F09 RID: 7945
|
||||
[Token(Token = "0x2001F09")]
|
||||
public class Controls : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C8BE RID: 51390 RVA: 0x002DF9D4 File Offset: 0x002DDBD4
|
||||
[Token(Token = "0x600C8BE")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
private Controls(Asn1Sequence seq)
|
||||
{
|
||||
this.content = seq;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8BF RID: 51391 RVA: 0x002DF9F0 File Offset: 0x002DDBF0
|
||||
[Token(Token = "0x600C8BF")]
|
||||
[Address(RVA = "0x1874A60", Offset = "0x1873860", VA = "0x181874A60")]
|
||||
public static Controls GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8BF)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.Controls BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.Controls::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_29:
|
||||
stloc:string(var_6_2F, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_47, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_6_2F)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8C0 RID: 51392 RVA: 0x002DFA48 File Offset: 0x002DDC48
|
||||
[Token(Token = "0x600C8C0")]
|
||||
[Address(RVA = "0x1874D60", Offset = "0x1873B60", VA = "0x181874D60")]
|
||||
public Controls(params AttributeTypeAndValue[] atvs)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(atvs);
|
||||
this.content = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8C1 RID: 51393 RVA: 0x002DFA6C File Offset: 0x002DDC6C
|
||||
[Token(Token = "0x600C8C1")]
|
||||
[Address(RVA = "0x1874C50", Offset = "0x1873A50", VA = "0x181874C50", Slot = "6")]
|
||||
public virtual AttributeTypeAndValue[] ToAttributeTypeAndValueArray()
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.content;
|
||||
Asn1Encodable asn1Encodable;
|
||||
AttributeTypeAndValue[] array = new AttributeTypeAndValue[asn1Encodable];
|
||||
int num = 0;
|
||||
if (num != array.Length)
|
||||
{
|
||||
Asn1SequenceParser parser = this.content.Parser;
|
||||
AttributeTypeAndValue attributeTypeAndValue;
|
||||
if (attributeTypeAndValue != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = attributeTypeAndValue;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8C2 RID: 51394 RVA: 0x002DFAB8 File Offset: 0x002DDCB8
|
||||
[Token(Token = "0x600C8C2")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8C2)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.Controls::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:Asn1Sequence(var_0_06, ldfld:Asn1Sequence(Controls::content, ldloc:Controls(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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0400801A RID: 32794
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400801A")]
|
||||
private readonly Asn1Sequence content;
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F0A RID: 7946
|
||||
[Token(Token = "0x2001F0A")]
|
||||
public abstract class CrmfObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600C8C3 RID: 51395 RVA: 0x002DFACC File Offset: 0x002DDCCC
|
||||
[Token(Token = "0x600C8C3")]
|
||||
[Address(RVA = "0x3F5100", Offset = "0x3F3F00", VA = "0x1803F5100")]
|
||||
protected CrmfObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400801B RID: 32795
|
||||
[Token(Token = "0x400801B")]
|
||||
public static readonly DerObjectIdentifier id_pkix = new DerObjectIdentifier("1.3.6.1.5.5.7");
|
||||
|
||||
// Token: 0x0400801C RID: 32796
|
||||
[Token(Token = "0x400801C")]
|
||||
public static readonly DerObjectIdentifier id_pkip = CrmfObjectIdentifiers.id_pkix.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400801D RID: 32797
|
||||
[Token(Token = "0x400801D")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl = CrmfObjectIdentifiers.id_pkip.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400801E RID: 32798
|
||||
[Token(Token = "0x400801E")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl_regToken = CrmfObjectIdentifiers.id_regCtrl.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x0400801F RID: 32799
|
||||
[Token(Token = "0x400801F")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl_authenticator = CrmfObjectIdentifiers.id_regCtrl.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04008020 RID: 32800
|
||||
[Token(Token = "0x4008020")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl_pkiPublicationInfo = CrmfObjectIdentifiers.id_regCtrl.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04008021 RID: 32801
|
||||
[Token(Token = "0x4008021")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl_pkiArchiveOptions = CrmfObjectIdentifiers.id_regCtrl.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x04008022 RID: 32802
|
||||
[Token(Token = "0x4008022")]
|
||||
public static readonly DerObjectIdentifier id_ct_encKeyWithID = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.21");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,178 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F0B RID: 7947
|
||||
[Token(Token = "0x2001F0B")]
|
||||
public class EncKeyWithID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C8C5 RID: 51397 RVA: 0x002DFB6C File Offset: 0x002DDD6C
|
||||
[Token(Token = "0x600C8C5")]
|
||||
[Address(RVA = "0x1888520", Offset = "0x1887320", VA = "0x181888520")]
|
||||
public static EncKeyWithID GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
Asn1SequenceParser parser = instance.Parser;
|
||||
EncKeyWithID encKeyWithID;
|
||||
PrivateKeyInfo privateKeyInfo;
|
||||
encKeyWithID.privKeyInfo = privateKeyInfo;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = instance.Parser;
|
||||
if (parser2 != 0 && parser2 != 0)
|
||||
{
|
||||
Asn1SequenceParser parser3 = instance.Parser;
|
||||
}
|
||||
Asn1SequenceParser parser4 = instance.Parser;
|
||||
}
|
||||
GeneralName generalName;
|
||||
encKeyWithID.identifier = generalName;
|
||||
return encKeyWithID;
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C8C6 RID: 51398 RVA: 0x002DFBE4 File Offset: 0x002DDDE4
|
||||
[Token(Token = "0x600C8C6")]
|
||||
[Address(RVA = "0x18888A0", Offset = "0x18876A0", VA = "0x1818888A0")]
|
||||
private EncKeyWithID(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
PrivateKeyInfo privateKeyInfo;
|
||||
this.privKeyInfo = privateKeyInfo;
|
||||
int num = 0;
|
||||
this.identifier = num;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8C7 RID: 51399 RVA: 0x002DFC38 File Offset: 0x002DDE38
|
||||
[Token(Token = "0x600C8C7")]
|
||||
[Address(RVA = "0x497CE0", Offset = "0x496AE0", VA = "0x180497CE0")]
|
||||
public EncKeyWithID(PrivateKeyInfo privKeyInfo)
|
||||
{
|
||||
this.privKeyInfo = privKeyInfo;
|
||||
this.identifier = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8C8 RID: 51400 RVA: 0x002DFC5C File Offset: 0x002DDE5C
|
||||
[Token(Token = "0x600C8C8")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public EncKeyWithID(PrivateKeyInfo privKeyInfo, DerUtf8String str)
|
||||
{
|
||||
this.privKeyInfo = privKeyInfo;
|
||||
this.identifier = str;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8C9 RID: 51401 RVA: 0x002DFC80 File Offset: 0x002DDE80
|
||||
[Token(Token = "0x600C8C9")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName)
|
||||
{
|
||||
this.privKeyInfo = privKeyInfo;
|
||||
this.identifier = generalName;
|
||||
}
|
||||
|
||||
// Token: 0x17001F79 RID: 8057
|
||||
// (get) Token: 0x0600C8CA RID: 51402 RVA: 0x002DFCA4 File Offset: 0x002DDEA4
|
||||
[Token(Token = "0x17001F79")]
|
||||
public virtual PrivateKeyInfo PrivateKey
|
||||
{
|
||||
[Token(Token = "0x600C8CA")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.privKeyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F7A RID: 8058
|
||||
// (get) Token: 0x0600C8CB RID: 51403 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17001F7A")]
|
||||
public virtual bool HasIdentifier
|
||||
{
|
||||
[Token(Token = "0x600C8CB")]
|
||||
[Address(RVA = "0x1227D50", Offset = "0x1226B50", VA = "0x181227D50", Slot = "7")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F7B RID: 8059
|
||||
// (get) Token: 0x0600C8CC RID: 51404 RVA: 0x002DFCB8 File Offset: 0x002DDEB8
|
||||
[Token(Token = "0x17001F7B")]
|
||||
public virtual bool IsIdentifierUtf8String
|
||||
{
|
||||
[Token(Token = "0x600C8CC")]
|
||||
[Address(RVA = "0x18889F0", Offset = "0x18877F0", VA = "0x1818889F0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable = this.identifier;
|
||||
if (asn1Encodable == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return asn1Encodable != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F7C RID: 8060
|
||||
// (get) Token: 0x0600C8CD RID: 51405 RVA: 0x002DFCE4 File Offset: 0x002DDEE4
|
||||
[Token(Token = "0x17001F7C")]
|
||||
public virtual Asn1Encodable Identifier
|
||||
{
|
||||
[Token(Token = "0x600C8CD")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.identifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8CE RID: 51406 RVA: 0x002DFCF8 File Offset: 0x002DDEF8
|
||||
[Token(Token = "0x600C8CE")]
|
||||
[Address(RVA = "0x1888730", Offset = "0x1887530", VA = "0x181888730", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
PrivateKeyInfo privateKeyInfo = this.privKeyInfo;
|
||||
if (privateKeyInfo != 0)
|
||||
{
|
||||
}
|
||||
array[0] = privateKeyInfo;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Encodable asn1Encodable = this.identifier;
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Encodable;
|
||||
asn1EncodableVector.AddOptional(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04008023 RID: 32803
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008023")]
|
||||
private readonly PrivateKeyInfo privKeyInfo;
|
||||
|
||||
// Token: 0x04008024 RID: 32804
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008024")]
|
||||
private readonly Asn1Encodable identifier;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F0C RID: 7948
|
||||
[Token(Token = "0x2001F0C")]
|
||||
public class EncryptedKey : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C8CF RID: 51407 RVA: 0x002DFD58 File Offset: 0x002DDF58
|
||||
[Token(Token = "0x600C8CF")]
|
||||
[Address(RVA = "0x1888A70", Offset = "0x1887870", VA = "0x181888A70")]
|
||||
public static EncryptedKey GetInstance(object o)
|
||||
{
|
||||
while (o != 0)
|
||||
{
|
||||
if (o != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (o != 0)
|
||||
{
|
||||
EncryptedKey encryptedKey;
|
||||
EnvelopedData envelopedData;
|
||||
encryptedKey.envelopedData = envelopedData;
|
||||
return encryptedKey;
|
||||
}
|
||||
if (o == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (o != 0)
|
||||
{
|
||||
EncryptedKey encryptedKey2;
|
||||
encryptedKey2.encryptedValue = o;
|
||||
return encryptedKey2;
|
||||
}
|
||||
}
|
||||
EncryptedValue encryptedValue;
|
||||
if (o != 0)
|
||||
{
|
||||
if (o == 0)
|
||||
{
|
||||
encryptedValue = new EncryptedValue(Asn1Sequence.GetInstance(o));
|
||||
}
|
||||
}
|
||||
EncryptedKey encryptedKey3;
|
||||
encryptedKey3.encryptedValue = encryptedValue;
|
||||
return encryptedKey3;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8D0 RID: 51408 RVA: 0x002DFDD0 File Offset: 0x002DDFD0
|
||||
[Token(Token = "0x600C8D0")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public EncryptedKey(EnvelopedData envelopedData)
|
||||
{
|
||||
this.envelopedData = envelopedData;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8D1 RID: 51409 RVA: 0x002DFDEC File Offset: 0x002DDFEC
|
||||
[Token(Token = "0x600C8D1")]
|
||||
[Address(RVA = "0x4F28D0", Offset = "0x4F16D0", VA = "0x1804F28D0")]
|
||||
public EncryptedKey(EncryptedValue encryptedValue)
|
||||
{
|
||||
this.encryptedValue = encryptedValue;
|
||||
}
|
||||
|
||||
// Token: 0x17001F7D RID: 8061
|
||||
// (get) Token: 0x0600C8D2 RID: 51410 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17001F7D")]
|
||||
public virtual bool IsEncryptedValue
|
||||
{
|
||||
[Token(Token = "0x600C8D2")]
|
||||
[Address(RVA = "0x1227D50", Offset = "0x1226B50", VA = "0x181227D50", Slot = "6")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F7E RID: 8062
|
||||
// (get) Token: 0x0600C8D3 RID: 51411 RVA: 0x002DFE08 File Offset: 0x002DE008
|
||||
[Token(Token = "0x17001F7E")]
|
||||
public virtual Asn1Encodable Value
|
||||
{
|
||||
[Token(Token = "0x600C8D3")]
|
||||
[Address(RVA = "0x1888E30", Offset = "0x1887C30", VA = "0x181888E30", Slot = "7")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8D3)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.EncryptedKey::get_Value()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_00:
|
||||
brtrue(IL_00, cne:bool(ldfld:EncryptedValue(EncryptedKey::encryptedValue, ldloc:EncryptedKey(this)), ldc.i4:int32[exp:EncryptedValue](0)))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8D4 RID: 51412 RVA: 0x002DFE20 File Offset: 0x002DE020
|
||||
[Token(Token = "0x600C8D4")]
|
||||
[Address(RVA = "0x1888DA0", Offset = "0x1887BA0", VA = "0x181888DA0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
EncryptedValue encryptedValue = this.encryptedValue;
|
||||
if (encryptedValue == 0)
|
||||
{
|
||||
EnvelopedData envelopedData = this.envelopedData;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, envelopedData);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
}
|
||||
return encryptedValue.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04008025 RID: 32805
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008025")]
|
||||
private readonly EnvelopedData envelopedData;
|
||||
|
||||
// Token: 0x04008026 RID: 32806
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008026")]
|
||||
private readonly EncryptedValue encryptedValue;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,256 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F0D RID: 7949
|
||||
[Token(Token = "0x2001F0D")]
|
||||
public class EncryptedValue : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C8D5 RID: 51413 RVA: 0x002DFE58 File Offset: 0x002DE058
|
||||
[Token(Token = "0x600C8D5")]
|
||||
[Address(RVA = "0x18891C0", Offset = "0x1887FC0", VA = "0x1818891C0")]
|
||||
private EncryptedValue(Asn1Sequence seq)
|
||||
{
|
||||
int num;
|
||||
Asn1SequenceParser parser2;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
num = 0;
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser == 0 || parser == 0)
|
||||
{
|
||||
goto IL_7B;
|
||||
}
|
||||
parser2 = seq.Parser;
|
||||
}
|
||||
while (parser2 == 0);
|
||||
if (num != 0)
|
||||
{
|
||||
if (num != 0)
|
||||
{
|
||||
if (num != 0)
|
||||
{
|
||||
if (num != 0)
|
||||
{
|
||||
if (num != 1)
|
||||
{
|
||||
goto IL_77;
|
||||
}
|
||||
num++;
|
||||
Asn1OctetString asn1OctetString;
|
||||
this.valueHint = asn1OctetString;
|
||||
}
|
||||
num++;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.keyAlg = algorithmIdentifier;
|
||||
}
|
||||
num++;
|
||||
DerBitString derBitString;
|
||||
this.encSymmKey = derBitString;
|
||||
}
|
||||
num++;
|
||||
AlgorithmIdentifier algorithmIdentifier2;
|
||||
this.symmAlg = algorithmIdentifier2;
|
||||
}
|
||||
AlgorithmIdentifier algorithmIdentifier3;
|
||||
this.intendedAlg = algorithmIdentifier3;
|
||||
IL_77:
|
||||
num++;
|
||||
IL_7B:
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
DerBitString derBitString2;
|
||||
this.encValue = derBitString2;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8D6 RID: 51414 RVA: 0x002DFEF8 File Offset: 0x002DE0F8
|
||||
[Token(Token = "0x600C8D6")]
|
||||
[Address(RVA = "0x1888F40", Offset = "0x1887D40", VA = "0x181888F40")]
|
||||
public static EncryptedValue GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
return new EncryptedValue(instance);
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8D7 RID: 51415 RVA: 0x002DFF2C File Offset: 0x002DE12C
|
||||
[Token(Token = "0x600C8D7")]
|
||||
[Address(RVA = "0x1889410", Offset = "0x1888210", VA = "0x181889410")]
|
||||
public EncryptedValue(AlgorithmIdentifier intendedAlg, AlgorithmIdentifier symmAlg, DerBitString encSymmKey, AlgorithmIdentifier keyAlg, Asn1OctetString valueHint, DerBitString encValue)
|
||||
{
|
||||
this.keyAlg = 0;
|
||||
this.intendedAlg = intendedAlg;
|
||||
this.symmAlg = symmAlg;
|
||||
this.valueHint = 0;
|
||||
this.encSymmKey = encSymmKey;
|
||||
this.encValue = 0;
|
||||
}
|
||||
|
||||
// Token: 0x17001F7F RID: 8063
|
||||
// (get) Token: 0x0600C8D8 RID: 51416 RVA: 0x002DFF74 File Offset: 0x002DE174
|
||||
[Token(Token = "0x17001F7F")]
|
||||
public virtual AlgorithmIdentifier IntendedAlg
|
||||
{
|
||||
[Token(Token = "0x600C8D8")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.intendedAlg;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F80 RID: 8064
|
||||
// (get) Token: 0x0600C8D9 RID: 51417 RVA: 0x002DFF88 File Offset: 0x002DE188
|
||||
[Token(Token = "0x17001F80")]
|
||||
public virtual AlgorithmIdentifier SymmAlg
|
||||
{
|
||||
[Token(Token = "0x600C8D9")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.symmAlg;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F81 RID: 8065
|
||||
// (get) Token: 0x0600C8DA RID: 51418 RVA: 0x002DFF9C File Offset: 0x002DE19C
|
||||
[Token(Token = "0x17001F81")]
|
||||
public virtual DerBitString EncSymmKey
|
||||
{
|
||||
[Token(Token = "0x600C8DA")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.encSymmKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F82 RID: 8066
|
||||
// (get) Token: 0x0600C8DB RID: 51419 RVA: 0x002DFFB0 File Offset: 0x002DE1B0
|
||||
[Token(Token = "0x17001F82")]
|
||||
public virtual AlgorithmIdentifier KeyAlg
|
||||
{
|
||||
[Token(Token = "0x600C8DB")]
|
||||
[Address(RVA = "0x3F63E0", Offset = "0x3F51E0", VA = "0x1803F63E0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.keyAlg;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F83 RID: 8067
|
||||
// (get) Token: 0x0600C8DC RID: 51420 RVA: 0x002DFFC4 File Offset: 0x002DE1C4
|
||||
[Token(Token = "0x17001F83")]
|
||||
public virtual Asn1OctetString ValueHint
|
||||
{
|
||||
[Token(Token = "0x600C8DC")]
|
||||
[Address(RVA = "0x3FA180", Offset = "0x3F8F80", VA = "0x1803FA180", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.valueHint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F84 RID: 8068
|
||||
// (get) Token: 0x0600C8DD RID: 51421 RVA: 0x002DFFD8 File Offset: 0x002DE1D8
|
||||
[Token(Token = "0x17001F84")]
|
||||
public virtual DerBitString EncValue
|
||||
{
|
||||
[Token(Token = "0x600C8DD")]
|
||||
[Address(RVA = "0x3F63D0", Offset = "0x3F51D0", VA = "0x1803F63D0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return this.encValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8DE RID: 51422 RVA: 0x002DFFEC File Offset: 0x002DE1EC
|
||||
[Token(Token = "0x600C8DE")]
|
||||
[Address(RVA = "0x1889040", Offset = "0x1887E40", VA = "0x181889040", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier = this.intendedAlg;
|
||||
int num = 0;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
this.AddOptional(asn1EncodableVector, num, algorithmIdentifier);
|
||||
AlgorithmIdentifier algorithmIdentifier2 = this.symmAlg;
|
||||
this.AddOptional(asn1EncodableVector, 1, algorithmIdentifier2);
|
||||
DerBitString derBitString = this.encSymmKey;
|
||||
this.AddOptional(asn1EncodableVector, 2, derBitString);
|
||||
AlgorithmIdentifier algorithmIdentifier3 = this.keyAlg;
|
||||
this.AddOptional(asn1EncodableVector, 3, algorithmIdentifier3);
|
||||
Asn1OctetString asn1OctetString = this.valueHint;
|
||||
this.AddOptional(asn1EncodableVector, 4, asn1OctetString);
|
||||
Asn1Encodable[] array = new Asn1Encodable[0];
|
||||
DerBitString derBitString2 = this.encValue;
|
||||
if (derBitString2 != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derBitString2;
|
||||
asn1EncodableVector.Add(array);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C8DF RID: 51423 RVA: 0x002E008C File Offset: 0x002DE28C
|
||||
[Token(Token = "0x600C8DF")]
|
||||
[Address(RVA = "0x1888E40", Offset = "0x1887C40", VA = "0x181888E40")]
|
||||
private void AddOptional(Asn1EncodableVector v, int tagNo, Asn1Encodable obj)
|
||||
{
|
||||
if (obj != 0)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, tagNo, obj);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
v.Add(array);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x04008027 RID: 32807
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008027")]
|
||||
private readonly AlgorithmIdentifier intendedAlg;
|
||||
|
||||
// Token: 0x04008028 RID: 32808
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008028")]
|
||||
private readonly AlgorithmIdentifier symmAlg;
|
||||
|
||||
// Token: 0x04008029 RID: 32809
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008029")]
|
||||
private readonly DerBitString encSymmKey;
|
||||
|
||||
// Token: 0x0400802A RID: 32810
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400802A")]
|
||||
private readonly AlgorithmIdentifier keyAlg;
|
||||
|
||||
// Token: 0x0400802B RID: 32811
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x400802B")]
|
||||
private readonly Asn1OctetString valueHint;
|
||||
|
||||
// Token: 0x0400802C RID: 32812
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x400802C")]
|
||||
private readonly DerBitString encValue;
|
||||
}
|
||||
}
|
||||
+161
@@ -0,0 +1,161 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F0E RID: 7950
|
||||
[Token(Token = "0x2001F0E")]
|
||||
public class OptionalValidity : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C8E0 RID: 51424 RVA: 0x002E00C8 File Offset: 0x002DE2C8
|
||||
[Token(Token = "0x600C8E0")]
|
||||
[Address(RVA = "0x188B370", Offset = "0x188A170", VA = "0x18188B370")]
|
||||
private OptionalValidity(Asn1Sequence seq)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
base..ctor();
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
Time instance2;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
if (num < enumerator)
|
||||
{
|
||||
num += num;
|
||||
num++;
|
||||
}
|
||||
ulong num2;
|
||||
num2 += (ulong)1L;
|
||||
if (num == 0)
|
||||
{
|
||||
goto IL_5C;
|
||||
}
|
||||
ulong num3;
|
||||
Time instance = Time.GetInstance(num, num3 != 0UL);
|
||||
this.notAfter = instance;
|
||||
instance2 = Time.GetInstance(num, num3 != 0UL);
|
||||
this.notBefore = instance2;
|
||||
}
|
||||
if (instance2 != 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return;
|
||||
IL_5C:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C8E1 RID: 51425 RVA: 0x002E013C File Offset: 0x002DE33C
|
||||
[Token(Token = "0x600C8E1")]
|
||||
[Address(RVA = "0x188B060", Offset = "0x1889E60", VA = "0x18188B060")]
|
||||
public static OptionalValidity GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8E1)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.OptionalValidity BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.OptionalValidity::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_2:
|
||||
brtrue(IL_00, ceq:bool(ldloc:object(obj), ldc.i4:int32[exp:object](0)))
|
||||
}
|
||||
|
||||
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.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.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.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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001F85 RID: 8069
|
||||
// (get) Token: 0x0600C8E2 RID: 51426 RVA: 0x002E016C File Offset: 0x002DE36C
|
||||
[Token(Token = "0x17001F85")]
|
||||
public virtual Time NotBefore
|
||||
{
|
||||
[Token(Token = "0x600C8E2")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.notBefore;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F86 RID: 8070
|
||||
// (get) Token: 0x0600C8E3 RID: 51427 RVA: 0x002E0180 File Offset: 0x002DE380
|
||||
[Token(Token = "0x17001F86")]
|
||||
public virtual Time NotAfter
|
||||
{
|
||||
[Token(Token = "0x600C8E3")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.notAfter;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8E4 RID: 51428 RVA: 0x002E0194 File Offset: 0x002DE394
|
||||
[Token(Token = "0x600C8E4")]
|
||||
[Address(RVA = "0x188B160", Offset = "0x1889F60", VA = "0x18188B160", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.notBefore != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Time time = this.notBefore;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, time);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
if (this.notAfter != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Time time2 = this.notAfter;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(16777216 != 0, 16777216, time2);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400802D RID: 32813
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400802D")]
|
||||
private readonly Time notBefore;
|
||||
|
||||
// Token: 0x0400802E RID: 32814
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400802E")]
|
||||
private readonly Time notAfter;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,136 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F11 RID: 7953
|
||||
[Token(Token = "0x2001F11")]
|
||||
public class PKMacValue : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C8F2 RID: 51442 RVA: 0x002E0594 File Offset: 0x002DE794
|
||||
[Token(Token = "0x600C8F2")]
|
||||
[Address(RVA = "0x188B9D0", Offset = "0x188A7D0", VA = "0x18188B9D0")]
|
||||
private PKMacValue(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.algID = algorithmIdentifier;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerBitString derBitString;
|
||||
this.macValue = derBitString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8F3 RID: 51443 RVA: 0x002E05CC File Offset: 0x002DE7CC
|
||||
[Token(Token = "0x600C8F3")]
|
||||
[Address(RVA = "0x188B590", Offset = "0x188A390", VA = "0x18188B590")]
|
||||
public static PKMacValue GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8F3)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PKMacValue BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PKMacValue::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2E:
|
||||
stloc:string(var_8_34, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_9_4C, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_8_34)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8F4 RID: 51444 RVA: 0x002E0628 File Offset: 0x002DE828
|
||||
[Token(Token = "0x600C8F4")]
|
||||
[Address(RVA = "0x188B570", Offset = "0x188A370", VA = "0x18188B570")]
|
||||
public static PKMacValue GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return PKMacValue.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C8F5 RID: 51445 RVA: 0x002E0644 File Offset: 0x002DE844
|
||||
[Token(Token = "0x600C8F5")]
|
||||
[Address(RVA = "0x188B910", Offset = "0x188A710", VA = "0x18188B910")]
|
||||
public PKMacValue(PbmParameter pbmParams, DerBitString macValue)
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(CmpObjectIdentifiers.passwordBasedMac, pbmParams);
|
||||
base..ctor();
|
||||
this.algID = algorithmIdentifier;
|
||||
this.macValue = macValue;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8F6 RID: 51446 RVA: 0x002E0674 File Offset: 0x002DE874
|
||||
[Token(Token = "0x600C8F6")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public PKMacValue(AlgorithmIdentifier algID, DerBitString macValue)
|
||||
{
|
||||
this.algID = algID;
|
||||
this.macValue = macValue;
|
||||
}
|
||||
|
||||
// Token: 0x17001F8A RID: 8074
|
||||
// (get) Token: 0x0600C8F7 RID: 51447 RVA: 0x002E0698 File Offset: 0x002DE898
|
||||
[Token(Token = "0x17001F8A")]
|
||||
public virtual AlgorithmIdentifier AlgID
|
||||
{
|
||||
[Token(Token = "0x600C8F7")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.algID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F8B RID: 8075
|
||||
// (get) Token: 0x0600C8F8 RID: 51448 RVA: 0x002E06AC File Offset: 0x002DE8AC
|
||||
[Token(Token = "0x17001F8B")]
|
||||
public virtual DerBitString MacValue
|
||||
{
|
||||
[Token(Token = "0x600C8F8")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.macValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8F9 RID: 51449 RVA: 0x002E06C0 File Offset: 0x002DE8C0
|
||||
[Token(Token = "0x600C8F9")]
|
||||
[Address(RVA = "0x188B800", Offset = "0x188A600", VA = "0x18188B800", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
AlgorithmIdentifier algorithmIdentifier = this.algID;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = algorithmIdentifier;
|
||||
DerBitString derBitString = this.macValue;
|
||||
if (derBitString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derBitString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04008035 RID: 32821
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008035")]
|
||||
private readonly AlgorithmIdentifier algID;
|
||||
|
||||
// Token: 0x04008036 RID: 32822
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008036")]
|
||||
private readonly DerBitString macValue;
|
||||
}
|
||||
}
|
||||
+193
@@ -0,0 +1,193 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F0F RID: 7951
|
||||
[Token(Token = "0x2001F0F")]
|
||||
public class PkiArchiveOptions : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C8E5 RID: 51429 RVA: 0x002E022C File Offset: 0x002DE42C
|
||||
[Token(Token = "0x600C8E5")]
|
||||
[Address(RVA = "0x188BA90", Offset = "0x188A890", VA = "0x18188BA90")]
|
||||
public static PkiArchiveOptions GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (obj != 0)
|
||||
{
|
||||
PkiArchiveOptions pkiArchiveOptions;
|
||||
if (pkiArchiveOptions != 0)
|
||||
{
|
||||
if (pkiArchiveOptions != 0 && pkiArchiveOptions != (ulong)1L)
|
||||
{
|
||||
IL_68:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
Asn1Object asn1Object;
|
||||
EncryptedKey instance = EncryptedKey.GetInstance(asn1Object);
|
||||
pkiArchiveOptions.value = instance;
|
||||
return pkiArchiveOptions;
|
||||
}
|
||||
}
|
||||
else if (obj != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
string typeName = Platform.GetTypeName(obj);
|
||||
string text = "Invalid object: " + typeName;
|
||||
ArgumentException ex = new ArgumentException(text, "obj");
|
||||
goto IL_68;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8E6 RID: 51430 RVA: 0x002E02C8 File Offset: 0x002DE4C8
|
||||
[Token(Token = "0x600C8E6")]
|
||||
[Address(RVA = "0x188BF90", Offset = "0x188AD90", VA = "0x18188BF90")]
|
||||
private PkiArchiveOptions(Asn1TaggedObject tagged)
|
||||
{
|
||||
int tagNo = tagged.tagNo;
|
||||
if (tagNo == 0)
|
||||
{
|
||||
EncryptedKey instance = EncryptedKey.GetInstance(tagged.GetObject());
|
||||
this.value = instance;
|
||||
return;
|
||||
}
|
||||
if (tagNo == 0)
|
||||
{
|
||||
int num = 0;
|
||||
Asn1OctetString instance2 = Asn1OctetString.GetInstance(tagged, num != 0);
|
||||
this.value = instance2;
|
||||
return;
|
||||
}
|
||||
if (tagNo == 1)
|
||||
{
|
||||
int num2 = 0;
|
||||
DerBoolean instance3 = DerBoolean.GetInstance(tagged, num2 != 0);
|
||||
this.value = instance3;
|
||||
return;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C8E7 RID: 51431 RVA: 0x002E0358 File Offset: 0x002DE558
|
||||
[Token(Token = "0x600C8E7")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public PkiArchiveOptions(EncryptedKey encKey)
|
||||
{
|
||||
this.value = encKey;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8E8 RID: 51432 RVA: 0x002E0374 File Offset: 0x002DE574
|
||||
[Token(Token = "0x600C8E8")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public PkiArchiveOptions(Asn1OctetString keyGenParameters)
|
||||
{
|
||||
this.value = keyGenParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8E9 RID: 51433 RVA: 0x002E0390 File Offset: 0x002DE590
|
||||
[Token(Token = "0x600C8E9")]
|
||||
[Address(RVA = "0x188BE90", Offset = "0x188AC90", VA = "0x18188BE90")]
|
||||
public PkiArchiveOptions(bool archiveRemGenPrivKey)
|
||||
{
|
||||
if (archiveRemGenPrivKey)
|
||||
{
|
||||
DerBoolean @true = DerBoolean.True;
|
||||
this.value = @true;
|
||||
return;
|
||||
}
|
||||
DerBoolean @false = DerBoolean.False;
|
||||
this.value = @false;
|
||||
}
|
||||
|
||||
// Token: 0x17001F87 RID: 8071
|
||||
// (get) Token: 0x0600C8EA RID: 51434 RVA: 0x002E03C4 File Offset: 0x002DE5C4
|
||||
[Token(Token = "0x17001F87")]
|
||||
public virtual int Type
|
||||
{
|
||||
[Token(Token = "0x600C8EA")]
|
||||
[Address(RVA = "0x188C0D0", Offset = "0x188AED0", VA = "0x18188C0D0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable = this.value;
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
if (asn1Encodable == 0 || asn1Encodable == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F88 RID: 8072
|
||||
// (get) Token: 0x0600C8EB RID: 51435 RVA: 0x002E03F0 File Offset: 0x002DE5F0
|
||||
[Token(Token = "0x17001F88")]
|
||||
public virtual Asn1Encodable Value
|
||||
{
|
||||
[Token(Token = "0x600C8EB")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8EC RID: 51436 RVA: 0x002E0404 File Offset: 0x002DE604
|
||||
[Token(Token = "0x600C8EC")]
|
||||
[Address(RVA = "0x188BD70", Offset = "0x188AB70", VA = "0x18188BD70", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8EC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PkiArchiveOptions::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:DerTaggedObject(var_5_39, newobj:DerTaggedObject(DerTaggedObject::.ctor, ldloc:int32[exp:bool](var_6), ldc.i4:int32(2), ldloc:Asn1Encodable(var_0_06)))
|
||||
stloc:int32(var_6, ldc.i4:int32(0))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0400802F RID: 32815
|
||||
[Token(Token = "0x400802F")]
|
||||
public const int encryptedPrivKey = 0;
|
||||
|
||||
// Token: 0x04008030 RID: 32816
|
||||
[Token(Token = "0x4008030")]
|
||||
public const int keyGenParameters = 1;
|
||||
|
||||
// Token: 0x04008031 RID: 32817
|
||||
[Token(Token = "0x4008031")]
|
||||
public const int archiveRemGenPrivKey = 2;
|
||||
|
||||
// Token: 0x04008032 RID: 32818
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008032")]
|
||||
private readonly Asn1Encodable value;
|
||||
}
|
||||
}
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F10 RID: 7952
|
||||
[Token(Token = "0x2001F10")]
|
||||
public class PkiPublicationInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C8ED RID: 51437 RVA: 0x002E0450 File Offset: 0x002DE650
|
||||
[Token(Token = "0x600C8ED")]
|
||||
[Address(RVA = "0x188C610", Offset = "0x188B410", VA = "0x18188C610")]
|
||||
private PkiPublicationInfo(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.action = derInteger;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.pubInfos = asn1Sequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8EE RID: 51438 RVA: 0x002E0488 File Offset: 0x002DE688
|
||||
[Token(Token = "0x600C8EE")]
|
||||
[Address(RVA = "0x188C1A0", Offset = "0x188AFA0", VA = "0x18188C1A0")]
|
||||
public static PkiPublicationInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8EE)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PkiPublicationInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PkiPublicationInfo::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_32:
|
||||
stloc:string(var_8_38, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_9_50, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_8_38)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001F89 RID: 8073
|
||||
// (get) Token: 0x0600C8EF RID: 51439 RVA: 0x002E04E8 File Offset: 0x002DE6E8
|
||||
[Token(Token = "0x17001F89")]
|
||||
public virtual DerInteger Action
|
||||
{
|
||||
[Token(Token = "0x600C8EF")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.action;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8F0 RID: 51440 RVA: 0x002E04FC File Offset: 0x002DE6FC
|
||||
[Token(Token = "0x600C8F0")]
|
||||
[Address(RVA = "0x188C3E0", Offset = "0x188B1E0", VA = "0x18188C3E0", Slot = "7")]
|
||||
public virtual SinglePubInfo[] GetPubInfos()
|
||||
{
|
||||
if (this.pubInfos != 0)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
SinglePubInfo[] array = new SinglePubInfo[asn1Encodable];
|
||||
int num = 0;
|
||||
if (num != array.Length)
|
||||
{
|
||||
Asn1SequenceParser parser = this.pubInfos.Parser;
|
||||
SinglePubInfo singlePubInfo;
|
||||
if (singlePubInfo != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = singlePubInfo;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
|
||||
// Token: 0x0600C8F1 RID: 51441 RVA: 0x002E054C File Offset: 0x002DE74C
|
||||
[Token(Token = "0x600C8F1")]
|
||||
[Address(RVA = "0x188C500", Offset = "0x188B300", VA = "0x18188C500", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerInteger derInteger = this.action;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
Asn1Sequence asn1Sequence = this.pubInfos;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Sequence;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04008033 RID: 32819
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008033")]
|
||||
private readonly DerInteger action;
|
||||
|
||||
// Token: 0x04008034 RID: 32820
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008034")]
|
||||
private readonly Asn1Sequence pubInfos;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F12 RID: 7954
|
||||
[Token(Token = "0x2001F12")]
|
||||
public class PopoPrivKey : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C8FA RID: 51450 RVA: 0x002E0708 File Offset: 0x002DE908
|
||||
[Token(Token = "0x600C8FA")]
|
||||
[Address(RVA = "0x188C7B0", Offset = "0x188B5B0", VA = "0x18188C7B0")]
|
||||
private PopoPrivKey(Asn1TaggedObject obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8FA)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PopoPrivKey::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1TaggedObject)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_CA:
|
||||
stloc:ArgumentException(var_12_E0, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string[exp:object]("unknown value: "), ldloc:int32[exp:object](var_6)), ldstr:string("value")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C8FB RID: 51451 RVA: 0x002E07F8 File Offset: 0x002DE9F8
|
||||
[Token(Token = "0x600C8FB")]
|
||||
[Address(RVA = "0x188C690", Offset = "0x188B490", VA = "0x18188C690")]
|
||||
public static PopoPrivKey GetInstance(Asn1TaggedObject tagged, bool isExplicit)
|
||||
{
|
||||
return new PopoPrivKey(Asn1TaggedObject.GetInstance(tagged.GetObject()));
|
||||
}
|
||||
|
||||
// Token: 0x0600C8FC RID: 51452 RVA: 0x002E081C File Offset: 0x002DEA1C
|
||||
[Token(Token = "0x600C8FC")]
|
||||
[Address(RVA = "0x188C780", Offset = "0x188B580", VA = "0x18188C780")]
|
||||
public PopoPrivKey(SubsequentMessage msg)
|
||||
{
|
||||
this.tagNo = (int)((ulong)1L);
|
||||
this.obj = msg;
|
||||
}
|
||||
|
||||
// Token: 0x17001F8C RID: 8076
|
||||
// (get) Token: 0x0600C8FD RID: 51453 RVA: 0x002E0840 File Offset: 0x002DEA40
|
||||
[Token(Token = "0x17001F8C")]
|
||||
public virtual int Type
|
||||
{
|
||||
[Token(Token = "0x600C8FD")]
|
||||
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.tagNo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F8D RID: 8077
|
||||
// (get) Token: 0x0600C8FE RID: 51454 RVA: 0x002E0854 File Offset: 0x002DEA54
|
||||
[Token(Token = "0x17001F8D")]
|
||||
public virtual Asn1Encodable Value
|
||||
{
|
||||
[Token(Token = "0x600C8FE")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.obj;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C8FF RID: 51455 RVA: 0x002E0868 File Offset: 0x002DEA68
|
||||
[Token(Token = "0x600C8FF")]
|
||||
[Address(RVA = "0x188C710", Offset = "0x188B510", VA = "0x18188C710", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C8FF)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PopoPrivKey::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:int32(var_0_06, ldfld:int32(PopoPrivKey::tagNo, ldloc:PopoPrivKey(this)))
|
||||
stloc:Asn1Encodable(var_1_0D, ldfld:Asn1Encodable(PopoPrivKey::obj, ldloc:PopoPrivKey(this)))
|
||||
stloc:DerTaggedObject(var_2_17, newobj:DerTaggedObject(DerTaggedObject::.ctor, ldloc:int32[exp:bool](var_4), ldloc:int32(var_0_06), ldloc:Asn1Encodable(var_1_0D)))
|
||||
stloc:int32(var_4, ldc.i4:int32(0))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04008037 RID: 32823
|
||||
[Token(Token = "0x4008037")]
|
||||
public const int thisMessage = 0;
|
||||
|
||||
// Token: 0x04008038 RID: 32824
|
||||
[Token(Token = "0x4008038")]
|
||||
public const int subsequentMessage = 1;
|
||||
|
||||
// Token: 0x04008039 RID: 32825
|
||||
[Token(Token = "0x4008039")]
|
||||
public const int dhMAC = 2;
|
||||
|
||||
// Token: 0x0400803A RID: 32826
|
||||
[Token(Token = "0x400803A")]
|
||||
public const int agreeMAC = 3;
|
||||
|
||||
// Token: 0x0400803B RID: 32827
|
||||
[Token(Token = "0x400803B")]
|
||||
public const int encryptedKey = 4;
|
||||
|
||||
// Token: 0x0400803C RID: 32828
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400803C")]
|
||||
private readonly int tagNo;
|
||||
|
||||
// Token: 0x0400803D RID: 32829
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400803D")]
|
||||
private readonly Asn1Encodable obj;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,178 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F13 RID: 7955
|
||||
[Token(Token = "0x2001F13")]
|
||||
public class PopoSigningKey : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C900 RID: 51456 RVA: 0x002E0890 File Offset: 0x002DEA90
|
||||
[Token(Token = "0x600C900")]
|
||||
[Address(RVA = "0x188D500", Offset = "0x188C300", VA = "0x18188D500")]
|
||||
private PopoSigningKey(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser2;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser == 0 || parser == 0)
|
||||
{
|
||||
goto IL_3C;
|
||||
}
|
||||
parser2 = seq.Parser;
|
||||
}
|
||||
while (parser2 == 0);
|
||||
Asn1Object asn1Object;
|
||||
PopoSigningKeyInput instance = PopoSigningKeyInput.GetInstance(asn1Object);
|
||||
this.poposkInput = instance;
|
||||
IL_3C:
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.algorithmIdentifier = algorithmIdentifier;
|
||||
Asn1SequenceParser parser4 = seq.Parser;
|
||||
DerBitString derBitString;
|
||||
this.signature = derBitString;
|
||||
}
|
||||
|
||||
// Token: 0x0600C901 RID: 51457 RVA: 0x002E0900 File Offset: 0x002DEB00
|
||||
[Token(Token = "0x600C901")]
|
||||
[Address(RVA = "0x188D090", Offset = "0x188BE90", VA = "0x18188D090")]
|
||||
public static PopoSigningKey GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C901)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PopoSigningKey BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PopoSigningKey::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_22:
|
||||
stloc:string(var_6_28, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_40, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_6_28)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C902 RID: 51458 RVA: 0x002E0950 File Offset: 0x002DEB50
|
||||
[Token(Token = "0x600C902")]
|
||||
[Address(RVA = "0x188D280", Offset = "0x188C080", VA = "0x18188D280")]
|
||||
public static PopoSigningKey GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return PopoSigningKey.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600C903 RID: 51459 RVA: 0x002E096C File Offset: 0x002DEB6C
|
||||
[Token(Token = "0x600C903")]
|
||||
[Address(RVA = "0xECF220", Offset = "0xECE020", VA = "0x180ECF220")]
|
||||
public PopoSigningKey(PopoSigningKeyInput poposkIn, AlgorithmIdentifier aid, DerBitString signature)
|
||||
{
|
||||
this.poposkInput = poposkIn;
|
||||
this.algorithmIdentifier = aid;
|
||||
this.signature = signature;
|
||||
}
|
||||
|
||||
// Token: 0x17001F8E RID: 8078
|
||||
// (get) Token: 0x0600C904 RID: 51460 RVA: 0x002E0994 File Offset: 0x002DEB94
|
||||
[Token(Token = "0x17001F8E")]
|
||||
public virtual PopoSigningKeyInput PoposkInput
|
||||
{
|
||||
[Token(Token = "0x600C904")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.poposkInput;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F8F RID: 8079
|
||||
// (get) Token: 0x0600C905 RID: 51461 RVA: 0x002E09A8 File Offset: 0x002DEBA8
|
||||
[Token(Token = "0x17001F8F")]
|
||||
public virtual AlgorithmIdentifier AlgorithmIdentifier
|
||||
{
|
||||
[Token(Token = "0x600C905")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.algorithmIdentifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F90 RID: 8080
|
||||
// (get) Token: 0x0600C906 RID: 51462 RVA: 0x002E09BC File Offset: 0x002DEBBC
|
||||
[Token(Token = "0x17001F90")]
|
||||
public virtual DerBitString Signature
|
||||
{
|
||||
[Token(Token = "0x600C906")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.signature;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C907 RID: 51463 RVA: 0x002E09D0 File Offset: 0x002DEBD0
|
||||
[Token(Token = "0x600C907")]
|
||||
[Address(RVA = "0x188D2A0", Offset = "0x188C0A0", VA = "0x18188D2A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.poposkInput != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
PopoSigningKeyInput popoSigningKeyInput = this.poposkInput;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, popoSigningKeyInput);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
AlgorithmIdentifier algorithmIdentifier = this.algorithmIdentifier;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = algorithmIdentifier;
|
||||
asn1EncodableVector.Add(array2);
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerBitString derBitString = this.signature;
|
||||
if (derBitString != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derBitString;
|
||||
asn1EncodableVector.Add(array3);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400803E RID: 32830
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400803E")]
|
||||
private readonly PopoSigningKeyInput poposkInput;
|
||||
|
||||
// Token: 0x0400803F RID: 32831
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400803F")]
|
||||
private readonly AlgorithmIdentifier algorithmIdentifier;
|
||||
|
||||
// Token: 0x04008040 RID: 32832
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008040")]
|
||||
private readonly DerBitString signature;
|
||||
}
|
||||
}
|
||||
+175
@@ -0,0 +1,175 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F14 RID: 7956
|
||||
[Token(Token = "0x2001F14")]
|
||||
public class PopoSigningKeyInput : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C908 RID: 51464 RVA: 0x002E0A78 File Offset: 0x002DEC78
|
||||
[Token(Token = "0x600C908")]
|
||||
[Address(RVA = "0x188CE50", Offset = "0x188BC50", VA = "0x18188CE50")]
|
||||
private PopoSigningKeyInput(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
parser = seq.Parser;
|
||||
if (parser == 0 || parser == 0)
|
||||
{
|
||||
goto IL_2D;
|
||||
}
|
||||
}
|
||||
while (parser == 0);
|
||||
Asn1Object asn1Object;
|
||||
GeneralName instance = GeneralName.GetInstance(asn1Object);
|
||||
this.sender = instance;
|
||||
IL_2D:
|
||||
PKMacValue pkmacValue;
|
||||
this.publicKeyMac = pkmacValue;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
SubjectPublicKeyInfo subjectPublicKeyInfo;
|
||||
this.publicKey = subjectPublicKeyInfo;
|
||||
}
|
||||
|
||||
// Token: 0x0600C909 RID: 51465 RVA: 0x002E0AD0 File Offset: 0x002DECD0
|
||||
[Token(Token = "0x600C909")]
|
||||
[Address(RVA = "0x188CA30", Offset = "0x188B830", VA = "0x18188CA30")]
|
||||
public static PopoSigningKeyInput GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C909)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PopoSigningKeyInput BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.PopoSigningKeyInput::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_22:
|
||||
stloc:string(var_6_28, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_40, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_6_28)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C90A RID: 51466 RVA: 0x002E0B20 File Offset: 0x002DED20
|
||||
[Token(Token = "0x600C90A")]
|
||||
[Address(RVA = "0x188D050", Offset = "0x188BE50", VA = "0x18188D050")]
|
||||
public PopoSigningKeyInput(GeneralName sender, SubjectPublicKeyInfo spki)
|
||||
{
|
||||
this.sender = sender;
|
||||
this.publicKey = spki;
|
||||
}
|
||||
|
||||
// Token: 0x0600C90B RID: 51467 RVA: 0x002E0B44 File Offset: 0x002DED44
|
||||
[Token(Token = "0x600C90B")]
|
||||
[Address(RVA = "0x188D010", Offset = "0x188BE10", VA = "0x18188D010")]
|
||||
public PopoSigningKeyInput(PKMacValue pkmac, SubjectPublicKeyInfo spki)
|
||||
{
|
||||
this.publicKeyMac = pkmac;
|
||||
this.publicKey = spki;
|
||||
}
|
||||
|
||||
// Token: 0x17001F91 RID: 8081
|
||||
// (get) Token: 0x0600C90C RID: 51468 RVA: 0x002E0B68 File Offset: 0x002DED68
|
||||
[Token(Token = "0x17001F91")]
|
||||
public virtual GeneralName Sender
|
||||
{
|
||||
[Token(Token = "0x600C90C")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.sender;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F92 RID: 8082
|
||||
// (get) Token: 0x0600C90D RID: 51469 RVA: 0x002E0B7C File Offset: 0x002DED7C
|
||||
[Token(Token = "0x17001F92")]
|
||||
public virtual PKMacValue PublicKeyMac
|
||||
{
|
||||
[Token(Token = "0x600C90D")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.publicKeyMac;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F93 RID: 8083
|
||||
// (get) Token: 0x0600C90E RID: 51470 RVA: 0x002E0B90 File Offset: 0x002DED90
|
||||
[Token(Token = "0x17001F93")]
|
||||
public virtual SubjectPublicKeyInfo PublicKey
|
||||
{
|
||||
[Token(Token = "0x600C90E")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.publicKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C90F RID: 51471 RVA: 0x002E0BA4 File Offset: 0x002DEDA4
|
||||
[Token(Token = "0x600C90F")]
|
||||
[Address(RVA = "0x188CC20", Offset = "0x188BA20", VA = "0x18188CC20", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
if (this.sender == (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
PKMacValue pkmacValue = this.publicKeyMac;
|
||||
if (pkmacValue != 0)
|
||||
{
|
||||
}
|
||||
array[0] = pkmacValue;
|
||||
}
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
GeneralName generalName = this.sender;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, generalName);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
asn1EncodableVector.Add(array2);
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
SubjectPublicKeyInfo subjectPublicKeyInfo = this.publicKey;
|
||||
if (subjectPublicKeyInfo != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = subjectPublicKeyInfo;
|
||||
asn1EncodableVector.Add(array3);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04008041 RID: 32833
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008041")]
|
||||
private readonly GeneralName sender;
|
||||
|
||||
// Token: 0x04008042 RID: 32834
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008042")]
|
||||
private readonly PKMacValue publicKeyMac;
|
||||
|
||||
// Token: 0x04008043 RID: 32835
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008043")]
|
||||
private readonly SubjectPublicKeyInfo publicKey;
|
||||
}
|
||||
}
|
||||
+201
@@ -0,0 +1,201 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F15 RID: 7957
|
||||
[Token(Token = "0x2001F15")]
|
||||
public class ProofOfPossession : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C910 RID: 51472 RVA: 0x002E0C44 File Offset: 0x002DEE44
|
||||
[Token(Token = "0x600C910")]
|
||||
[Address(RVA = "0x188DB60", Offset = "0x188C960", VA = "0x18188DB60")]
|
||||
private ProofOfPossession(Asn1TaggedObject tagged)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C910)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.ProofOfPossession::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1TaggedObject)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_6A:
|
||||
stloc:ArgumentException(var_6_76, newobj:ArgumentException(ArgumentException::.ctor, ldloc:string(var_5), ldstr:string("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.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.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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C911 RID: 51473 RVA: 0x002E0CC8 File Offset: 0x002DEEC8
|
||||
[Token(Token = "0x600C911")]
|
||||
[Address(RVA = "0x188D740", Offset = "0x188C540", VA = "0x18188D740")]
|
||||
public static ProofOfPossession GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C911)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.ProofOfPossession BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.ProofOfPossession::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_AF:
|
||||
stloc:ArgumentException(var_17_C5, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string[exp:object]("unknown tag: "), ldloc:ArgumentException[exp:object](var_16)), ldstr:string("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.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.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.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.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.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.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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C912 RID: 51474 RVA: 0x002E0D9C File Offset: 0x002DEF9C
|
||||
[Token(Token = "0x600C912")]
|
||||
[Address(RVA = "0x188DAE0", Offset = "0x188C8E0", VA = "0x18188DAE0")]
|
||||
public ProofOfPossession()
|
||||
{
|
||||
this.tagNo = (int)((ulong)0L);
|
||||
DerNull instance = DerNull.Instance;
|
||||
this.obj = instance;
|
||||
}
|
||||
|
||||
// Token: 0x0600C913 RID: 51475 RVA: 0x002E0DC8 File Offset: 0x002DEFC8
|
||||
[Token(Token = "0x600C913")]
|
||||
[Address(RVA = "0x188C780", Offset = "0x188B580", VA = "0x18188C780")]
|
||||
public ProofOfPossession(PopoSigningKey Poposk)
|
||||
{
|
||||
this.tagNo = (int)((ulong)1L);
|
||||
this.obj = Poposk;
|
||||
}
|
||||
|
||||
// Token: 0x0600C914 RID: 51476 RVA: 0x002E0DEC File Offset: 0x002DEFEC
|
||||
[Token(Token = "0x600C914")]
|
||||
[Address(RVA = "0x188DD00", Offset = "0x188CB00", VA = "0x18188DD00")]
|
||||
public ProofOfPossession(int type, PopoPrivKey privkey)
|
||||
{
|
||||
this.tagNo = type;
|
||||
this.obj = privkey;
|
||||
}
|
||||
|
||||
// Token: 0x17001F94 RID: 8084
|
||||
// (get) Token: 0x0600C915 RID: 51477 RVA: 0x002E0E10 File Offset: 0x002DF010
|
||||
[Token(Token = "0x17001F94")]
|
||||
public virtual int Type
|
||||
{
|
||||
[Token(Token = "0x600C915")]
|
||||
[Address(RVA = "0x3FA560", Offset = "0x3F9360", VA = "0x1803FA560", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.tagNo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001F95 RID: 8085
|
||||
// (get) Token: 0x0600C916 RID: 51478 RVA: 0x002E0E24 File Offset: 0x002DF024
|
||||
[Token(Token = "0x17001F95")]
|
||||
public virtual Asn1Encodable Object
|
||||
{
|
||||
[Token(Token = "0x600C916")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.obj;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C917 RID: 51479 RVA: 0x002E0E38 File Offset: 0x002DF038
|
||||
[Token(Token = "0x600C917")]
|
||||
[Address(RVA = "0x188DA70", Offset = "0x188C870", VA = "0x18188DA70", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C917)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.ProofOfPossession::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:int32(var_0_06, ldfld:int32(ProofOfPossession::tagNo, ldloc:ProofOfPossession(this)))
|
||||
stloc:Asn1Encodable(var_1_0D, ldfld:Asn1Encodable(ProofOfPossession::obj, ldloc:ProofOfPossession(this)))
|
||||
stloc:DerTaggedObject(var_2_17, newobj:DerTaggedObject(DerTaggedObject::.ctor, ldloc:int32[exp:bool](var_4), ldloc:int32(var_0_06), ldloc:Asn1Encodable(var_1_0D)))
|
||||
stloc:int32(var_4, ldc.i4:int32(0))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x04008044 RID: 32836
|
||||
[Token(Token = "0x4008044")]
|
||||
public const int TYPE_RA_VERIFIED = 0;
|
||||
|
||||
// Token: 0x04008045 RID: 32837
|
||||
[Token(Token = "0x4008045")]
|
||||
public const int TYPE_SIGNING_KEY = 1;
|
||||
|
||||
// Token: 0x04008046 RID: 32838
|
||||
[Token(Token = "0x4008046")]
|
||||
public const int TYPE_KEY_ENCIPHERMENT = 2;
|
||||
|
||||
// Token: 0x04008047 RID: 32839
|
||||
[Token(Token = "0x4008047")]
|
||||
public const int TYPE_KEY_AGREEMENT = 3;
|
||||
|
||||
// Token: 0x04008048 RID: 32840
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008048")]
|
||||
private readonly int tagNo;
|
||||
|
||||
// Token: 0x04008049 RID: 32841
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008049")]
|
||||
private readonly Asn1Encodable obj;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,101 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F16 RID: 7958
|
||||
[Token(Token = "0x2001F16")]
|
||||
public class SinglePubInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C918 RID: 51480 RVA: 0x002E0E60 File Offset: 0x002DF060
|
||||
[Token(Token = "0x600C918")]
|
||||
[Address(RVA = "0x188E100", Offset = "0x188CF00", VA = "0x18188E100")]
|
||||
private SinglePubInfo(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.pubMethod = derInteger;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable == (ulong)2L)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
GeneralName generalName;
|
||||
this.pubLocation = generalName;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C919 RID: 51481 RVA: 0x002E0E9C File Offset: 0x002DF09C
|
||||
[Token(Token = "0x600C919")]
|
||||
[Address(RVA = "0x188DD40", Offset = "0x188CB40", VA = "0x18188DD40")]
|
||||
public static SinglePubInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C919)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.SinglePubInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.SinglePubInfo::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_32:
|
||||
stloc:string(var_8_38, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_9_50, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid object: "), ldloc:string(var_8_38)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17001F96 RID: 8086
|
||||
// (get) Token: 0x0600C91A RID: 51482 RVA: 0x002E0EFC File Offset: 0x002DF0FC
|
||||
[Token(Token = "0x17001F96")]
|
||||
public virtual GeneralName PubLocation
|
||||
{
|
||||
[Token(Token = "0x600C91A")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.pubLocation;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C91B RID: 51483 RVA: 0x002E0F10 File Offset: 0x002DF110
|
||||
[Token(Token = "0x600C91B")]
|
||||
[Address(RVA = "0x188DF90", Offset = "0x188CD90", VA = "0x18188DF90", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerInteger derInteger = this.pubMethod;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
GeneralName generalName = this.pubLocation;
|
||||
if (generalName != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = generalName;
|
||||
asn1EncodableVector.AddOptional(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400804A RID: 32842
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400804A")]
|
||||
private readonly DerInteger pubMethod;
|
||||
|
||||
// Token: 0x0400804B RID: 32843
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400804B")]
|
||||
private readonly GeneralName pubLocation;
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001F17 RID: 7959
|
||||
[Token(Token = "0x2001F17")]
|
||||
public class SubsequentMessage : DerInteger
|
||||
{
|
||||
// Token: 0x0600C91C RID: 51484 RVA: 0x002E0F70 File Offset: 0x002DF170
|
||||
[Token(Token = "0x600C91C")]
|
||||
[Address(RVA = "0x188E330", Offset = "0x188D130", VA = "0x18188E330")]
|
||||
private SubsequentMessage(int value)
|
||||
: base(value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C91D RID: 51485 RVA: 0x002E0F84 File Offset: 0x002DF184
|
||||
[Token(Token = "0x600C91D")]
|
||||
[Address(RVA = "0x188E190", Offset = "0x188CF90", VA = "0x18188E190")]
|
||||
public static SubsequentMessage ValueOf(int value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C91D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.SubsequentMessage BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf.SubsequentMessage::ValueOf(System.Int32)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_14:
|
||||
stloc:ArgumentException(var_0_29, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string[exp:object]("unknown value: "), ldloc:int32[exp:object](value)), ldstr:string("value")))
|
||||
}
|
||||
|
||||
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.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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600C91E RID: 51486 RVA: 0x002E0FBC File Offset: 0x002DF1BC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C91E")]
|
||||
[Address(RVA = "0x188E2A0", Offset = "0x188D0A0", VA = "0x18188E2A0")]
|
||||
static SubsequentMessage()
|
||||
{
|
||||
int num;
|
||||
SubsequentMessage subsequentMessage = new SubsequentMessage(num);
|
||||
num = 0;
|
||||
SubsequentMessage.encrCert = subsequentMessage;
|
||||
SubsequentMessage.challengeResp = new SubsequentMessage(1);
|
||||
}
|
||||
|
||||
// Token: 0x0400804C RID: 32844
|
||||
[Token(Token = "0x400804C")]
|
||||
public static readonly SubsequentMessage encrCert;
|
||||
|
||||
// Token: 0x0400804D RID: 32845
|
||||
[Token(Token = "0x400804D")]
|
||||
public static readonly SubsequentMessage challengeResp;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user