m
This commit is contained in:
+130
@@ -0,0 +1,130 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FE2 RID: 8162
|
||||
[Token(Token = "0x2001FE2")]
|
||||
public class AttributeTypeAndValue : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC50 RID: 52304 RVA: 0x002E765C File Offset: 0x002E585C
|
||||
[Token(Token = "0x600CC50")]
|
||||
[Address(RVA = "0x23A1F80", Offset = "0x23A0F80", VA = "0x1823A1F80")]
|
||||
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: 0x0600CC51 RID: 52305 RVA: 0x002E769C File Offset: 0x002E589C
|
||||
[Token(Token = "0x600CC51")]
|
||||
[Address(RVA = "0x23A1BD0", Offset = "0x23A0BD0", VA = "0x1823A1BD0")]
|
||||
public static AttributeTypeAndValue GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC51)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC52 RID: 52306 RVA: 0x002E76F0 File Offset: 0x002E58F0
|
||||
[Token(Token = "0x600CC52")]
|
||||
[Address(RVA = "0x23A2060", Offset = "0x23A1060", VA = "0x1823A2060")]
|
||||
public AttributeTypeAndValue(string oid, Asn1Encodable value)
|
||||
{
|
||||
DerObjectIdentifier derObjectIdentifier = new DerObjectIdentifier(oid);
|
||||
base..ctor();
|
||||
this.type = derObjectIdentifier;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC53 RID: 52307 RVA: 0x002E7718 File Offset: 0x002E5918
|
||||
[Token(Token = "0x600CC53")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public AttributeTypeAndValue(DerObjectIdentifier type, Asn1Encodable value)
|
||||
{
|
||||
this.type = type;
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
// Token: 0x17002003 RID: 8195
|
||||
// (get) Token: 0x0600CC54 RID: 52308 RVA: 0x002E773C File Offset: 0x002E593C
|
||||
[Token(Token = "0x17002003")]
|
||||
public virtual DerObjectIdentifier Type
|
||||
{
|
||||
[Token(Token = "0x600CC54")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.type;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002004 RID: 8196
|
||||
// (get) Token: 0x0600CC55 RID: 52309 RVA: 0x002E7750 File Offset: 0x002E5950
|
||||
[Token(Token = "0x17002004")]
|
||||
public virtual Asn1Encodable Value
|
||||
{
|
||||
[Token(Token = "0x600CC55")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CC56 RID: 52310 RVA: 0x002E7764 File Offset: 0x002E5964
|
||||
[Token(Token = "0x600CC56")]
|
||||
[Address(RVA = "0x23A1E70", Offset = "0x23A0E70", VA = "0x1823A1E70", 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: 0x040081B3 RID: 33203
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081B3")]
|
||||
private readonly DerObjectIdentifier type;
|
||||
|
||||
// Token: 0x040081B4 RID: 33204
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081B4")]
|
||||
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: 0x02001FE3 RID: 8163
|
||||
[Token(Token = "0x2001FE3")]
|
||||
public class CertId : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC57 RID: 52311 RVA: 0x002E77AC File Offset: 0x002E59AC
|
||||
[Token(Token = "0x600CC57")]
|
||||
[Address(RVA = "0x23A2450", Offset = "0x23A1450", VA = "0x1823A2450")]
|
||||
private CertId(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
GeneralName generalName;
|
||||
this.issuer = generalName;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.serialNumber = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC58 RID: 52312 RVA: 0x002E77E4 File Offset: 0x002E59E4
|
||||
[Token(Token = "0x600CC58")]
|
||||
[Address(RVA = "0x23A20E0", Offset = "0x23A10E0", VA = "0x1823A20E0")]
|
||||
public static CertId GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC58)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC59 RID: 52313 RVA: 0x002E7844 File Offset: 0x002E5A44
|
||||
[Token(Token = "0x600CC59")]
|
||||
[Address(RVA = "0x23A2320", Offset = "0x23A1320", VA = "0x1823A2320")]
|
||||
public static CertId GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return CertId.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x17002005 RID: 8197
|
||||
// (get) Token: 0x0600CC5A RID: 52314 RVA: 0x002E7860 File Offset: 0x002E5A60
|
||||
[Token(Token = "0x17002005")]
|
||||
public virtual GeneralName Issuer
|
||||
{
|
||||
[Token(Token = "0x600CC5A")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.issuer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002006 RID: 8198
|
||||
// (get) Token: 0x0600CC5B RID: 52315 RVA: 0x002E7874 File Offset: 0x002E5A74
|
||||
[Token(Token = "0x17002006")]
|
||||
public virtual DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600CC5B")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CC5C RID: 52316 RVA: 0x002E7888 File Offset: 0x002E5A88
|
||||
[Token(Token = "0x600CC5C")]
|
||||
[Address(RVA = "0x23A2340", Offset = "0x23A1340", VA = "0x1823A2340", 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: 0x040081B5 RID: 33205
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081B5")]
|
||||
private readonly GeneralName issuer;
|
||||
|
||||
// Token: 0x040081B6 RID: 33206
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081B6")]
|
||||
private readonly DerInteger serialNumber;
|
||||
}
|
||||
}
|
||||
+107
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FE4 RID: 8164
|
||||
[Token(Token = "0x2001FE4")]
|
||||
public class CertReqMessages : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC5D RID: 52317 RVA: 0x002E78D0 File Offset: 0x002E5AD0
|
||||
[Token(Token = "0x600CC5D")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
private CertReqMessages(Asn1Sequence seq)
|
||||
{
|
||||
this.content = seq;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC5E RID: 52318 RVA: 0x002E78EC File Offset: 0x002E5AEC
|
||||
[Token(Token = "0x600CC5E")]
|
||||
[Address(RVA = "0x23A24D0", Offset = "0x23A14D0", VA = "0x1823A24D0")]
|
||||
public static CertReqMessages GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC5E)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC5F RID: 52319 RVA: 0x002E7944 File Offset: 0x002E5B44
|
||||
[Token(Token = "0x600CC5F")]
|
||||
[Address(RVA = "0x23A27D0", Offset = "0x23A17D0", VA = "0x1823A27D0")]
|
||||
public CertReqMessages(params CertReqMsg[] msgs)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(msgs);
|
||||
this.content = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC60 RID: 52320 RVA: 0x002E7968 File Offset: 0x002E5B68
|
||||
[Token(Token = "0x600CC60")]
|
||||
[Address(RVA = "0x23A26C0", Offset = "0x23A16C0", VA = "0x1823A26C0", 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: 0x0600CC61 RID: 52321 RVA: 0x002E79B4 File Offset: 0x002E5BB4
|
||||
[Token(Token = "0x600CC61")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC61)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x040081B7 RID: 33207
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081B7")]
|
||||
private readonly Asn1Sequence content;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,199 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FE5 RID: 8165
|
||||
[Token(Token = "0x2001FE5")]
|
||||
public class CertReqMsg : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC62 RID: 52322 RVA: 0x002E79C8 File Offset: 0x002E5BC8
|
||||
[Token(Token = "0x600CC62")]
|
||||
[Address(RVA = "0x23A2DB0", Offset = "0x23A1DB0", VA = "0x1823A2DB0")]
|
||||
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: 0x0600CC63 RID: 52323 RVA: 0x002E7A20 File Offset: 0x002E5C20
|
||||
[Token(Token = "0x600CC63")]
|
||||
[Address(RVA = "0x23A2840", Offset = "0x23A1840", VA = "0x1823A2840")]
|
||||
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: 0x0600CC64 RID: 52324 RVA: 0x002E7A9C File Offset: 0x002E5C9C
|
||||
[Token(Token = "0x600CC64")]
|
||||
[Address(RVA = "0x23A2AA0", Offset = "0x23A1AA0", VA = "0x1823A2AA0")]
|
||||
public static CertReqMsg GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return CertReqMsg.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600CC65 RID: 52325 RVA: 0x002E7AB8 File Offset: 0x002E5CB8
|
||||
[Token(Token = "0x600CC65")]
|
||||
[Address(RVA = "0x23A2F20", Offset = "0x23A1F20", VA = "0x1823A2F20")]
|
||||
public CertReqMsg(CertRequest certReq, ProofOfPossession popo, AttributeTypeAndValue[] regInfo)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC65)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17002007 RID: 8199
|
||||
// (get) Token: 0x0600CC66 RID: 52326 RVA: 0x002E7AFC File Offset: 0x002E5CFC
|
||||
[Token(Token = "0x17002007")]
|
||||
public virtual CertRequest CertReq
|
||||
{
|
||||
[Token(Token = "0x600CC66")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.certReq;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002008 RID: 8200
|
||||
// (get) Token: 0x0600CC67 RID: 52327 RVA: 0x002E7B10 File Offset: 0x002E5D10
|
||||
[Token(Token = "0x17002008")]
|
||||
public virtual ProofOfPossession Popo
|
||||
{
|
||||
[Token(Token = "0x600CC67")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.popo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CC68 RID: 52328 RVA: 0x002E7B24 File Offset: 0x002E5D24
|
||||
[Token(Token = "0x600CC68")]
|
||||
[Address(RVA = "0x23A2AC0", Offset = "0x23A1AC0", VA = "0x1823A2AC0", 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: 0x0600CC69 RID: 52329 RVA: 0x002E7B74 File Offset: 0x002E5D74
|
||||
[Token(Token = "0x600CC69")]
|
||||
[Address(RVA = "0x23A2BE0", Offset = "0x23A1BE0", VA = "0x1823A2BE0", 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: 0x040081B8 RID: 33208
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081B8")]
|
||||
private readonly CertRequest certReq;
|
||||
|
||||
// Token: 0x040081B9 RID: 33209
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081B9")]
|
||||
private readonly ProofOfPossession popo;
|
||||
|
||||
// Token: 0x040081BA RID: 33210
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40081BA")]
|
||||
private readonly Asn1Sequence regInfo;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,169 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FE6 RID: 8166
|
||||
[Token(Token = "0x2001FE6")]
|
||||
public class CertRequest : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC6A RID: 52330 RVA: 0x002E7BEC File Offset: 0x002E5DEC
|
||||
[Token(Token = "0x600CC6A")]
|
||||
[Address(RVA = "0x23A33C0", Offset = "0x23A23C0", VA = "0x1823A33C0")]
|
||||
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: 0x0600CC6B RID: 52331 RVA: 0x002E7C38 File Offset: 0x002E5E38
|
||||
[Token(Token = "0x600CC6B")]
|
||||
[Address(RVA = "0x23A2FE0", Offset = "0x23A1FE0", VA = "0x1823A2FE0")]
|
||||
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: 0x0600CC6C RID: 52332 RVA: 0x002E7CA0 File Offset: 0x002E5EA0
|
||||
[Token(Token = "0x600CC6C")]
|
||||
[Address(RVA = "0x23A3330", Offset = "0x23A2330", VA = "0x1823A3330")]
|
||||
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: 0x0600CC6D RID: 52333 RVA: 0x002E7CD0 File Offset: 0x002E5ED0
|
||||
[Token(Token = "0x600CC6D")]
|
||||
[Address(RVA = "0xED6DA0", Offset = "0xED5DA0", VA = "0x180ED6DA0")]
|
||||
public CertRequest(DerInteger certReqId, CertTemplate certTemplate, Controls controls)
|
||||
{
|
||||
this.certReqId = certReqId;
|
||||
this.certTemplate = certTemplate;
|
||||
this.controls = controls;
|
||||
}
|
||||
|
||||
// Token: 0x17002009 RID: 8201
|
||||
// (get) Token: 0x0600CC6E RID: 52334 RVA: 0x002E7CF8 File Offset: 0x002E5EF8
|
||||
[Token(Token = "0x17002009")]
|
||||
public virtual DerInteger CertReqID
|
||||
{
|
||||
[Token(Token = "0x600CC6E")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.certReqId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700200A RID: 8202
|
||||
// (get) Token: 0x0600CC6F RID: 52335 RVA: 0x002E7D0C File Offset: 0x002E5F0C
|
||||
[Token(Token = "0x1700200A")]
|
||||
public virtual CertTemplate CertTemplate
|
||||
{
|
||||
[Token(Token = "0x600CC6F")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.certTemplate;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700200B RID: 8203
|
||||
// (get) Token: 0x0600CC70 RID: 52336 RVA: 0x002E7D20 File Offset: 0x002E5F20
|
||||
[Token(Token = "0x1700200B")]
|
||||
public virtual Controls Controls
|
||||
{
|
||||
[Token(Token = "0x600CC70")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.controls;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CC71 RID: 52337 RVA: 0x002E7D34 File Offset: 0x002E5F34
|
||||
[Token(Token = "0x600CC71")]
|
||||
[Address(RVA = "0x23A3170", Offset = "0x23A2170", VA = "0x1823A3170", 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: 0x040081BB RID: 33211
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081BB")]
|
||||
private readonly DerInteger certReqId;
|
||||
|
||||
// Token: 0x040081BC RID: 33212
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081BC")]
|
||||
private readonly CertTemplate certTemplate;
|
||||
|
||||
// Token: 0x040081BD RID: 33213
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40081BD")]
|
||||
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: 0x02001FE7 RID: 8167
|
||||
[Token(Token = "0x2001FE7")]
|
||||
public class CertTemplate : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC72 RID: 52338 RVA: 0x002E7DAC File Offset: 0x002E5FAC
|
||||
[Token(Token = "0x600CC72")]
|
||||
[Address(RVA = "0x23A3910", Offset = "0x23A2910", VA = "0x1823A3910")]
|
||||
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: 0x0600CC73 RID: 52339 RVA: 0x002E7E70 File Offset: 0x002E6070
|
||||
[Token(Token = "0x600CC73")]
|
||||
[Address(RVA = "0x23A3810", Offset = "0x23A2810", VA = "0x1823A3810")]
|
||||
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: 0x1700200C RID: 8204
|
||||
// (get) Token: 0x0600CC74 RID: 52340 RVA: 0x002E7EA4 File Offset: 0x002E60A4
|
||||
[Token(Token = "0x1700200C")]
|
||||
public virtual int Version
|
||||
{
|
||||
[Token(Token = "0x600CC74")]
|
||||
[Address(RVA = "0x23A3CD0", Offset = "0x23A2CD0", VA = "0x1823A3CD0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return new BigInteger(this.version.bytes).IntValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700200D RID: 8205
|
||||
// (get) Token: 0x0600CC75 RID: 52341 RVA: 0x002E7ECC File Offset: 0x002E60CC
|
||||
[Token(Token = "0x1700200D")]
|
||||
public virtual DerInteger SerialNumber
|
||||
{
|
||||
[Token(Token = "0x600CC75")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.serialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700200E RID: 8206
|
||||
// (get) Token: 0x0600CC76 RID: 52342 RVA: 0x002E7EE0 File Offset: 0x002E60E0
|
||||
[Token(Token = "0x1700200E")]
|
||||
public virtual AlgorithmIdentifier SigningAlg
|
||||
{
|
||||
[Token(Token = "0x600CC76")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.signingAlg;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700200F RID: 8207
|
||||
// (get) Token: 0x0600CC77 RID: 52343 RVA: 0x002E7EF4 File Offset: 0x002E60F4
|
||||
[Token(Token = "0x1700200F")]
|
||||
public virtual X509Name Issuer
|
||||
{
|
||||
[Token(Token = "0x600CC77")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.issuer;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002010 RID: 8208
|
||||
// (get) Token: 0x0600CC78 RID: 52344 RVA: 0x002E7F08 File Offset: 0x002E6108
|
||||
[Token(Token = "0x17002010")]
|
||||
public virtual OptionalValidity Validity
|
||||
{
|
||||
[Token(Token = "0x600CC78")]
|
||||
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.validity;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002011 RID: 8209
|
||||
// (get) Token: 0x0600CC79 RID: 52345 RVA: 0x002E7F1C File Offset: 0x002E611C
|
||||
[Token(Token = "0x17002011")]
|
||||
public virtual X509Name Subject
|
||||
{
|
||||
[Token(Token = "0x600CC79")]
|
||||
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return this.subject;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002012 RID: 8210
|
||||
// (get) Token: 0x0600CC7A RID: 52346 RVA: 0x002E7F30 File Offset: 0x002E6130
|
||||
[Token(Token = "0x17002012")]
|
||||
public virtual SubjectPublicKeyInfo PublicKey
|
||||
{
|
||||
[Token(Token = "0x600CC7A")]
|
||||
[Address(RVA = "0x4975A0", Offset = "0x4965A0", VA = "0x1804975A0", Slot = "12")]
|
||||
get
|
||||
{
|
||||
return this.publicKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002013 RID: 8211
|
||||
// (get) Token: 0x0600CC7B RID: 52347 RVA: 0x002E7F44 File Offset: 0x002E6144
|
||||
[Token(Token = "0x17002013")]
|
||||
public virtual DerBitString IssuerUID
|
||||
{
|
||||
[Token(Token = "0x600CC7B")]
|
||||
[Address(RVA = "0x4936E0", Offset = "0x4926E0", VA = "0x1804936E0", Slot = "13")]
|
||||
get
|
||||
{
|
||||
return this.issuerUID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002014 RID: 8212
|
||||
// (get) Token: 0x0600CC7C RID: 52348 RVA: 0x002E7F58 File Offset: 0x002E6158
|
||||
[Token(Token = "0x17002014")]
|
||||
public virtual DerBitString SubjectUID
|
||||
{
|
||||
[Token(Token = "0x600CC7C")]
|
||||
[Address(RVA = "0x417710", Offset = "0x416710", VA = "0x180417710", Slot = "14")]
|
||||
get
|
||||
{
|
||||
return this.subjectUID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002015 RID: 8213
|
||||
// (get) Token: 0x0600CC7D RID: 52349 RVA: 0x002E7F6C File Offset: 0x002E616C
|
||||
[Token(Token = "0x17002015")]
|
||||
public virtual X509Extensions Extensions
|
||||
{
|
||||
[Token(Token = "0x600CC7D")]
|
||||
[Address(RVA = "0x417720", Offset = "0x416720", VA = "0x180417720", Slot = "15")]
|
||||
get
|
||||
{
|
||||
return this.extensions;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CC7E RID: 52350 RVA: 0x002E7F80 File Offset: 0x002E6180
|
||||
[Token(Token = "0x600CC7E")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC7E)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x040081BE RID: 33214
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081BE")]
|
||||
private readonly Asn1Sequence seq;
|
||||
|
||||
// Token: 0x040081BF RID: 33215
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081BF")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x040081C0 RID: 33216
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40081C0")]
|
||||
private readonly DerInteger serialNumber;
|
||||
|
||||
// Token: 0x040081C1 RID: 33217
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40081C1")]
|
||||
private readonly AlgorithmIdentifier signingAlg;
|
||||
|
||||
// Token: 0x040081C2 RID: 33218
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40081C2")]
|
||||
private readonly X509Name issuer;
|
||||
|
||||
// Token: 0x040081C3 RID: 33219
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40081C3")]
|
||||
private readonly OptionalValidity validity;
|
||||
|
||||
// Token: 0x040081C4 RID: 33220
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40081C4")]
|
||||
private readonly X509Name subject;
|
||||
|
||||
// Token: 0x040081C5 RID: 33221
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40081C5")]
|
||||
private readonly SubjectPublicKeyInfo publicKey;
|
||||
|
||||
// Token: 0x040081C6 RID: 33222
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40081C6")]
|
||||
private readonly DerBitString issuerUID;
|
||||
|
||||
// Token: 0x040081C7 RID: 33223
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40081C7")]
|
||||
private readonly DerBitString subjectUID;
|
||||
|
||||
// Token: 0x040081C8 RID: 33224
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x40081C8")]
|
||||
private readonly X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
+211
@@ -0,0 +1,211 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FE8 RID: 8168
|
||||
[Token(Token = "0x2001FE8")]
|
||||
public class CertTemplateBuilder
|
||||
{
|
||||
// Token: 0x0600CC7F RID: 52351 RVA: 0x002E7F94 File Offset: 0x002E6194
|
||||
[Token(Token = "0x600CC7F")]
|
||||
[Address(RVA = "0x23A37A0", Offset = "0x23A27A0", VA = "0x1823A37A0", Slot = "4")]
|
||||
public virtual CertTemplateBuilder SetVersion(int ver)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(ver);
|
||||
this.version = derInteger;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC80 RID: 52352 RVA: 0x002E7FB0 File Offset: 0x002E61B0
|
||||
[Token(Token = "0x600CC80")]
|
||||
[Address(RVA = "0x493840", Offset = "0x492840", VA = "0x180493840", Slot = "5")]
|
||||
public virtual CertTemplateBuilder SetSerialNumber(DerInteger ser)
|
||||
{
|
||||
this.serialNumber = ser;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC81 RID: 52353 RVA: 0x002E7FC8 File Offset: 0x002E61C8
|
||||
[Token(Token = "0x600CC81")]
|
||||
[Address(RVA = "0x493850", Offset = "0x492850", VA = "0x180493850", Slot = "6")]
|
||||
public virtual CertTemplateBuilder SetSigningAlg(AlgorithmIdentifier aid)
|
||||
{
|
||||
this.signingAlg = aid;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC82 RID: 52354 RVA: 0x002E7FE0 File Offset: 0x002E61E0
|
||||
[Token(Token = "0x600CC82")]
|
||||
[Address(RVA = "0x493860", Offset = "0x492860", VA = "0x180493860", Slot = "7")]
|
||||
public virtual CertTemplateBuilder SetIssuer(X509Name name)
|
||||
{
|
||||
this.issuer = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC83 RID: 52355 RVA: 0x002E7FF8 File Offset: 0x002E61F8
|
||||
[Token(Token = "0x600CC83")]
|
||||
[Address(RVA = "0x493910", Offset = "0x492910", VA = "0x180493910", Slot = "8")]
|
||||
public virtual CertTemplateBuilder SetValidity(OptionalValidity v)
|
||||
{
|
||||
this.validity = v;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC84 RID: 52356 RVA: 0x002E8010 File Offset: 0x002E6210
|
||||
[Token(Token = "0x600CC84")]
|
||||
[Address(RVA = "0x12A77C0", Offset = "0x12A67C0", VA = "0x1812A77C0", Slot = "9")]
|
||||
public virtual CertTemplateBuilder SetSubject(X509Name name)
|
||||
{
|
||||
this.subject = name;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC85 RID: 52357 RVA: 0x002E8028 File Offset: 0x002E6228
|
||||
[Token(Token = "0x600CC85")]
|
||||
[Address(RVA = "0x23A3780", Offset = "0x23A2780", VA = "0x1823A3780", Slot = "10")]
|
||||
public virtual CertTemplateBuilder SetPublicKey(SubjectPublicKeyInfo spki)
|
||||
{
|
||||
this.publicKey = spki;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC86 RID: 52358 RVA: 0x002E8040 File Offset: 0x002E6240
|
||||
[Token(Token = "0x600CC86")]
|
||||
[Address(RVA = "0x23A3770", Offset = "0x23A2770", VA = "0x1823A3770", Slot = "11")]
|
||||
public virtual CertTemplateBuilder SetIssuerUID(DerBitString uid)
|
||||
{
|
||||
this.issuerUID = uid;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC87 RID: 52359 RVA: 0x002E8058 File Offset: 0x002E6258
|
||||
[Token(Token = "0x600CC87")]
|
||||
[Address(RVA = "0x23A3790", Offset = "0x23A2790", VA = "0x1823A3790", Slot = "12")]
|
||||
public virtual CertTemplateBuilder SetSubjectUID(DerBitString uid)
|
||||
{
|
||||
this.subjectUID = uid;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC88 RID: 52360 RVA: 0x002E8070 File Offset: 0x002E6270
|
||||
[Token(Token = "0x600CC88")]
|
||||
[Address(RVA = "0x23A3760", Offset = "0x23A2760", VA = "0x1823A3760", Slot = "13")]
|
||||
public virtual CertTemplateBuilder SetExtensions(X509Extensions extens)
|
||||
{
|
||||
this.extensions = extens;
|
||||
return this;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC89 RID: 52361 RVA: 0x002E8088 File Offset: 0x002E6288
|
||||
[Token(Token = "0x600CC89")]
|
||||
[Address(RVA = "0x23A3590", Offset = "0x23A2590", VA = "0x1823A3590", 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);
|
||||
return CertTemplate.GetInstance(new DerSequence(asn1EncodableVector));
|
||||
}
|
||||
|
||||
// Token: 0x0600CC8A RID: 52362 RVA: 0x002E8184 File Offset: 0x002E6384
|
||||
[Token(Token = "0x600CC8A")]
|
||||
[Address(RVA = "0x23A3480", Offset = "0x23A2480", VA = "0x1823A3480")]
|
||||
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: 0x0600CC8B RID: 52363 RVA: 0x002E81B4 File Offset: 0x002E63B4
|
||||
[Token(Token = "0x600CC8B")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
public CertTemplateBuilder()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040081C9 RID: 33225
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081C9")]
|
||||
private DerInteger version;
|
||||
|
||||
// Token: 0x040081CA RID: 33226
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081CA")]
|
||||
private DerInteger serialNumber;
|
||||
|
||||
// Token: 0x040081CB RID: 33227
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40081CB")]
|
||||
private AlgorithmIdentifier signingAlg;
|
||||
|
||||
// Token: 0x040081CC RID: 33228
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40081CC")]
|
||||
private X509Name issuer;
|
||||
|
||||
// Token: 0x040081CD RID: 33229
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40081CD")]
|
||||
private OptionalValidity validity;
|
||||
|
||||
// Token: 0x040081CE RID: 33230
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40081CE")]
|
||||
private X509Name subject;
|
||||
|
||||
// Token: 0x040081CF RID: 33231
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x40081CF")]
|
||||
private SubjectPublicKeyInfo publicKey;
|
||||
|
||||
// Token: 0x040081D0 RID: 33232
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x40081D0")]
|
||||
private DerBitString issuerUID;
|
||||
|
||||
// Token: 0x040081D1 RID: 33233
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x40081D1")]
|
||||
private DerBitString subjectUID;
|
||||
|
||||
// Token: 0x040081D2 RID: 33234
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x40081D2")]
|
||||
private X509Extensions extensions;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,107 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FE9 RID: 8169
|
||||
[Token(Token = "0x2001FE9")]
|
||||
public class Controls : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC8C RID: 52364 RVA: 0x002E81C8 File Offset: 0x002E63C8
|
||||
[Token(Token = "0x600CC8C")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
private Controls(Asn1Sequence seq)
|
||||
{
|
||||
this.content = seq;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC8D RID: 52365 RVA: 0x002E81E4 File Offset: 0x002E63E4
|
||||
[Token(Token = "0x600CC8D")]
|
||||
[Address(RVA = "0x23A4180", Offset = "0x23A3180", VA = "0x1823A4180")]
|
||||
public static Controls GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC8D)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC8E RID: 52366 RVA: 0x002E823C File Offset: 0x002E643C
|
||||
[Token(Token = "0x600CC8E")]
|
||||
[Address(RVA = "0x23A4480", Offset = "0x23A3480", VA = "0x1823A4480")]
|
||||
public Controls(params AttributeTypeAndValue[] atvs)
|
||||
{
|
||||
DerSequence derSequence = new DerSequence(atvs);
|
||||
this.content = derSequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC8F RID: 52367 RVA: 0x002E8260 File Offset: 0x002E6460
|
||||
[Token(Token = "0x600CC8F")]
|
||||
[Address(RVA = "0x23A4370", Offset = "0x23A3370", VA = "0x1823A4370", 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: 0x0600CC90 RID: 52368 RVA: 0x002E82AC File Offset: 0x002E64AC
|
||||
[Token(Token = "0x600CC90")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CC90)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x040081D3 RID: 33235
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081D3")]
|
||||
private readonly Asn1Sequence content;
|
||||
}
|
||||
}
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FEA RID: 8170
|
||||
[Token(Token = "0x2001FEA")]
|
||||
public abstract class CrmfObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600CC91 RID: 52369 RVA: 0x002E82C0 File Offset: 0x002E64C0
|
||||
[Token(Token = "0x600CC91")]
|
||||
[Address(RVA = "0x412370", Offset = "0x411370", VA = "0x180412370")]
|
||||
protected CrmfObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040081D4 RID: 33236
|
||||
[Token(Token = "0x40081D4")]
|
||||
public static readonly DerObjectIdentifier id_pkix = new DerObjectIdentifier("1.3.6.1.5.5.7");
|
||||
|
||||
// Token: 0x040081D5 RID: 33237
|
||||
[Token(Token = "0x40081D5")]
|
||||
public static readonly DerObjectIdentifier id_pkip = CrmfObjectIdentifiers.id_pkix.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x040081D6 RID: 33238
|
||||
[Token(Token = "0x40081D6")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl = CrmfObjectIdentifiers.id_pkip.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x040081D7 RID: 33239
|
||||
[Token(Token = "0x40081D7")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl_regToken = CrmfObjectIdentifiers.id_regCtrl.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x040081D8 RID: 33240
|
||||
[Token(Token = "0x40081D8")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl_authenticator = CrmfObjectIdentifiers.id_regCtrl.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x040081D9 RID: 33241
|
||||
[Token(Token = "0x40081D9")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl_pkiPublicationInfo = CrmfObjectIdentifiers.id_regCtrl.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x040081DA RID: 33242
|
||||
[Token(Token = "0x40081DA")]
|
||||
public static readonly DerObjectIdentifier id_regCtrl_pkiArchiveOptions = CrmfObjectIdentifiers.id_regCtrl.Asn1GetHashCode();
|
||||
|
||||
// Token: 0x040081DB RID: 33243
|
||||
[Token(Token = "0x40081DB")]
|
||||
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: 0x02001FEB RID: 8171
|
||||
[Token(Token = "0x2001FEB")]
|
||||
public class EncKeyWithID : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CC93 RID: 52371 RVA: 0x002E8360 File Offset: 0x002E6560
|
||||
[Token(Token = "0x600CC93")]
|
||||
[Address(RVA = "0x23B4F80", Offset = "0x23B3F80", VA = "0x1823B4F80")]
|
||||
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: 0x0600CC94 RID: 52372 RVA: 0x002E83D8 File Offset: 0x002E65D8
|
||||
[Token(Token = "0x600CC94")]
|
||||
[Address(RVA = "0x23B5300", Offset = "0x23B4300", VA = "0x1823B5300")]
|
||||
private EncKeyWithID(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
PrivateKeyInfo privateKeyInfo;
|
||||
this.privKeyInfo = privateKeyInfo;
|
||||
int num = 0;
|
||||
this.identifier = num;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC95 RID: 52373 RVA: 0x002E842C File Offset: 0x002E662C
|
||||
[Token(Token = "0x600CC95")]
|
||||
[Address(RVA = "0xB94A00", Offset = "0xB93A00", VA = "0x180B94A00")]
|
||||
public EncKeyWithID(PrivateKeyInfo privKeyInfo)
|
||||
{
|
||||
this.privKeyInfo = privKeyInfo;
|
||||
this.identifier = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC96 RID: 52374 RVA: 0x002E8450 File Offset: 0x002E6650
|
||||
[Token(Token = "0x600CC96")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public EncKeyWithID(PrivateKeyInfo privKeyInfo, DerUtf8String str)
|
||||
{
|
||||
this.privKeyInfo = privKeyInfo;
|
||||
this.identifier = str;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC97 RID: 52375 RVA: 0x002E8474 File Offset: 0x002E6674
|
||||
[Token(Token = "0x600CC97")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public EncKeyWithID(PrivateKeyInfo privKeyInfo, GeneralName generalName)
|
||||
{
|
||||
this.privKeyInfo = privKeyInfo;
|
||||
this.identifier = generalName;
|
||||
}
|
||||
|
||||
// Token: 0x17002016 RID: 8214
|
||||
// (get) Token: 0x0600CC98 RID: 52376 RVA: 0x002E8498 File Offset: 0x002E6698
|
||||
[Token(Token = "0x17002016")]
|
||||
public virtual PrivateKeyInfo PrivateKey
|
||||
{
|
||||
[Token(Token = "0x600CC98")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.privKeyInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002017 RID: 8215
|
||||
// (get) Token: 0x0600CC99 RID: 52377 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17002017")]
|
||||
public virtual bool HasIdentifier
|
||||
{
|
||||
[Token(Token = "0x600CC99")]
|
||||
[Address(RVA = "0x5EFE20", Offset = "0x5EEE20", VA = "0x1805EFE20", Slot = "7")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002018 RID: 8216
|
||||
// (get) Token: 0x0600CC9A RID: 52378 RVA: 0x002E84AC File Offset: 0x002E66AC
|
||||
[Token(Token = "0x17002018")]
|
||||
public virtual bool IsIdentifierUtf8String
|
||||
{
|
||||
[Token(Token = "0x600CC9A")]
|
||||
[Address(RVA = "0x23B5450", Offset = "0x23B4450", VA = "0x1823B5450", Slot = "8")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable = this.identifier;
|
||||
if (asn1Encodable == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return asn1Encodable != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002019 RID: 8217
|
||||
// (get) Token: 0x0600CC9B RID: 52379 RVA: 0x002E84D8 File Offset: 0x002E66D8
|
||||
[Token(Token = "0x17002019")]
|
||||
public virtual Asn1Encodable Identifier
|
||||
{
|
||||
[Token(Token = "0x600CC9B")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.identifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CC9C RID: 52380 RVA: 0x002E84EC File Offset: 0x002E66EC
|
||||
[Token(Token = "0x600CC9C")]
|
||||
[Address(RVA = "0x23B5190", Offset = "0x23B4190", VA = "0x1823B5190", 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: 0x040081DC RID: 33244
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081DC")]
|
||||
private readonly PrivateKeyInfo privKeyInfo;
|
||||
|
||||
// Token: 0x040081DD RID: 33245
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081DD")]
|
||||
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: 0x02001FEC RID: 8172
|
||||
[Token(Token = "0x2001FEC")]
|
||||
public class EncryptedKey : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600CC9D RID: 52381 RVA: 0x002E854C File Offset: 0x002E674C
|
||||
[Token(Token = "0x600CC9D")]
|
||||
[Address(RVA = "0x23B54D0", Offset = "0x23B44D0", VA = "0x1823B54D0")]
|
||||
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: 0x0600CC9E RID: 52382 RVA: 0x002E85C4 File Offset: 0x002E67C4
|
||||
[Token(Token = "0x600CC9E")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public EncryptedKey(EnvelopedData envelopedData)
|
||||
{
|
||||
this.envelopedData = envelopedData;
|
||||
}
|
||||
|
||||
// Token: 0x0600CC9F RID: 52383 RVA: 0x002E85E0 File Offset: 0x002E67E0
|
||||
[Token(Token = "0x600CC9F")]
|
||||
[Address(RVA = "0xA1AEE0", Offset = "0xA19EE0", VA = "0x180A1AEE0")]
|
||||
public EncryptedKey(EncryptedValue encryptedValue)
|
||||
{
|
||||
this.encryptedValue = encryptedValue;
|
||||
}
|
||||
|
||||
// Token: 0x1700201A RID: 8218
|
||||
// (get) Token: 0x0600CCA0 RID: 52384 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x1700201A")]
|
||||
public virtual bool IsEncryptedValue
|
||||
{
|
||||
[Token(Token = "0x600CCA0")]
|
||||
[Address(RVA = "0x5EFE20", Offset = "0x5EEE20", VA = "0x1805EFE20", Slot = "6")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700201B RID: 8219
|
||||
// (get) Token: 0x0600CCA1 RID: 52385 RVA: 0x002E85FC File Offset: 0x002E67FC
|
||||
[Token(Token = "0x1700201B")]
|
||||
public virtual Asn1Encodable Value
|
||||
{
|
||||
[Token(Token = "0x600CCA1")]
|
||||
[Address(RVA = "0x23B5890", Offset = "0x23B4890", VA = "0x1823B5890", Slot = "7")]
|
||||
get
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCA1)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCA2 RID: 52386 RVA: 0x002E8614 File Offset: 0x002E6814
|
||||
[Token(Token = "0x600CCA2")]
|
||||
[Address(RVA = "0x23B5800", Offset = "0x23B4800", VA = "0x1823B5800", 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: 0x040081DE RID: 33246
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081DE")]
|
||||
private readonly EnvelopedData envelopedData;
|
||||
|
||||
// Token: 0x040081DF RID: 33247
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081DF")]
|
||||
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: 0x02001FED RID: 8173
|
||||
[Token(Token = "0x2001FED")]
|
||||
public class EncryptedValue : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CCA3 RID: 52387 RVA: 0x002E864C File Offset: 0x002E684C
|
||||
[Token(Token = "0x600CCA3")]
|
||||
[Address(RVA = "0x23B5C20", Offset = "0x23B4C20", VA = "0x1823B5C20")]
|
||||
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: 0x0600CCA4 RID: 52388 RVA: 0x002E86EC File Offset: 0x002E68EC
|
||||
[Token(Token = "0x600CCA4")]
|
||||
[Address(RVA = "0x23B59A0", Offset = "0x23B49A0", VA = "0x1823B59A0")]
|
||||
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: 0x0600CCA5 RID: 52389 RVA: 0x002E8720 File Offset: 0x002E6920
|
||||
[Token(Token = "0x600CCA5")]
|
||||
[Address(RVA = "0x23B5E70", Offset = "0x23B4E70", VA = "0x1823B5E70")]
|
||||
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: 0x1700201C RID: 8220
|
||||
// (get) Token: 0x0600CCA6 RID: 52390 RVA: 0x002E8768 File Offset: 0x002E6968
|
||||
[Token(Token = "0x1700201C")]
|
||||
public virtual AlgorithmIdentifier IntendedAlg
|
||||
{
|
||||
[Token(Token = "0x600CCA6")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.intendedAlg;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700201D RID: 8221
|
||||
// (get) Token: 0x0600CCA7 RID: 52391 RVA: 0x002E877C File Offset: 0x002E697C
|
||||
[Token(Token = "0x1700201D")]
|
||||
public virtual AlgorithmIdentifier SymmAlg
|
||||
{
|
||||
[Token(Token = "0x600CCA7")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.symmAlg;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700201E RID: 8222
|
||||
// (get) Token: 0x0600CCA8 RID: 52392 RVA: 0x002E8790 File Offset: 0x002E6990
|
||||
[Token(Token = "0x1700201E")]
|
||||
public virtual DerBitString EncSymmKey
|
||||
{
|
||||
[Token(Token = "0x600CCA8")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.encSymmKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700201F RID: 8223
|
||||
// (get) Token: 0x0600CCA9 RID: 52393 RVA: 0x002E87A4 File Offset: 0x002E69A4
|
||||
[Token(Token = "0x1700201F")]
|
||||
public virtual AlgorithmIdentifier KeyAlg
|
||||
{
|
||||
[Token(Token = "0x600CCA9")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "9")]
|
||||
get
|
||||
{
|
||||
return this.keyAlg;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002020 RID: 8224
|
||||
// (get) Token: 0x0600CCAA RID: 52394 RVA: 0x002E87B8 File Offset: 0x002E69B8
|
||||
[Token(Token = "0x17002020")]
|
||||
public virtual Asn1OctetString ValueHint
|
||||
{
|
||||
[Token(Token = "0x600CCAA")]
|
||||
[Address(RVA = "0x4157E0", Offset = "0x4147E0", VA = "0x1804157E0", Slot = "10")]
|
||||
get
|
||||
{
|
||||
return this.valueHint;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002021 RID: 8225
|
||||
// (get) Token: 0x0600CCAB RID: 52395 RVA: 0x002E87CC File Offset: 0x002E69CC
|
||||
[Token(Token = "0x17002021")]
|
||||
public virtual DerBitString EncValue
|
||||
{
|
||||
[Token(Token = "0x600CCAB")]
|
||||
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return this.encValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCAC RID: 52396 RVA: 0x002E87E0 File Offset: 0x002E69E0
|
||||
[Token(Token = "0x600CCAC")]
|
||||
[Address(RVA = "0x23B5AA0", Offset = "0x23B4AA0", VA = "0x1823B5AA0", 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: 0x0600CCAD RID: 52397 RVA: 0x002E8880 File Offset: 0x002E6A80
|
||||
[Token(Token = "0x600CCAD")]
|
||||
[Address(RVA = "0x23B58A0", Offset = "0x23B48A0", VA = "0x1823B58A0")]
|
||||
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: 0x040081E0 RID: 33248
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081E0")]
|
||||
private readonly AlgorithmIdentifier intendedAlg;
|
||||
|
||||
// Token: 0x040081E1 RID: 33249
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081E1")]
|
||||
private readonly AlgorithmIdentifier symmAlg;
|
||||
|
||||
// Token: 0x040081E2 RID: 33250
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40081E2")]
|
||||
private readonly DerBitString encSymmKey;
|
||||
|
||||
// Token: 0x040081E3 RID: 33251
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x40081E3")]
|
||||
private readonly AlgorithmIdentifier keyAlg;
|
||||
|
||||
// Token: 0x040081E4 RID: 33252
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40081E4")]
|
||||
private readonly Asn1OctetString valueHint;
|
||||
|
||||
// Token: 0x040081E5 RID: 33253
|
||||
[FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x40081E5")]
|
||||
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: 0x02001FEE RID: 8174
|
||||
[Token(Token = "0x2001FEE")]
|
||||
public class OptionalValidity : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CCAE RID: 52398 RVA: 0x002E88BC File Offset: 0x002E6ABC
|
||||
[Token(Token = "0x600CCAE")]
|
||||
[Address(RVA = "0x23B7DD0", Offset = "0x23B6DD0", VA = "0x1823B7DD0")]
|
||||
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: 0x0600CCAF RID: 52399 RVA: 0x002E8930 File Offset: 0x002E6B30
|
||||
[Token(Token = "0x600CCAF")]
|
||||
[Address(RVA = "0x23B7AC0", Offset = "0x23B6AC0", VA = "0x1823B7AC0")]
|
||||
public static OptionalValidity GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCAF)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17002022 RID: 8226
|
||||
// (get) Token: 0x0600CCB0 RID: 52400 RVA: 0x002E8960 File Offset: 0x002E6B60
|
||||
[Token(Token = "0x17002022")]
|
||||
public virtual Time NotBefore
|
||||
{
|
||||
[Token(Token = "0x600CCB0")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.notBefore;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002023 RID: 8227
|
||||
// (get) Token: 0x0600CCB1 RID: 52401 RVA: 0x002E8974 File Offset: 0x002E6B74
|
||||
[Token(Token = "0x17002023")]
|
||||
public virtual Time NotAfter
|
||||
{
|
||||
[Token(Token = "0x600CCB1")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.notAfter;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCB2 RID: 52402 RVA: 0x002E8988 File Offset: 0x002E6B88
|
||||
[Token(Token = "0x600CCB2")]
|
||||
[Address(RVA = "0x23B7BC0", Offset = "0x23B6BC0", VA = "0x1823B7BC0", 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: 0x040081E6 RID: 33254
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081E6")]
|
||||
private readonly Time notBefore;
|
||||
|
||||
// Token: 0x040081E7 RID: 33255
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081E7")]
|
||||
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: 0x02001FF1 RID: 8177
|
||||
[Token(Token = "0x2001FF1")]
|
||||
public class PKMacValue : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CCC0 RID: 52416 RVA: 0x002E8D88 File Offset: 0x002E6F88
|
||||
[Token(Token = "0x600CCC0")]
|
||||
[Address(RVA = "0x23B8430", Offset = "0x23B7430", VA = "0x1823B8430")]
|
||||
private PKMacValue(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.algID = algorithmIdentifier;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
DerBitString derBitString;
|
||||
this.macValue = derBitString;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCC1 RID: 52417 RVA: 0x002E8DC0 File Offset: 0x002E6FC0
|
||||
[Token(Token = "0x600CCC1")]
|
||||
[Address(RVA = "0x23B7FF0", Offset = "0x23B6FF0", VA = "0x1823B7FF0")]
|
||||
public static PKMacValue GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCC1)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCC2 RID: 52418 RVA: 0x002E8E1C File Offset: 0x002E701C
|
||||
[Token(Token = "0x600CCC2")]
|
||||
[Address(RVA = "0x23B7FD0", Offset = "0x23B6FD0", VA = "0x1823B7FD0")]
|
||||
public static PKMacValue GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return PKMacValue.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600CCC3 RID: 52419 RVA: 0x002E8E38 File Offset: 0x002E7038
|
||||
[Token(Token = "0x600CCC3")]
|
||||
[Address(RVA = "0x23B8370", Offset = "0x23B7370", VA = "0x1823B8370")]
|
||||
public PKMacValue(PbmParameter pbmParams, DerBitString macValue)
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier = new AlgorithmIdentifier(CmpObjectIdentifiers.passwordBasedMac, pbmParams);
|
||||
base..ctor();
|
||||
this.algID = algorithmIdentifier;
|
||||
this.macValue = macValue;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCC4 RID: 52420 RVA: 0x002E8E68 File Offset: 0x002E7068
|
||||
[Token(Token = "0x600CCC4")]
|
||||
[Address(RVA = "0x4714F0", Offset = "0x4704F0", VA = "0x1804714F0")]
|
||||
public PKMacValue(AlgorithmIdentifier algID, DerBitString macValue)
|
||||
{
|
||||
this.algID = algID;
|
||||
this.macValue = macValue;
|
||||
}
|
||||
|
||||
// Token: 0x17002027 RID: 8231
|
||||
// (get) Token: 0x0600CCC5 RID: 52421 RVA: 0x002E8E8C File Offset: 0x002E708C
|
||||
[Token(Token = "0x17002027")]
|
||||
public virtual AlgorithmIdentifier AlgID
|
||||
{
|
||||
[Token(Token = "0x600CCC5")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.algID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002028 RID: 8232
|
||||
// (get) Token: 0x0600CCC6 RID: 52422 RVA: 0x002E8EA0 File Offset: 0x002E70A0
|
||||
[Token(Token = "0x17002028")]
|
||||
public virtual DerBitString MacValue
|
||||
{
|
||||
[Token(Token = "0x600CCC6")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.macValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCC7 RID: 52423 RVA: 0x002E8EB4 File Offset: 0x002E70B4
|
||||
[Token(Token = "0x600CCC7")]
|
||||
[Address(RVA = "0x23B8260", Offset = "0x23B7260", VA = "0x1823B8260", 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: 0x040081EE RID: 33262
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081EE")]
|
||||
private readonly AlgorithmIdentifier algID;
|
||||
|
||||
// Token: 0x040081EF RID: 33263
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081EF")]
|
||||
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: 0x02001FEF RID: 8175
|
||||
[Token(Token = "0x2001FEF")]
|
||||
public class PkiArchiveOptions : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600CCB3 RID: 52403 RVA: 0x002E8A20 File Offset: 0x002E6C20
|
||||
[Token(Token = "0x600CCB3")]
|
||||
[Address(RVA = "0x23B84F0", Offset = "0x23B74F0", VA = "0x1823B84F0")]
|
||||
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: 0x0600CCB4 RID: 52404 RVA: 0x002E8ABC File Offset: 0x002E6CBC
|
||||
[Token(Token = "0x600CCB4")]
|
||||
[Address(RVA = "0x23B89F0", Offset = "0x23B79F0", VA = "0x1823B89F0")]
|
||||
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: 0x0600CCB5 RID: 52405 RVA: 0x002E8B4C File Offset: 0x002E6D4C
|
||||
[Token(Token = "0x600CCB5")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public PkiArchiveOptions(EncryptedKey encKey)
|
||||
{
|
||||
this.value = encKey;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCB6 RID: 52406 RVA: 0x002E8B68 File Offset: 0x002E6D68
|
||||
[Token(Token = "0x600CCB6")]
|
||||
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
||||
public PkiArchiveOptions(Asn1OctetString keyGenParameters)
|
||||
{
|
||||
this.value = keyGenParameters;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCB7 RID: 52407 RVA: 0x002E8B84 File Offset: 0x002E6D84
|
||||
[Token(Token = "0x600CCB7")]
|
||||
[Address(RVA = "0x23B88F0", Offset = "0x23B78F0", VA = "0x1823B88F0")]
|
||||
public PkiArchiveOptions(bool archiveRemGenPrivKey)
|
||||
{
|
||||
if (archiveRemGenPrivKey)
|
||||
{
|
||||
DerBoolean @true = DerBoolean.True;
|
||||
this.value = @true;
|
||||
return;
|
||||
}
|
||||
DerBoolean @false = DerBoolean.False;
|
||||
this.value = @false;
|
||||
}
|
||||
|
||||
// Token: 0x17002024 RID: 8228
|
||||
// (get) Token: 0x0600CCB8 RID: 52408 RVA: 0x002E8BB8 File Offset: 0x002E6DB8
|
||||
[Token(Token = "0x17002024")]
|
||||
public virtual int Type
|
||||
{
|
||||
[Token(Token = "0x600CCB8")]
|
||||
[Address(RVA = "0x23B8B30", Offset = "0x23B7B30", VA = "0x1823B8B30", Slot = "6")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable = this.value;
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
if (asn1Encodable == 0 || asn1Encodable == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
return 2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002025 RID: 8229
|
||||
// (get) Token: 0x0600CCB9 RID: 52409 RVA: 0x002E8BE4 File Offset: 0x002E6DE4
|
||||
[Token(Token = "0x17002025")]
|
||||
public virtual Asn1Encodable Value
|
||||
{
|
||||
[Token(Token = "0x600CCB9")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCBA RID: 52410 RVA: 0x002E8BF8 File Offset: 0x002E6DF8
|
||||
[Token(Token = "0x600CCBA")]
|
||||
[Address(RVA = "0x23B87D0", Offset = "0x23B77D0", VA = "0x1823B87D0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCBA)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x040081E8 RID: 33256
|
||||
[Token(Token = "0x40081E8")]
|
||||
public const int encryptedPrivKey = 0;
|
||||
|
||||
// Token: 0x040081E9 RID: 33257
|
||||
[Token(Token = "0x40081E9")]
|
||||
public const int keyGenParameters = 1;
|
||||
|
||||
// Token: 0x040081EA RID: 33258
|
||||
[Token(Token = "0x40081EA")]
|
||||
public const int archiveRemGenPrivKey = 2;
|
||||
|
||||
// Token: 0x040081EB RID: 33259
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081EB")]
|
||||
private readonly Asn1Encodable value;
|
||||
}
|
||||
}
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FF0 RID: 8176
|
||||
[Token(Token = "0x2001FF0")]
|
||||
public class PkiPublicationInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CCBB RID: 52411 RVA: 0x002E8C44 File Offset: 0x002E6E44
|
||||
[Token(Token = "0x600CCBB")]
|
||||
[Address(RVA = "0x23B9070", Offset = "0x23B8070", VA = "0x1823B9070")]
|
||||
private PkiPublicationInfo(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DerInteger derInteger;
|
||||
this.action = derInteger;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
Asn1Sequence asn1Sequence;
|
||||
this.pubInfos = asn1Sequence;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCBC RID: 52412 RVA: 0x002E8C7C File Offset: 0x002E6E7C
|
||||
[Token(Token = "0x600CCBC")]
|
||||
[Address(RVA = "0x23B8C00", Offset = "0x23B7C00", VA = "0x1823B8C00")]
|
||||
public static PkiPublicationInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCBC)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17002026 RID: 8230
|
||||
// (get) Token: 0x0600CCBD RID: 52413 RVA: 0x002E8CDC File Offset: 0x002E6EDC
|
||||
[Token(Token = "0x17002026")]
|
||||
public virtual DerInteger Action
|
||||
{
|
||||
[Token(Token = "0x600CCBD")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.action;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCBE RID: 52414 RVA: 0x002E8CF0 File Offset: 0x002E6EF0
|
||||
[Token(Token = "0x600CCBE")]
|
||||
[Address(RVA = "0x23B8E40", Offset = "0x23B7E40", VA = "0x1823B8E40", 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: 0x0600CCBF RID: 52415 RVA: 0x002E8D40 File Offset: 0x002E6F40
|
||||
[Token(Token = "0x600CCBF")]
|
||||
[Address(RVA = "0x23B8F60", Offset = "0x23B7F60", VA = "0x1823B8F60", 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: 0x040081EC RID: 33260
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081EC")]
|
||||
private readonly DerInteger action;
|
||||
|
||||
// Token: 0x040081ED RID: 33261
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081ED")]
|
||||
private readonly Asn1Sequence pubInfos;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,141 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FF2 RID: 8178
|
||||
[Token(Token = "0x2001FF2")]
|
||||
public class PopoPrivKey : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600CCC8 RID: 52424 RVA: 0x002E8EFC File Offset: 0x002E70FC
|
||||
[Token(Token = "0x600CCC8")]
|
||||
[Address(RVA = "0x23B9210", Offset = "0x23B8210", VA = "0x1823B9210")]
|
||||
private PopoPrivKey(Asn1TaggedObject obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCC8)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCC9 RID: 52425 RVA: 0x002E8FEC File Offset: 0x002E71EC
|
||||
[Token(Token = "0x600CCC9")]
|
||||
[Address(RVA = "0x23B90F0", Offset = "0x23B80F0", VA = "0x1823B90F0")]
|
||||
public static PopoPrivKey GetInstance(Asn1TaggedObject tagged, bool isExplicit)
|
||||
{
|
||||
return new PopoPrivKey(Asn1TaggedObject.GetInstance(tagged.GetObject()));
|
||||
}
|
||||
|
||||
// Token: 0x0600CCCA RID: 52426 RVA: 0x002E9010 File Offset: 0x002E7210
|
||||
[Token(Token = "0x600CCCA")]
|
||||
[Address(RVA = "0x23B91E0", Offset = "0x23B81E0", VA = "0x1823B91E0")]
|
||||
public PopoPrivKey(SubsequentMessage msg)
|
||||
{
|
||||
this.tagNo = (int)((ulong)1L);
|
||||
this.obj = msg;
|
||||
}
|
||||
|
||||
// Token: 0x17002029 RID: 8233
|
||||
// (get) Token: 0x0600CCCB RID: 52427 RVA: 0x002E9034 File Offset: 0x002E7234
|
||||
[Token(Token = "0x17002029")]
|
||||
public virtual int Type
|
||||
{
|
||||
[Token(Token = "0x600CCCB")]
|
||||
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.tagNo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700202A RID: 8234
|
||||
// (get) Token: 0x0600CCCC RID: 52428 RVA: 0x002E9048 File Offset: 0x002E7248
|
||||
[Token(Token = "0x1700202A")]
|
||||
public virtual Asn1Encodable Value
|
||||
{
|
||||
[Token(Token = "0x600CCCC")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.obj;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCCD RID: 52429 RVA: 0x002E905C File Offset: 0x002E725C
|
||||
[Token(Token = "0x600CCCD")]
|
||||
[Address(RVA = "0x23B9170", Offset = "0x23B8170", VA = "0x1823B9170", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCCD)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x040081F0 RID: 33264
|
||||
[Token(Token = "0x40081F0")]
|
||||
public const int thisMessage = 0;
|
||||
|
||||
// Token: 0x040081F1 RID: 33265
|
||||
[Token(Token = "0x40081F1")]
|
||||
public const int subsequentMessage = 1;
|
||||
|
||||
// Token: 0x040081F2 RID: 33266
|
||||
[Token(Token = "0x40081F2")]
|
||||
public const int dhMAC = 2;
|
||||
|
||||
// Token: 0x040081F3 RID: 33267
|
||||
[Token(Token = "0x40081F3")]
|
||||
public const int agreeMAC = 3;
|
||||
|
||||
// Token: 0x040081F4 RID: 33268
|
||||
[Token(Token = "0x40081F4")]
|
||||
public const int encryptedKey = 4;
|
||||
|
||||
// Token: 0x040081F5 RID: 33269
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081F5")]
|
||||
private readonly int tagNo;
|
||||
|
||||
// Token: 0x040081F6 RID: 33270
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081F6")]
|
||||
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: 0x02001FF3 RID: 8179
|
||||
[Token(Token = "0x2001FF3")]
|
||||
public class PopoSigningKey : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CCCE RID: 52430 RVA: 0x002E9084 File Offset: 0x002E7284
|
||||
[Token(Token = "0x600CCCE")]
|
||||
[Address(RVA = "0x23B9F60", Offset = "0x23B8F60", VA = "0x1823B9F60")]
|
||||
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: 0x0600CCCF RID: 52431 RVA: 0x002E90F4 File Offset: 0x002E72F4
|
||||
[Token(Token = "0x600CCCF")]
|
||||
[Address(RVA = "0x23B9AF0", Offset = "0x23B8AF0", VA = "0x1823B9AF0")]
|
||||
public static PopoSigningKey GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCCF)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCD0 RID: 52432 RVA: 0x002E9144 File Offset: 0x002E7344
|
||||
[Token(Token = "0x600CCD0")]
|
||||
[Address(RVA = "0x23B9CE0", Offset = "0x23B8CE0", VA = "0x1823B9CE0")]
|
||||
public static PopoSigningKey GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
return PopoSigningKey.GetInstance(Asn1Sequence.GetInstance(obj, isExplicit));
|
||||
}
|
||||
|
||||
// Token: 0x0600CCD1 RID: 52433 RVA: 0x002E9160 File Offset: 0x002E7360
|
||||
[Token(Token = "0x600CCD1")]
|
||||
[Address(RVA = "0xED6DA0", Offset = "0xED5DA0", VA = "0x180ED6DA0")]
|
||||
public PopoSigningKey(PopoSigningKeyInput poposkIn, AlgorithmIdentifier aid, DerBitString signature)
|
||||
{
|
||||
this.poposkInput = poposkIn;
|
||||
this.algorithmIdentifier = aid;
|
||||
this.signature = signature;
|
||||
}
|
||||
|
||||
// Token: 0x1700202B RID: 8235
|
||||
// (get) Token: 0x0600CCD2 RID: 52434 RVA: 0x002E9188 File Offset: 0x002E7388
|
||||
[Token(Token = "0x1700202B")]
|
||||
public virtual PopoSigningKeyInput PoposkInput
|
||||
{
|
||||
[Token(Token = "0x600CCD2")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.poposkInput;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700202C RID: 8236
|
||||
// (get) Token: 0x0600CCD3 RID: 52435 RVA: 0x002E919C File Offset: 0x002E739C
|
||||
[Token(Token = "0x1700202C")]
|
||||
public virtual AlgorithmIdentifier AlgorithmIdentifier
|
||||
{
|
||||
[Token(Token = "0x600CCD3")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.algorithmIdentifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700202D RID: 8237
|
||||
// (get) Token: 0x0600CCD4 RID: 52436 RVA: 0x002E91B0 File Offset: 0x002E73B0
|
||||
[Token(Token = "0x1700202D")]
|
||||
public virtual DerBitString Signature
|
||||
{
|
||||
[Token(Token = "0x600CCD4")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.signature;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCD5 RID: 52437 RVA: 0x002E91C4 File Offset: 0x002E73C4
|
||||
[Token(Token = "0x600CCD5")]
|
||||
[Address(RVA = "0x23B9D00", Offset = "0x23B8D00", VA = "0x1823B9D00", 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: 0x040081F7 RID: 33271
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081F7")]
|
||||
private readonly PopoSigningKeyInput poposkInput;
|
||||
|
||||
// Token: 0x040081F8 RID: 33272
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081F8")]
|
||||
private readonly AlgorithmIdentifier algorithmIdentifier;
|
||||
|
||||
// Token: 0x040081F9 RID: 33273
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40081F9")]
|
||||
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: 0x02001FF4 RID: 8180
|
||||
[Token(Token = "0x2001FF4")]
|
||||
public class PopoSigningKeyInput : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CCD6 RID: 52438 RVA: 0x002E926C File Offset: 0x002E746C
|
||||
[Token(Token = "0x600CCD6")]
|
||||
[Address(RVA = "0x23B98B0", Offset = "0x23B88B0", VA = "0x1823B98B0")]
|
||||
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: 0x0600CCD7 RID: 52439 RVA: 0x002E92C4 File Offset: 0x002E74C4
|
||||
[Token(Token = "0x600CCD7")]
|
||||
[Address(RVA = "0x23B9490", Offset = "0x23B8490", VA = "0x1823B9490")]
|
||||
public static PopoSigningKeyInput GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCD7)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCD8 RID: 52440 RVA: 0x002E9314 File Offset: 0x002E7514
|
||||
[Token(Token = "0x600CCD8")]
|
||||
[Address(RVA = "0x23B9AB0", Offset = "0x23B8AB0", VA = "0x1823B9AB0")]
|
||||
public PopoSigningKeyInput(GeneralName sender, SubjectPublicKeyInfo spki)
|
||||
{
|
||||
this.sender = sender;
|
||||
this.publicKey = spki;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCD9 RID: 52441 RVA: 0x002E9338 File Offset: 0x002E7538
|
||||
[Token(Token = "0x600CCD9")]
|
||||
[Address(RVA = "0x23B9A70", Offset = "0x23B8A70", VA = "0x1823B9A70")]
|
||||
public PopoSigningKeyInput(PKMacValue pkmac, SubjectPublicKeyInfo spki)
|
||||
{
|
||||
this.publicKeyMac = pkmac;
|
||||
this.publicKey = spki;
|
||||
}
|
||||
|
||||
// Token: 0x1700202E RID: 8238
|
||||
// (get) Token: 0x0600CCDA RID: 52442 RVA: 0x002E935C File Offset: 0x002E755C
|
||||
[Token(Token = "0x1700202E")]
|
||||
public virtual GeneralName Sender
|
||||
{
|
||||
[Token(Token = "0x600CCDA")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.sender;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x1700202F RID: 8239
|
||||
// (get) Token: 0x0600CCDB RID: 52443 RVA: 0x002E9370 File Offset: 0x002E7570
|
||||
[Token(Token = "0x1700202F")]
|
||||
public virtual PKMacValue PublicKeyMac
|
||||
{
|
||||
[Token(Token = "0x600CCDB")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.publicKeyMac;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002030 RID: 8240
|
||||
// (get) Token: 0x0600CCDC RID: 52444 RVA: 0x002E9384 File Offset: 0x002E7584
|
||||
[Token(Token = "0x17002030")]
|
||||
public virtual SubjectPublicKeyInfo PublicKey
|
||||
{
|
||||
[Token(Token = "0x600CCDC")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.publicKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCDD RID: 52445 RVA: 0x002E9398 File Offset: 0x002E7598
|
||||
[Token(Token = "0x600CCDD")]
|
||||
[Address(RVA = "0x23B9680", Offset = "0x23B8680", VA = "0x1823B9680", 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: 0x040081FA RID: 33274
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40081FA")]
|
||||
private readonly GeneralName sender;
|
||||
|
||||
// Token: 0x040081FB RID: 33275
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40081FB")]
|
||||
private readonly PKMacValue publicKeyMac;
|
||||
|
||||
// Token: 0x040081FC RID: 33276
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x40081FC")]
|
||||
private readonly SubjectPublicKeyInfo publicKey;
|
||||
}
|
||||
}
|
||||
+201
@@ -0,0 +1,201 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FF5 RID: 8181
|
||||
[Token(Token = "0x2001FF5")]
|
||||
public class ProofOfPossession : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600CCDE RID: 52446 RVA: 0x002E9438 File Offset: 0x002E7638
|
||||
[Token(Token = "0x600CCDE")]
|
||||
[Address(RVA = "0x23BA5C0", Offset = "0x23B95C0", VA = "0x1823BA5C0")]
|
||||
private ProofOfPossession(Asn1TaggedObject tagged)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCDE)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCDF RID: 52447 RVA: 0x002E94BC File Offset: 0x002E76BC
|
||||
[Token(Token = "0x600CCDF")]
|
||||
[Address(RVA = "0x23BA1A0", Offset = "0x23B91A0", VA = "0x1823BA1A0")]
|
||||
public static ProofOfPossession GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCDF)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCE0 RID: 52448 RVA: 0x002E9590 File Offset: 0x002E7790
|
||||
[Token(Token = "0x600CCE0")]
|
||||
[Address(RVA = "0x23BA540", Offset = "0x23B9540", VA = "0x1823BA540")]
|
||||
public ProofOfPossession()
|
||||
{
|
||||
this.tagNo = (int)((ulong)0L);
|
||||
DerNull instance = DerNull.Instance;
|
||||
this.obj = instance;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCE1 RID: 52449 RVA: 0x002E95BC File Offset: 0x002E77BC
|
||||
[Token(Token = "0x600CCE1")]
|
||||
[Address(RVA = "0x23B91E0", Offset = "0x23B81E0", VA = "0x1823B91E0")]
|
||||
public ProofOfPossession(PopoSigningKey Poposk)
|
||||
{
|
||||
this.tagNo = (int)((ulong)1L);
|
||||
this.obj = Poposk;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCE2 RID: 52450 RVA: 0x002E95E0 File Offset: 0x002E77E0
|
||||
[Token(Token = "0x600CCE2")]
|
||||
[Address(RVA = "0xA3B760", Offset = "0xA3A760", VA = "0x180A3B760")]
|
||||
public ProofOfPossession(int type, PopoPrivKey privkey)
|
||||
{
|
||||
this.tagNo = type;
|
||||
this.obj = privkey;
|
||||
}
|
||||
|
||||
// Token: 0x17002031 RID: 8241
|
||||
// (get) Token: 0x0600CCE3 RID: 52451 RVA: 0x002E9604 File Offset: 0x002E7804
|
||||
[Token(Token = "0x17002031")]
|
||||
public virtual int Type
|
||||
{
|
||||
[Token(Token = "0x600CCE3")]
|
||||
[Address(RVA = "0x40F000", Offset = "0x40E000", VA = "0x18040F000", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.tagNo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002032 RID: 8242
|
||||
// (get) Token: 0x0600CCE4 RID: 52452 RVA: 0x002E9618 File Offset: 0x002E7818
|
||||
[Token(Token = "0x17002032")]
|
||||
public virtual Asn1Encodable Object
|
||||
{
|
||||
[Token(Token = "0x600CCE4")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return this.obj;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCE5 RID: 52453 RVA: 0x002E962C File Offset: 0x002E782C
|
||||
[Token(Token = "0x600CCE5")]
|
||||
[Address(RVA = "0x23BA4D0", Offset = "0x23B94D0", VA = "0x1823BA4D0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCE5)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x040081FD RID: 33277
|
||||
[Token(Token = "0x40081FD")]
|
||||
public const int TYPE_RA_VERIFIED = 0;
|
||||
|
||||
// Token: 0x040081FE RID: 33278
|
||||
[Token(Token = "0x40081FE")]
|
||||
public const int TYPE_SIGNING_KEY = 1;
|
||||
|
||||
// Token: 0x040081FF RID: 33279
|
||||
[Token(Token = "0x40081FF")]
|
||||
public const int TYPE_KEY_ENCIPHERMENT = 2;
|
||||
|
||||
// Token: 0x04008200 RID: 33280
|
||||
[Token(Token = "0x4008200")]
|
||||
public const int TYPE_KEY_AGREEMENT = 3;
|
||||
|
||||
// Token: 0x04008201 RID: 33281
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008201")]
|
||||
private readonly int tagNo;
|
||||
|
||||
// Token: 0x04008202 RID: 33282
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008202")]
|
||||
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: 0x02001FF6 RID: 8182
|
||||
[Token(Token = "0x2001FF6")]
|
||||
public class SinglePubInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CCE6 RID: 52454 RVA: 0x002E9654 File Offset: 0x002E7854
|
||||
[Token(Token = "0x600CCE6")]
|
||||
[Address(RVA = "0x23BC320", Offset = "0x23BB320", VA = "0x1823BC320")]
|
||||
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: 0x0600CCE7 RID: 52455 RVA: 0x002E9690 File Offset: 0x002E7890
|
||||
[Token(Token = "0x600CCE7")]
|
||||
[Address(RVA = "0x23BBF60", Offset = "0x23BAF60", VA = "0x1823BBF60")]
|
||||
public static SinglePubInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCE7)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x17002033 RID: 8243
|
||||
// (get) Token: 0x0600CCE8 RID: 52456 RVA: 0x002E96F0 File Offset: 0x002E78F0
|
||||
[Token(Token = "0x17002033")]
|
||||
public virtual GeneralName PubLocation
|
||||
{
|
||||
[Token(Token = "0x600CCE8")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.pubLocation;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CCE9 RID: 52457 RVA: 0x002E9704 File Offset: 0x002E7904
|
||||
[Token(Token = "0x600CCE9")]
|
||||
[Address(RVA = "0x23BC1B0", Offset = "0x23BB1B0", VA = "0x1823BC1B0", 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: 0x04008203 RID: 33283
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008203")]
|
||||
private readonly DerInteger pubMethod;
|
||||
|
||||
// Token: 0x04008204 RID: 33284
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008204")]
|
||||
private readonly GeneralName pubLocation;
|
||||
}
|
||||
}
|
||||
+71
@@ -0,0 +1,71 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
|
||||
{
|
||||
// Token: 0x02001FF7 RID: 8183
|
||||
[Token(Token = "0x2001FF7")]
|
||||
public class SubsequentMessage : DerInteger
|
||||
{
|
||||
// Token: 0x0600CCEA RID: 52458 RVA: 0x002E9764 File Offset: 0x002E7964
|
||||
[Token(Token = "0x600CCEA")]
|
||||
[Address(RVA = "0x23BC550", Offset = "0x23BB550", VA = "0x1823BC550")]
|
||||
private SubsequentMessage(int value)
|
||||
: base(value)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600CCEB RID: 52459 RVA: 0x002E9778 File Offset: 0x002E7978
|
||||
[Token(Token = "0x600CCEB")]
|
||||
[Address(RVA = "0x23BC3B0", Offset = "0x23BB3B0", VA = "0x1823BC3B0")]
|
||||
public static SubsequentMessage ValueOf(int value)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CCEB)
|
||||
|
||||
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 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CCEC RID: 52460 RVA: 0x002E97B0 File Offset: 0x002E79B0
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600CCEC")]
|
||||
[Address(RVA = "0x23BC4C0", Offset = "0x23BB4C0", VA = "0x1823BC4C0")]
|
||||
static SubsequentMessage()
|
||||
{
|
||||
int num;
|
||||
SubsequentMessage subsequentMessage = new SubsequentMessage(num);
|
||||
num = 0;
|
||||
SubsequentMessage.encrCert = subsequentMessage;
|
||||
SubsequentMessage.challengeResp = new SubsequentMessage(1);
|
||||
}
|
||||
|
||||
// Token: 0x04008205 RID: 33285
|
||||
[Token(Token = "0x4008205")]
|
||||
public static readonly SubsequentMessage encrCert;
|
||||
|
||||
// Token: 0x04008206 RID: 33286
|
||||
[Token(Token = "0x4008206")]
|
||||
public static readonly SubsequentMessage challengeResp;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user