scripts
This commit is contained in:
@@ -0,0 +1,133 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018A7 RID: 6311
|
||||
[Token(Token = "0x20018A7")]
|
||||
[StructLayout(3)]
|
||||
public class AttributePkcs : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A98C RID: 43404 RVA: 0x00278B64 File Offset: 0x00276D64
|
||||
[Token(Token = "0x600A98C")]
|
||||
[Address(RVA = "0x27C8FB0", Offset = "0x27C79B0", VA = "0x1827C8FB0")]
|
||||
public static AttributePkcs GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A98C)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.AttributePkcs BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.AttributePkcs::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_3B:
|
||||
stloc:string(var_7_41, call:string(Platform::GetTypeName, ldloc:AttributePkcs[exp:object](var_3)))
|
||||
stloc:ArgumentException(var_8_59, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in factory: "), ldloc:string(var_7_41)), 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: 0x0600A98D RID: 43405 RVA: 0x00278BCC File Offset: 0x00276DCC
|
||||
[Token(Token = "0x600A98D")]
|
||||
[Address(RVA = "0x27C9300", Offset = "0x27C7D00", VA = "0x1827C9300")]
|
||||
private AttributePkcs(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A98D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.AttributePkcs::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:ArgumentException(var_5_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A98E RID: 43406 RVA: 0x00278C1C File Offset: 0x00276E1C
|
||||
[Token(Token = "0x600A98E")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public AttributePkcs(DerObjectIdentifier attrType, Asn1Set attrValues)
|
||||
{
|
||||
this.attrType = attrType;
|
||||
this.attrValues = attrValues;
|
||||
}
|
||||
|
||||
// Token: 0x17001A95 RID: 6805
|
||||
// (get) Token: 0x0600A98F RID: 43407 RVA: 0x00278C40 File Offset: 0x00276E40
|
||||
[Token(Token = "0x17001A95")]
|
||||
public DerObjectIdentifier AttrType
|
||||
{
|
||||
[Token(Token = "0x600A98F")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.attrType;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A96 RID: 6806
|
||||
// (get) Token: 0x0600A990 RID: 43408 RVA: 0x00278C54 File Offset: 0x00276E54
|
||||
[Token(Token = "0x17001A96")]
|
||||
public Asn1Set AttrValues
|
||||
{
|
||||
[Token(Token = "0x600A990")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.attrValues;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A991 RID: 43409 RVA: 0x00278C68 File Offset: 0x00276E68
|
||||
[Token(Token = "0x600A991")]
|
||||
[Address(RVA = "0x27C91F0", Offset = "0x27C7BF0", VA = "0x1827C91F0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier = this.attrType;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1Set asn1Set = this.attrValues;
|
||||
if (asn1Set != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Set;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EB5 RID: 28341
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EB5")]
|
||||
private readonly DerObjectIdentifier attrType;
|
||||
|
||||
// Token: 0x04006EB6 RID: 28342
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006EB6")]
|
||||
private readonly Asn1Set attrValues;
|
||||
}
|
||||
}
|
||||
+81
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018A8 RID: 6312
|
||||
[Token(Token = "0x20018A8")]
|
||||
[StructLayout(3)]
|
||||
public class AuthenticatedSafe : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A992 RID: 43410 RVA: 0x00278CB0 File Offset: 0x00276EB0
|
||||
[Token(Token = "0x600A992")]
|
||||
[Address(RVA = "0x27C9500", Offset = "0x27C7F00", VA = "0x1827C9500")]
|
||||
public AuthenticatedSafe(Asn1Sequence seq)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
ContentInfo[] array = new ContentInfo[asn1Encodable];
|
||||
int num = 0;
|
||||
this.info = array;
|
||||
if (num != array.Length)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
ContentInfo contentInfo;
|
||||
if (contentInfo != 0)
|
||||
{
|
||||
}
|
||||
num++;
|
||||
array[0] = contentInfo;
|
||||
ContentInfo[] array2 = this.info;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A993 RID: 43411 RVA: 0x00278D04 File Offset: 0x00276F04
|
||||
[Token(Token = "0x600A993")]
|
||||
[Address(RVA = "0x27C9630", Offset = "0x27C8030", VA = "0x1827C9630")]
|
||||
public AuthenticatedSafe(ContentInfo[] info)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A994 RID: 43412 RVA: 0x00278D20 File Offset: 0x00276F20
|
||||
[Token(Token = "0x600A994")]
|
||||
[Address(RVA = "0x27C9420", Offset = "0x27C7E20", VA = "0x1827C9420")]
|
||||
public ContentInfo[] GetContentInfo()
|
||||
{
|
||||
ContentInfo[] array = this.info;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A995 RID: 43413 RVA: 0x00278D3C File Offset: 0x00276F3C
|
||||
[Token(Token = "0x600A995")]
|
||||
[Address(RVA = "0x27C94A0", Offset = "0x27C7EA0", VA = "0x1827C94A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A995)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Object BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.AuthenticatedSafe::ToAsn1Object()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:BerSequence(var_0_0B, newobj:BerSequence(BerSequence::.ctor, ldfld:class BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.ContentInfo[][exp:class BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable[]](AuthenticatedSafe::info, ldloc:AuthenticatedSafe(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: 0x04006EB7 RID: 28343
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EB7")]
|
||||
private readonly ContentInfo[] info;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018A9 RID: 6313
|
||||
[Token(Token = "0x20018A9")]
|
||||
[StructLayout(3)]
|
||||
public class CertBag : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A996 RID: 43414 RVA: 0x00278D54 File Offset: 0x00276F54
|
||||
[Token(Token = "0x600A996")]
|
||||
[Address(RVA = "0x27CA3B0", Offset = "0x27C8DB0", VA = "0x1827CA3B0")]
|
||||
public CertBag(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A996)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.CertBag::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:ArgumentException(var_6_48, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A997 RID: 43415 RVA: 0x00278DAC File Offset: 0x00276FAC
|
||||
[Token(Token = "0x600A997")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public CertBag(DerObjectIdentifier certID, Asn1Object certValue)
|
||||
{
|
||||
this.certID = certID;
|
||||
this.certValue = certValue;
|
||||
}
|
||||
|
||||
// Token: 0x17001A97 RID: 6807
|
||||
// (get) Token: 0x0600A998 RID: 43416 RVA: 0x00278DD0 File Offset: 0x00276FD0
|
||||
[Token(Token = "0x17001A97")]
|
||||
public DerObjectIdentifier CertID
|
||||
{
|
||||
[Token(Token = "0x600A998")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.certID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A98 RID: 6808
|
||||
// (get) Token: 0x0600A999 RID: 43417 RVA: 0x00278DE4 File Offset: 0x00276FE4
|
||||
[Token(Token = "0x17001A98")]
|
||||
public Asn1Object CertValue
|
||||
{
|
||||
[Token(Token = "0x600A999")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.certValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A99A RID: 43418 RVA: 0x00278DF8 File Offset: 0x00276FF8
|
||||
[Token(Token = "0x600A99A")]
|
||||
[Address(RVA = "0x27CA270", Offset = "0x27C8C70", VA = "0x1827CA270", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier = this.certID;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1Object asn1Object = this.certValue;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num, asn1Object);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derTaggedObject;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EB8 RID: 28344
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EB8")]
|
||||
private readonly DerObjectIdentifier certID;
|
||||
|
||||
// Token: 0x04006EB9 RID: 28345
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006EB9")]
|
||||
private readonly Asn1Object certValue;
|
||||
}
|
||||
}
|
||||
+162
@@ -0,0 +1,162 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018AA RID: 6314
|
||||
[Token(Token = "0x20018AA")]
|
||||
[StructLayout(3)]
|
||||
public class CertificationRequest : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A99B RID: 43419 RVA: 0x00278E4C File Offset: 0x0027704C
|
||||
[Token(Token = "0x600A99B")]
|
||||
[Address(RVA = "0x27CB930", Offset = "0x27CA330", VA = "0x1827CB930")]
|
||||
public static CertificationRequest GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
if (obj != 0)
|
||||
{
|
||||
CertificationRequest certificationRequest;
|
||||
return certificationRequest;
|
||||
}
|
||||
}
|
||||
else if (obj != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A99C RID: 43420 RVA: 0x00278E78 File Offset: 0x00277078
|
||||
[Token(Token = "0x600A99C")]
|
||||
[Address(RVA = "0x3D4170", Offset = "0x3D2B70", VA = "0x1803D4170")]
|
||||
protected CertificationRequest()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A99D RID: 43421 RVA: 0x00278E8C File Offset: 0x0027708C
|
||||
[Token(Token = "0x600A99D")]
|
||||
[Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")]
|
||||
public CertificationRequest(CertificationRequestInfo requestInfo, AlgorithmIdentifier algorithm, DerBitString signature)
|
||||
{
|
||||
this.reqInfo = requestInfo;
|
||||
this.sigAlgId = algorithm;
|
||||
this.sigBits = signature;
|
||||
}
|
||||
|
||||
// Token: 0x0600A99E RID: 43422 RVA: 0x00278EB4 File Offset: 0x002770B4
|
||||
[Token(Token = "0x600A99E")]
|
||||
[Address(RVA = "0x27CBBE0", Offset = "0x27CA5E0", VA = "0x1827CBBE0")]
|
||||
[Obsolete]
|
||||
public CertificationRequest(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A99E)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.CertificationRequest::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_61:
|
||||
stloc:ArgumentException(var_12_70, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A99F RID: 43423 RVA: 0x00278F34 File Offset: 0x00277134
|
||||
[Token(Token = "0x600A99F")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
public CertificationRequestInfo GetCertificationRequestInfo()
|
||||
{
|
||||
return this.reqInfo;
|
||||
}
|
||||
|
||||
// Token: 0x17001A99 RID: 6809
|
||||
// (get) Token: 0x0600A9A0 RID: 43424 RVA: 0x00278F48 File Offset: 0x00277148
|
||||
[Token(Token = "0x17001A99")]
|
||||
public AlgorithmIdentifier SignatureAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600A9A0")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.sigAlgId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A9A RID: 6810
|
||||
// (get) Token: 0x0600A9A1 RID: 43425 RVA: 0x00278F5C File Offset: 0x0027715C
|
||||
[Token(Token = "0x17001A9A")]
|
||||
public DerBitString Signature
|
||||
{
|
||||
[Token(Token = "0x600A9A1")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.sigBits;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9A2 RID: 43426 RVA: 0x00278F70 File Offset: 0x00277170
|
||||
[Token(Token = "0x600A9A2")]
|
||||
[Address(RVA = "0xE583F0", Offset = "0xE56DF0", VA = "0x180E583F0")]
|
||||
public byte[] GetSignatureOctets()
|
||||
{
|
||||
Asn1Object asn1Object = this.sigBits.ToAsn1Object();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A9A3 RID: 43427 RVA: 0x00278F90 File Offset: 0x00277190
|
||||
[Token(Token = "0x600A9A3")]
|
||||
[Address(RVA = "0x27CBA70", Offset = "0x27CA470", VA = "0x1827CBA70", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
CertificationRequestInfo certificationRequestInfo = this.reqInfo;
|
||||
if (certificationRequestInfo != 0)
|
||||
{
|
||||
}
|
||||
array[0] = certificationRequestInfo;
|
||||
AlgorithmIdentifier algorithmIdentifier = this.sigAlgId;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[1] = algorithmIdentifier;
|
||||
DerBitString derBitString = this.sigBits;
|
||||
if (derBitString != 0)
|
||||
{
|
||||
}
|
||||
array[2] = derBitString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EBA RID: 28346
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EBA")]
|
||||
protected CertificationRequestInfo reqInfo;
|
||||
|
||||
// Token: 0x04006EBB RID: 28347
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006EBB")]
|
||||
protected AlgorithmIdentifier sigAlgId;
|
||||
|
||||
// Token: 0x04006EBC RID: 28348
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006EBC")]
|
||||
protected DerBitString sigBits;
|
||||
}
|
||||
}
|
||||
+250
@@ -0,0 +1,250 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018AB RID: 6315
|
||||
[Token(Token = "0x20018AB")]
|
||||
[StructLayout(3)]
|
||||
public class CertificationRequestInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9A4 RID: 43428 RVA: 0x00278FEC File Offset: 0x002771EC
|
||||
[Token(Token = "0x600A9A4")]
|
||||
[Address(RVA = "0x27CB000", Offset = "0x27C9A00", VA = "0x1827CB000")]
|
||||
public static CertificationRequestInfo GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
return new CertificationRequestInfo(instance);
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9A5 RID: 43429 RVA: 0x00279020 File Offset: 0x00277220
|
||||
[Token(Token = "0x600A9A5")]
|
||||
[Address(RVA = "0x27CB850", Offset = "0x27CA250", VA = "0x1827CB850")]
|
||||
public CertificationRequestInfo(X509Name subject, SubjectPublicKeyInfo pkInfo, Asn1Set attributes)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9A5)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.CertificationRequestInfo::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.X509Name,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509.SubjectPublicKeyInfo,BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Set)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_4C:
|
||||
stloc:ArgumentException(var_2_56, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Not all mandatory fields set in CertificationRequestInfo generator.")))
|
||||
}
|
||||
|
||||
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: 0x0600A9A6 RID: 43430 RVA: 0x00279084 File Offset: 0x00277284
|
||||
[Token(Token = "0x600A9A6")]
|
||||
[Address(RVA = "0x27CB600", Offset = "0x27CA000", VA = "0x1827CB600")]
|
||||
private CertificationRequestInfo(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9A6)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.CertificationRequestInfo::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_9F:
|
||||
stloc:ArgumentException(var_12_A9, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Not all mandatory fields set in CertificationRequestInfo generator.")))
|
||||
}
|
||||
|
||||
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: 0x17001A9B RID: 6811
|
||||
// (get) Token: 0x0600A9A7 RID: 43431 RVA: 0x0027913C File Offset: 0x0027733C
|
||||
[Token(Token = "0x17001A9B")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600A9A7")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A9C RID: 6812
|
||||
// (get) Token: 0x0600A9A8 RID: 43432 RVA: 0x00279150 File Offset: 0x00277350
|
||||
[Token(Token = "0x17001A9C")]
|
||||
public X509Name Subject
|
||||
{
|
||||
[Token(Token = "0x600A9A8")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.subject;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A9D RID: 6813
|
||||
// (get) Token: 0x0600A9A9 RID: 43433 RVA: 0x00279164 File Offset: 0x00277364
|
||||
[Token(Token = "0x17001A9D")]
|
||||
public SubjectPublicKeyInfo SubjectPublicKeyInfo
|
||||
{
|
||||
[Token(Token = "0x600A9A9")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.subjectPKInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001A9E RID: 6814
|
||||
// (get) Token: 0x0600A9AA RID: 43434 RVA: 0x00279178 File Offset: 0x00277378
|
||||
[Token(Token = "0x17001A9E")]
|
||||
public Asn1Set Attributes
|
||||
{
|
||||
[Token(Token = "0x600A9AA")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.attributes;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9AB RID: 43435 RVA: 0x0027918C File Offset: 0x0027738C
|
||||
[Token(Token = "0x600A9AB")]
|
||||
[Address(RVA = "0x27CB100", Offset = "0x27C9B00", VA = "0x1827CB100", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
DerInteger derInteger = this.version;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
X509Name x509Name = this.subject;
|
||||
if (x509Name != 0)
|
||||
{
|
||||
}
|
||||
array[1] = x509Name;
|
||||
SubjectPublicKeyInfo subjectPublicKeyInfo = this.subjectPKInfo;
|
||||
if (subjectPublicKeyInfo != 0)
|
||||
{
|
||||
}
|
||||
array[2] = subjectPublicKeyInfo;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.attributes != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Set asn1Set = this.attributes;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, asn1Set);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A9AC RID: 43436 RVA: 0x00279238 File Offset: 0x00277438
|
||||
[Token(Token = "0x600A9AC")]
|
||||
[Address(RVA = "0x27CB350", Offset = "0x27C9D50", VA = "0x1827CB350")]
|
||||
private static void ValidateAttributes(Asn1Set attributes)
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
if (attributes == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
IEnumerator enumerator = attributes.GetEnumerator();
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
if (enumerator == 0 || enumerator == 0)
|
||||
{
|
||||
goto IL_62;
|
||||
}
|
||||
AttributePkcs attributePkcs;
|
||||
DerObjectIdentifier attrType = attributePkcs.attrType;
|
||||
Asn1Set attrValues = attributePkcs.attrValues;
|
||||
if (asn1Encodable != (ulong)1L)
|
||||
{
|
||||
goto IL_44;
|
||||
}
|
||||
}
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
return;
|
||||
IL_44:
|
||||
ArgumentException ex = new ArgumentException("challengePassword attribute must have one value");
|
||||
throw new NullReferenceException();
|
||||
IL_62:
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EBD RID: 28349
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EBD")]
|
||||
internal DerInteger version;
|
||||
|
||||
// Token: 0x04006EBE RID: 28350
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006EBE")]
|
||||
internal X509Name subject;
|
||||
|
||||
// Token: 0x04006EBF RID: 28351
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006EBF")]
|
||||
internal SubjectPublicKeyInfo subjectPKInfo;
|
||||
|
||||
// Token: 0x04006EC0 RID: 28352
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006EC0")]
|
||||
internal Asn1Set attributes;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,131 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018AC RID: 6316
|
||||
[Token(Token = "0x20018AC")]
|
||||
[StructLayout(3)]
|
||||
public class ContentInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9AD RID: 43437 RVA: 0x002792B4 File Offset: 0x002774B4
|
||||
[Token(Token = "0x600A9AD")]
|
||||
[Address(RVA = "0x27CBE00", Offset = "0x27CA800", VA = "0x1827CBE00")]
|
||||
public static ContentInfo GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
return new ContentInfo(Asn1Sequence.GetInstance(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9AE RID: 43438 RVA: 0x002792D8 File Offset: 0x002774D8
|
||||
[Token(Token = "0x600A9AE")]
|
||||
[Address(RVA = "0x27CC050", Offset = "0x27CAA50", VA = "0x1827CC050")]
|
||||
private ContentInfo(Asn1Sequence seq)
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
if (parser != 0)
|
||||
{
|
||||
this.contentType = parser;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable <= (ulong)1L)
|
||||
{
|
||||
return;
|
||||
}
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser2 != 0 && parser2 != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
Asn1Object asn1Object;
|
||||
this.content = asn1Object;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9AF RID: 43439 RVA: 0x0027932C File Offset: 0x0027752C
|
||||
[Token(Token = "0x600A9AF")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public ContentInfo(DerObjectIdentifier contentType, Asn1Encodable content)
|
||||
{
|
||||
this.contentType = contentType;
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
// Token: 0x17001A9F RID: 6815
|
||||
// (get) Token: 0x0600A9B0 RID: 43440 RVA: 0x00279350 File Offset: 0x00277550
|
||||
[Token(Token = "0x17001A9F")]
|
||||
public DerObjectIdentifier ContentType
|
||||
{
|
||||
[Token(Token = "0x600A9B0")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.contentType;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AA0 RID: 6816
|
||||
// (get) Token: 0x0600A9B1 RID: 43441 RVA: 0x00279364 File Offset: 0x00277564
|
||||
[Token(Token = "0x17001AA0")]
|
||||
public Asn1Encodable Content
|
||||
{
|
||||
[Token(Token = "0x600A9B1")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.content;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9B2 RID: 43442 RVA: 0x00279378 File Offset: 0x00277578
|
||||
[Token(Token = "0x600A9B2")]
|
||||
[Address(RVA = "0x27CBEB0", Offset = "0x27CA8B0", VA = "0x1827CBEB0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerObjectIdentifier derObjectIdentifier = this.contentType;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.content != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Encodable asn1Encodable = this.content;
|
||||
int num;
|
||||
BerTaggedObject berTaggedObject = new BerTaggedObject(num, asn1Encodable);
|
||||
num = 0;
|
||||
if (berTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = berTaggedObject;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
BerSequence berSequence = new BerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EC1 RID: 28353
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EC1")]
|
||||
private readonly DerObjectIdentifier contentType;
|
||||
|
||||
// Token: 0x04006EC2 RID: 28354
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006EC2")]
|
||||
private readonly Asn1Encodable content;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,155 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018AD RID: 6317
|
||||
[Token(Token = "0x20018AD")]
|
||||
[StructLayout(3)]
|
||||
public class DHParameter : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9B3 RID: 43443 RVA: 0x002793F0 File Offset: 0x002775F0
|
||||
[Token(Token = "0x600A9B3")]
|
||||
[Address(RVA = "0x27CCAF0", Offset = "0x27CB4F0", VA = "0x1827CCAF0")]
|
||||
public DHParameter(BigInteger p, BigInteger g, int l)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(p);
|
||||
this.p = derInteger;
|
||||
DerInteger derInteger2 = new DerInteger(g);
|
||||
this.g = derInteger2;
|
||||
if (l != 0)
|
||||
{
|
||||
DerInteger derInteger3 = new DerInteger(l);
|
||||
this.l = derInteger3;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9B4 RID: 43444 RVA: 0x00279434 File Offset: 0x00277634
|
||||
[Token(Token = "0x600A9B4")]
|
||||
[Address(RVA = "0x27CC8F0", Offset = "0x27CB2F0", VA = "0x1827CC8F0")]
|
||||
public DHParameter(Asn1Sequence seq)
|
||||
{
|
||||
IEnumerator enumerator;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
enumerator = seq.GetEnumerator();
|
||||
if (enumerator == 0)
|
||||
{
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
this.p = enumerator;
|
||||
if (enumerator == 0)
|
||||
{
|
||||
}
|
||||
if (enumerator != 0)
|
||||
{
|
||||
this.g = enumerator;
|
||||
if (enumerator == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (enumerator == 0 || enumerator != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.l = enumerator;
|
||||
}
|
||||
|
||||
// Token: 0x17001AA1 RID: 6817
|
||||
// (get) Token: 0x0600A9B5 RID: 43445 RVA: 0x0027948C File Offset: 0x0027768C
|
||||
[Token(Token = "0x17001AA1")]
|
||||
public BigInteger P
|
||||
{
|
||||
[Token(Token = "0x600A9B5")]
|
||||
[Address(RVA = "0x27CCC00", Offset = "0x27CB600", VA = "0x1827CCC00")]
|
||||
get
|
||||
{
|
||||
return this.p.PositiveValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AA2 RID: 6818
|
||||
// (get) Token: 0x0600A9B6 RID: 43446 RVA: 0x002794AC File Offset: 0x002776AC
|
||||
[Token(Token = "0x17001AA2")]
|
||||
public BigInteger G
|
||||
{
|
||||
[Token(Token = "0x600A9B6")]
|
||||
[Address(RVA = "0x27CCBC0", Offset = "0x27CB5C0", VA = "0x1827CCBC0")]
|
||||
get
|
||||
{
|
||||
return this.g.PositiveValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AA3 RID: 6819
|
||||
// (get) Token: 0x0600A9B7 RID: 43447 RVA: 0x002794CC File Offset: 0x002776CC
|
||||
[Token(Token = "0x17001AA3")]
|
||||
public BigInteger L
|
||||
{
|
||||
[Token(Token = "0x600A9B7")]
|
||||
[Address(RVA = "0x27CCBE0", Offset = "0x27CB5E0", VA = "0x1827CCBE0")]
|
||||
get
|
||||
{
|
||||
DerInteger derInteger = this.l;
|
||||
if (derInteger == 0)
|
||||
{
|
||||
}
|
||||
return derInteger.PositiveValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9B8 RID: 43448 RVA: 0x002794EC File Offset: 0x002776EC
|
||||
[Token(Token = "0x600A9B8")]
|
||||
[Address(RVA = "0x27CC730", Offset = "0x27CB130", VA = "0x1827CC730", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerInteger derInteger = this.p;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
DerInteger derInteger2 = this.g;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger2;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.l != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerInteger derInteger3 = this.l;
|
||||
if (derInteger3 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derInteger3;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EC3 RID: 28355
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EC3")]
|
||||
internal DerInteger p;
|
||||
|
||||
// Token: 0x04006EC4 RID: 28356
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006EC4")]
|
||||
internal DerInteger g;
|
||||
|
||||
// Token: 0x04006EC5 RID: 28357
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006EC5")]
|
||||
internal DerInteger l;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,191 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018AE RID: 6318
|
||||
[Token(Token = "0x20018AE")]
|
||||
[StructLayout(3)]
|
||||
public class EncryptedData : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9B9 RID: 43449 RVA: 0x0027956C File Offset: 0x0027776C
|
||||
[Token(Token = "0x600A9B9")]
|
||||
[Address(RVA = "0x27CD600", Offset = "0x27CC000", VA = "0x1827CD600")]
|
||||
public static EncryptedData GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9B9)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptedData BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptedData::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("Unknown object in factory: "), 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: 0x0600A9BA RID: 43450 RVA: 0x002795BC File Offset: 0x002777BC
|
||||
[Token(Token = "0x600A9BA")]
|
||||
[Address(RVA = "0x27CD920", Offset = "0x27CC320", VA = "0x1827CD920")]
|
||||
private EncryptedData(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9BA)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptedData::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_4D:
|
||||
stloc:ArgumentException(var_7_57, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("sequence not version 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: 0x0600A9BB RID: 43451 RVA: 0x00279624 File Offset: 0x00277824
|
||||
[Token(Token = "0x600A9BB")]
|
||||
[Address(RVA = "0x27CDB30", Offset = "0x27CC530", VA = "0x1827CDB30")]
|
||||
public EncryptedData(DerObjectIdentifier contentType, AlgorithmIdentifier encryptionAlgorithm, Asn1Encodable content)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
if (contentType != 0)
|
||||
{
|
||||
}
|
||||
array[0] = contentType;
|
||||
Asn1Object asn1Object = encryptionAlgorithm.ToAsn1Object();
|
||||
if (asn1Object != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Object;
|
||||
int num;
|
||||
int num2;
|
||||
BerTaggedObject berTaggedObject = new BerTaggedObject(num != 0, num2, content);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (berTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[2] = berTaggedObject;
|
||||
BerSequence berSequence = new BerSequence(array);
|
||||
this.data = berSequence;
|
||||
}
|
||||
|
||||
// Token: 0x17001AA4 RID: 6820
|
||||
// (get) Token: 0x0600A9BC RID: 43452 RVA: 0x00279690 File Offset: 0x00277890
|
||||
[Token(Token = "0x17001AA4")]
|
||||
public DerObjectIdentifier ContentType
|
||||
{
|
||||
[Token(Token = "0x600A9BC")]
|
||||
[Address(RVA = "0x27CDD10", Offset = "0x27CC710", VA = "0x1827CDD10")]
|
||||
get
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
do
|
||||
{
|
||||
parser = this.data.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (parser == 0);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AA5 RID: 6821
|
||||
// (get) Token: 0x0600A9BD RID: 43453 RVA: 0x002796B8 File Offset: 0x002778B8
|
||||
[Token(Token = "0x17001AA5")]
|
||||
public AlgorithmIdentifier EncryptionAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600A9BD")]
|
||||
[Address(RVA = "0x27CDE90", Offset = "0x27CC890", VA = "0x1827CDE90")]
|
||||
get
|
||||
{
|
||||
Asn1SequenceParser parser = this.data.Parser;
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
return algorithmIdentifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AA6 RID: 6822
|
||||
// (get) Token: 0x0600A9BE RID: 43454 RVA: 0x002796D8 File Offset: 0x002778D8
|
||||
[Token(Token = "0x17001AA6")]
|
||||
public Asn1OctetString Content
|
||||
{
|
||||
[Token(Token = "0x600A9BE")]
|
||||
[Address(RVA = "0x27CDDB0", Offset = "0x27CC7B0", VA = "0x1827CDDB0")]
|
||||
get
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
Asn1Sequence asn1Sequence = this.data;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable != (ulong)3L)
|
||||
{
|
||||
}
|
||||
Asn1SequenceParser parser = this.data.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (parser != 0)
|
||||
{
|
||||
Asn1OctetString asn1OctetString;
|
||||
return asn1OctetString;
|
||||
}
|
||||
}
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
return Asn1OctetString.GetInstance(num, num2 != 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9BF RID: 43455 RVA: 0x00279724 File Offset: 0x00277924
|
||||
[Token(Token = "0x600A9BF")]
|
||||
[Address(RVA = "0x27CD7F0", Offset = "0x27CC1F0", VA = "0x1827CD7F0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
int num;
|
||||
DerInteger derInteger = new DerInteger(num);
|
||||
num = 0;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
Asn1Sequence asn1Sequence = this.data;
|
||||
if (asn1Sequence != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Sequence;
|
||||
BerSequence berSequence = new BerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EC6 RID: 28358
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EC6")]
|
||||
private readonly Asn1Sequence data;
|
||||
}
|
||||
}
|
||||
+133
@@ -0,0 +1,133 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018AF RID: 6319
|
||||
[Token(Token = "0x20018AF")]
|
||||
[StructLayout(3)]
|
||||
public class EncryptedPrivateKeyInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9C0 RID: 43456 RVA: 0x00279770 File Offset: 0x00277970
|
||||
[Token(Token = "0x600A9C0")]
|
||||
[Address(RVA = "0x27CE310", Offset = "0x27CCD10", VA = "0x1827CE310")]
|
||||
private EncryptedPrivateKeyInfo(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9C0)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptedPrivateKeyInfo::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:ArgumentException(var_5_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A9C1 RID: 43457 RVA: 0x002797C0 File Offset: 0x002779C0
|
||||
[Token(Token = "0x600A9C1")]
|
||||
[Address(RVA = "0x27CE290", Offset = "0x27CCC90", VA = "0x1827CE290")]
|
||||
public EncryptedPrivateKeyInfo(AlgorithmIdentifier algId, byte[] encoding)
|
||||
{
|
||||
this.algId = algId;
|
||||
DerOctetString derOctetString = new DerOctetString(encoding);
|
||||
this.data = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9C2 RID: 43458 RVA: 0x002797E8 File Offset: 0x002779E8
|
||||
[Token(Token = "0x600A9C2")]
|
||||
[Address(RVA = "0x27CDED0", Offset = "0x27CC8D0", VA = "0x1827CDED0")]
|
||||
public static EncryptedPrivateKeyInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9C2)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptedPrivateKeyInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptedPrivateKeyInfo::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("Unknown object in factory: "), ldloc:string(var_8_38)), ldstr:string("obj")))
|
||||
stloc:ArgumentException(var_10_61, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x17001AA7 RID: 6823
|
||||
// (get) Token: 0x0600A9C3 RID: 43459 RVA: 0x00279858 File Offset: 0x00277A58
|
||||
[Token(Token = "0x17001AA7")]
|
||||
public AlgorithmIdentifier EncryptionAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600A9C3")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.algId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9C4 RID: 43460 RVA: 0x0027986C File Offset: 0x00277A6C
|
||||
[Token(Token = "0x600A9C4")]
|
||||
[Address(RVA = "0x1DF1C40", Offset = "0x1DF0640", VA = "0x181DF1C40")]
|
||||
public byte[] GetEncryptedData()
|
||||
{
|
||||
Stream octetStream = ((Asn1OctetStringParser)this.data).GetOctetStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A9C5 RID: 43461 RVA: 0x0027988C File Offset: 0x00277A8C
|
||||
[Token(Token = "0x600A9C5")]
|
||||
[Address(RVA = "0x27CE180", Offset = "0x27CCB80", VA = "0x1827CE180", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
AlgorithmIdentifier algorithmIdentifier = this.algId;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = algorithmIdentifier;
|
||||
Asn1OctetString asn1OctetString = this.data;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1OctetString;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EC7 RID: 28359
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EC7")]
|
||||
private readonly AlgorithmIdentifier algId;
|
||||
|
||||
// Token: 0x04006EC8 RID: 28360
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006EC8")]
|
||||
private readonly Asn1OctetString data;
|
||||
}
|
||||
}
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B0 RID: 6320
|
||||
[Token(Token = "0x20018B0")]
|
||||
[StructLayout(3)]
|
||||
public class EncryptionScheme : AlgorithmIdentifier
|
||||
{
|
||||
// Token: 0x0600A9C6 RID: 43462 RVA: 0x002798D4 File Offset: 0x00277AD4
|
||||
[Token(Token = "0x600A9C6")]
|
||||
[Address(RVA = "0xAFF160", Offset = "0xAFDB60", VA = "0x180AFF160")]
|
||||
public EncryptionScheme(DerObjectIdentifier objectID)
|
||||
: base(objectID)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A9C7 RID: 43463 RVA: 0x002798E8 File Offset: 0x00277AE8
|
||||
[Token(Token = "0x600A9C7")]
|
||||
[Address(RVA = "0x27CE8D0", Offset = "0x27CD2D0", VA = "0x1827CE8D0")]
|
||||
public EncryptionScheme(DerObjectIdentifier objectID, Asn1Encodable parameters)
|
||||
: base(objectID, parameters)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A9C8 RID: 43464 RVA: 0x00279900 File Offset: 0x00277B00
|
||||
[Token(Token = "0x600A9C8")]
|
||||
[Address(RVA = "0x27CE7E0", Offset = "0x27CD1E0", VA = "0x1827CE7E0")]
|
||||
internal EncryptionScheme(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
do
|
||||
{
|
||||
parser = seq.Parser;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (parser == 0);
|
||||
}
|
||||
|
||||
// Token: 0x0600A9C9 RID: 43465 RVA: 0x0027992C File Offset: 0x00277B2C
|
||||
[Token(Token = "0x600A9C9")]
|
||||
[Address(RVA = "0x27CE400", Offset = "0x27CCE00", VA = "0x1827CE400")]
|
||||
public new static EncryptionScheme GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9C9)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptionScheme BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.EncryptionScheme::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_24:
|
||||
stloc:string(var_8_2A, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_9_42, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in factory: "), ldloc:string(var_8_2A)), 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: 0x17001AA8 RID: 6824
|
||||
// (get) Token: 0x0600A9CA RID: 43466 RVA: 0x0027997C File Offset: 0x00277B7C
|
||||
[Token(Token = "0x17001AA8")]
|
||||
public Asn1Object Asn1Object
|
||||
{
|
||||
[Token(Token = "0x600A9CA")]
|
||||
[Address(RVA = "0x27CE8E0", Offset = "0x27CD2E0", VA = "0x1827CE8E0")]
|
||||
get
|
||||
{
|
||||
return this.ObjectID.ToAsn1Object();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9CB RID: 43467 RVA: 0x0027999C File Offset: 0x00277B9C
|
||||
[Token(Token = "0x600A9CB")]
|
||||
[Address(RVA = "0x27CE6A0", Offset = "0x27CD0A0", VA = "0x1827CE6A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
Asn1Object asn1Object = this.ToAsn1Object();
|
||||
if (asn1Object != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1Object;
|
||||
DerObjectIdentifier objectID = this.ObjectID;
|
||||
if (objectID != 0)
|
||||
{
|
||||
}
|
||||
array[1] = objectID;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
}
|
||||
+146
@@ -0,0 +1,146 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B1 RID: 6321
|
||||
[Token(Token = "0x20018B1")]
|
||||
[StructLayout(3)]
|
||||
public class IssuerAndSerialNumber : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9CC RID: 43468 RVA: 0x002799E4 File Offset: 0x00277BE4
|
||||
[Token(Token = "0x600A9CC")]
|
||||
[Address(RVA = "0x27CEDF0", Offset = "0x27CD7F0", VA = "0x1827CEDF0")]
|
||||
public static IssuerAndSerialNumber GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9CC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.IssuerAndSerialNumber BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.IssuerAndSerialNumber::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("Unknown object in factory: "), ldloc:string(var_8_34)), ldstr:string("obj")))
|
||||
stloc:ArgumentException(var_10_5D, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A9CD RID: 43469 RVA: 0x00279A50 File Offset: 0x00277C50
|
||||
[Token(Token = "0x600A9CD")]
|
||||
[Address(RVA = "0x27CF250", Offset = "0x27CDC50", VA = "0x1827CF250")]
|
||||
private IssuerAndSerialNumber(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9CD)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.IssuerAndSerialNumber::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:ArgumentException(var_5_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A9CE RID: 43470 RVA: 0x00279AA0 File Offset: 0x00277CA0
|
||||
[Token(Token = "0x600A9CE")]
|
||||
[Address(RVA = "0x27CF1D0", Offset = "0x27CDBD0", VA = "0x1827CF1D0")]
|
||||
public IssuerAndSerialNumber(X509Name name, BigInteger certSerialNumber)
|
||||
{
|
||||
this.name = name;
|
||||
DerInteger derInteger = new DerInteger(certSerialNumber);
|
||||
this.certSerialNumber = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9CF RID: 43471 RVA: 0x00279AC8 File Offset: 0x00277CC8
|
||||
[Token(Token = "0x600A9CF")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public IssuerAndSerialNumber(X509Name name, DerInteger certSerialNumber)
|
||||
{
|
||||
this.name = name;
|
||||
this.certSerialNumber = certSerialNumber;
|
||||
}
|
||||
|
||||
// Token: 0x17001AA9 RID: 6825
|
||||
// (get) Token: 0x0600A9D0 RID: 43472 RVA: 0x00279AEC File Offset: 0x00277CEC
|
||||
[Token(Token = "0x17001AA9")]
|
||||
public X509Name Name
|
||||
{
|
||||
[Token(Token = "0x600A9D0")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.name;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AAA RID: 6826
|
||||
// (get) Token: 0x0600A9D1 RID: 43473 RVA: 0x00279B00 File Offset: 0x00277D00
|
||||
[Token(Token = "0x17001AAA")]
|
||||
public DerInteger CertificateSerialNumber
|
||||
{
|
||||
[Token(Token = "0x600A9D1")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.certSerialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9D2 RID: 43474 RVA: 0x00279B14 File Offset: 0x00277D14
|
||||
[Token(Token = "0x600A9D2")]
|
||||
[Address(RVA = "0x27CF0C0", Offset = "0x27CDAC0", VA = "0x1827CF0C0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
X509Name x509Name = this.name;
|
||||
if (x509Name != 0)
|
||||
{
|
||||
}
|
||||
array[0] = x509Name;
|
||||
DerInteger derInteger = this.certSerialNumber;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006EC9 RID: 28361
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006EC9")]
|
||||
private readonly X509Name name;
|
||||
|
||||
// Token: 0x04006ECA RID: 28362
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006ECA")]
|
||||
private readonly DerInteger certSerialNumber;
|
||||
}
|
||||
}
|
||||
+29
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B2 RID: 6322
|
||||
[Token(Token = "0x20018B2")]
|
||||
[StructLayout(3)]
|
||||
public class KeyDerivationFunc : AlgorithmIdentifier
|
||||
{
|
||||
// Token: 0x0600A9D3 RID: 43475 RVA: 0x00279B5C File Offset: 0x00277D5C
|
||||
[Token(Token = "0x600A9D3")]
|
||||
[Address(RVA = "0x27CF370", Offset = "0x27CDD70", VA = "0x1827CF370")]
|
||||
internal KeyDerivationFunc(Asn1Sequence seq)
|
||||
: base(seq)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A9D4 RID: 43476 RVA: 0x00279B70 File Offset: 0x00277D70
|
||||
[Token(Token = "0x600A9D4")]
|
||||
[Address(RVA = "0x27CE8D0", Offset = "0x27CD2D0", VA = "0x1827CE8D0")]
|
||||
public KeyDerivationFunc(DerObjectIdentifier id, Asn1Encodable parameters)
|
||||
: base(id, parameters)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,160 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B3 RID: 6323
|
||||
[Token(Token = "0x20018B3")]
|
||||
[StructLayout(3)]
|
||||
public class MacData : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9D5 RID: 43477 RVA: 0x00279B88 File Offset: 0x00277D88
|
||||
[Token(Token = "0x600A9D5")]
|
||||
[Address(RVA = "0x27CFCD0", Offset = "0x27CE6D0", VA = "0x1827CFCD0")]
|
||||
public static MacData GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9D5)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.MacData BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.MacData::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("Unknown object in factory: "), 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: 0x0600A9D6 RID: 43478 RVA: 0x00279BD8 File Offset: 0x00277DD8
|
||||
[Token(Token = "0x600A9D6")]
|
||||
[Address(RVA = "0x27D01A0", Offset = "0x27CEBA0", VA = "0x1827D01A0")]
|
||||
private MacData(Asn1Sequence seq)
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
DigestInfo digestInfo;
|
||||
this.digInfo = digestInfo;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser2 != 0 && parser2 != 0)
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable != (ulong)3L)
|
||||
{
|
||||
break;
|
||||
}
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
if (parser3 != 0 && parser3 != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
BigInteger one = BigInteger.One;
|
||||
this.iterationCount = one;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9D7 RID: 43479 RVA: 0x00279C48 File Offset: 0x00277E48
|
||||
[Token(Token = "0x600A9D7")]
|
||||
[Address(RVA = "0x27D03F0", Offset = "0x27CEDF0", VA = "0x1827D03F0")]
|
||||
public MacData(DigestInfo digInfo, byte[] salt, int iterationCount)
|
||||
{
|
||||
this.digInfo = digInfo;
|
||||
BigInteger bigInteger = BigInteger.ValueOf((long)iterationCount);
|
||||
this.iterationCount = bigInteger;
|
||||
}
|
||||
|
||||
// Token: 0x17001AAB RID: 6827
|
||||
// (get) Token: 0x0600A9D8 RID: 43480 RVA: 0x00279C78 File Offset: 0x00277E78
|
||||
[Token(Token = "0x17001AAB")]
|
||||
public DigestInfo Mac
|
||||
{
|
||||
[Token(Token = "0x600A9D8")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.digInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9D9 RID: 43481 RVA: 0x00279C8C File Offset: 0x00277E8C
|
||||
[Token(Token = "0x600A9D9")]
|
||||
[Address(RVA = "0x27CFEC0", Offset = "0x27CE8C0", VA = "0x1827CFEC0")]
|
||||
public byte[] GetSalt()
|
||||
{
|
||||
byte[] array = this.salt;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001AAC RID: 6828
|
||||
// (get) Token: 0x0600A9DA RID: 43482 RVA: 0x00279CA8 File Offset: 0x00277EA8
|
||||
[Token(Token = "0x17001AAC")]
|
||||
public BigInteger IterationCount
|
||||
{
|
||||
[Token(Token = "0x600A9DA")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.iterationCount;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9DB RID: 43483 RVA: 0x00279CBC File Offset: 0x00277EBC
|
||||
[Token(Token = "0x600A9DB")]
|
||||
[Address(RVA = "0x27CFF40", Offset = "0x27CE940", VA = "0x1827CFF40", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DigestInfo digestInfo = this.digInfo;
|
||||
if (digestInfo != 0)
|
||||
{
|
||||
}
|
||||
array[0] = digestInfo;
|
||||
DerOctetString derOctetString = new DerOctetString(this.salt);
|
||||
if (derOctetString != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derOctetString;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
BigInteger bigInteger = this.iterationCount;
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerInteger derInteger = new DerInteger(this.iterationCount);
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derInteger;
|
||||
asn1EncodableVector.Add(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006ECB RID: 28363
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006ECB")]
|
||||
internal DigestInfo digInfo;
|
||||
|
||||
// Token: 0x04006ECC RID: 28364
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006ECC")]
|
||||
internal byte[] salt;
|
||||
|
||||
// Token: 0x04006ECD RID: 28365
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006ECD")]
|
||||
internal BigInteger iterationCount;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,134 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B4 RID: 6324
|
||||
[Token(Token = "0x20018B4")]
|
||||
[StructLayout(3)]
|
||||
public class PbeParameter : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9DC RID: 43484 RVA: 0x00279D44 File Offset: 0x00277F44
|
||||
[Token(Token = "0x600A9DC")]
|
||||
[Address(RVA = "0x27D4EF0", Offset = "0x27D38F0", VA = "0x1827D4EF0")]
|
||||
public static PbeParameter GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9DC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.PbeParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.PbeParameter::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:string(var_9_3F, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_10_57, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in factory: "), ldloc:string(var_9_3F)), ldstr:string("obj")))
|
||||
stloc:ArgumentException(var_11_68, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A9DD RID: 43485 RVA: 0x00279DBC File Offset: 0x00277FBC
|
||||
[Token(Token = "0x600A9DD")]
|
||||
[Address(RVA = "0x27D52B0", Offset = "0x27D3CB0", VA = "0x1827D52B0")]
|
||||
private PbeParameter(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9DD)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.PbeParameter::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:ArgumentException(var_5_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A9DE RID: 43486 RVA: 0x00279E0C File Offset: 0x0027800C
|
||||
[Token(Token = "0x600A9DE")]
|
||||
[Address(RVA = "0x27D53A0", Offset = "0x27D3DA0", VA = "0x1827D53A0")]
|
||||
public PbeParameter(byte[] salt, int iterationCount)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(salt);
|
||||
this.salt = derOctetString;
|
||||
DerInteger derInteger = new DerInteger(iterationCount);
|
||||
this.iterationCount = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9DF RID: 43487 RVA: 0x00279E3C File Offset: 0x0027803C
|
||||
[Token(Token = "0x600A9DF")]
|
||||
[Address(RVA = "0x78FE10", Offset = "0x78E810", VA = "0x18078FE10")]
|
||||
public byte[] GetSalt()
|
||||
{
|
||||
Stream octetStream = ((Asn1OctetStringParser)this.salt).GetOctetStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001AAD RID: 6829
|
||||
// (get) Token: 0x0600A9E0 RID: 43488 RVA: 0x00279E5C File Offset: 0x0027805C
|
||||
[Token(Token = "0x17001AAD")]
|
||||
public BigInteger IterationCount
|
||||
{
|
||||
[Token(Token = "0x600A9E0")]
|
||||
[Address(RVA = "0x27D16D0", Offset = "0x27D00D0", VA = "0x1827D16D0")]
|
||||
get
|
||||
{
|
||||
return this.iterationCount.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9E1 RID: 43489 RVA: 0x00279E7C File Offset: 0x0027807C
|
||||
[Token(Token = "0x600A9E1")]
|
||||
[Address(RVA = "0x27D51A0", Offset = "0x27D3BA0", VA = "0x1827D51A0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
Asn1OctetString asn1OctetString = this.salt;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1OctetString;
|
||||
DerInteger derInteger = this.iterationCount;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006ECE RID: 28366
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006ECE")]
|
||||
private readonly Asn1OctetString salt;
|
||||
|
||||
// Token: 0x04006ECF RID: 28367
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006ECF")]
|
||||
private readonly DerInteger iterationCount;
|
||||
}
|
||||
}
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B5 RID: 6325
|
||||
[Token(Token = "0x20018B5")]
|
||||
[StructLayout(3)]
|
||||
public class PbeS2Parameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9E2 RID: 43490 RVA: 0x00279EC4 File Offset: 0x002780C4
|
||||
[Token(Token = "0x600A9E2")]
|
||||
[Address(RVA = "0x27D5440", Offset = "0x27D3E40", VA = "0x1827D5440")]
|
||||
public static PbeS2Parameters GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
return new PbeS2Parameters(Asn1Sequence.GetInstance(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9E3 RID: 43491 RVA: 0x00279EE8 File Offset: 0x002780E8
|
||||
[Token(Token = "0x600A9E3")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public PbeS2Parameters(KeyDerivationFunc keyDevFunc, EncryptionScheme encScheme)
|
||||
{
|
||||
this.func = keyDevFunc;
|
||||
this.scheme = encScheme;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9E4 RID: 43492 RVA: 0x00279F0C File Offset: 0x0027810C
|
||||
[Token(Token = "0x600A9E4")]
|
||||
[Address(RVA = "0x27D5600", Offset = "0x27D4000", VA = "0x1827D5600")]
|
||||
[Obsolete]
|
||||
public PbeS2Parameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9E4)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.PbeS2Parameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_48:
|
||||
stloc:ArgumentException(var_9_57, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x17001AAE RID: 6830
|
||||
// (get) Token: 0x0600A9E5 RID: 43493 RVA: 0x00279F74 File Offset: 0x00278174
|
||||
[Token(Token = "0x17001AAE")]
|
||||
public KeyDerivationFunc KeyDerivationFunc
|
||||
{
|
||||
[Token(Token = "0x600A9E5")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.func;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AAF RID: 6831
|
||||
// (get) Token: 0x0600A9E6 RID: 43494 RVA: 0x00279F88 File Offset: 0x00278188
|
||||
[Token(Token = "0x17001AAF")]
|
||||
public EncryptionScheme EncryptionScheme
|
||||
{
|
||||
[Token(Token = "0x600A9E6")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.scheme;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9E7 RID: 43495 RVA: 0x00279F9C File Offset: 0x0027819C
|
||||
[Token(Token = "0x600A9E7")]
|
||||
[Address(RVA = "0x27D54F0", Offset = "0x27D3EF0", VA = "0x1827D54F0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
KeyDerivationFunc keyDerivationFunc = this.func;
|
||||
if (keyDerivationFunc != 0)
|
||||
{
|
||||
}
|
||||
array[0] = keyDerivationFunc;
|
||||
EncryptionScheme encryptionScheme = this.scheme;
|
||||
if (encryptionScheme != 0)
|
||||
{
|
||||
}
|
||||
array[1] = encryptionScheme;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006ED0 RID: 28368
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006ED0")]
|
||||
private readonly KeyDerivationFunc func;
|
||||
|
||||
// Token: 0x04006ED1 RID: 28369
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006ED1")]
|
||||
private readonly EncryptionScheme scheme;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,280 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B6 RID: 6326
|
||||
[Token(Token = "0x20018B6")]
|
||||
[StructLayout(3)]
|
||||
public class Pbkdf2Params : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9E8 RID: 43496 RVA: 0x00279FE4 File Offset: 0x002781E4
|
||||
[Token(Token = "0x600A9E8")]
|
||||
[Address(RVA = "0x27D58C0", Offset = "0x27D42C0", VA = "0x1827D58C0")]
|
||||
public static Pbkdf2Params GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9E8)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.Pbkdf2Params BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.Pbkdf2Params::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in factory: "), ldloc:string(var_6_2C)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9E9 RID: 43497 RVA: 0x0027A038 File Offset: 0x00278238
|
||||
[Token(Token = "0x600A9E9")]
|
||||
[Address(RVA = "0x27D5F30", Offset = "0x27D4930", VA = "0x1827D5F30")]
|
||||
public Pbkdf2Params(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser2;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
if (parser != 0)
|
||||
{
|
||||
this.octStr = parser;
|
||||
parser2 = seq.Parser;
|
||||
if (parser2 == 0)
|
||||
{
|
||||
}
|
||||
if (parser2 != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.iterationCount = parser2;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable > (ulong)2L)
|
||||
{
|
||||
if (seq.Parser == 0)
|
||||
{
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
}
|
||||
Asn1SequenceParser parser4 = seq.Parser;
|
||||
Asn1SequenceParser parser5 = seq.Parser;
|
||||
Asn1SequenceParser parser6 = seq.Parser;
|
||||
if (parser5 != 0)
|
||||
{
|
||||
this.keyLength = parser6;
|
||||
}
|
||||
if (parser6 != 0)
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier;
|
||||
this.prf = algorithmIdentifier;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9EA RID: 43498 RVA: 0x0027A0D0 File Offset: 0x002782D0
|
||||
[Token(Token = "0x600A9EA")]
|
||||
[Address(RVA = "0x27D6260", Offset = "0x27D4C60", VA = "0x1827D6260")]
|
||||
public Pbkdf2Params(byte[] salt, int iterationCount)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(salt);
|
||||
this.octStr = derOctetString;
|
||||
DerInteger derInteger = new DerInteger(iterationCount);
|
||||
this.iterationCount = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9EB RID: 43499 RVA: 0x0027A100 File Offset: 0x00278300
|
||||
[Token(Token = "0x600A9EB")]
|
||||
[Address(RVA = "0x27D61D0", Offset = "0x27D4BD0", VA = "0x1827D61D0")]
|
||||
public Pbkdf2Params(byte[] salt, int iterationCount, int keyLength)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(keyLength);
|
||||
this.keyLength = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9EC RID: 43500 RVA: 0x0027A11C File Offset: 0x0027831C
|
||||
[Token(Token = "0x600A9EC")]
|
||||
[Address(RVA = "0x27D5EA0", Offset = "0x27D48A0", VA = "0x1827D5EA0")]
|
||||
public Pbkdf2Params(byte[] salt, int iterationCount, int keyLength, AlgorithmIdentifier prf)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(keyLength);
|
||||
this.keyLength = derInteger;
|
||||
this.prf = 0;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9ED RID: 43501 RVA: 0x0027A140 File Offset: 0x00278340
|
||||
[Token(Token = "0x600A9ED")]
|
||||
[Address(RVA = "0x27D5E70", Offset = "0x27D4870", VA = "0x1827D5E70")]
|
||||
public Pbkdf2Params(byte[] salt, int iterationCount, AlgorithmIdentifier prf)
|
||||
{
|
||||
this.prf = prf;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9EE RID: 43502 RVA: 0x0027A154 File Offset: 0x00278354
|
||||
[Token(Token = "0x600A9EE")]
|
||||
[Address(RVA = "0x78FE10", Offset = "0x78E810", VA = "0x18078FE10")]
|
||||
public byte[] GetSalt()
|
||||
{
|
||||
Stream octetStream = ((Asn1OctetStringParser)this.octStr).GetOctetStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x17001AB0 RID: 6832
|
||||
// (get) Token: 0x0600A9EF RID: 43503 RVA: 0x0027A174 File Offset: 0x00278374
|
||||
[Token(Token = "0x17001AB0")]
|
||||
public BigInteger IterationCount
|
||||
{
|
||||
[Token(Token = "0x600A9EF")]
|
||||
[Address(RVA = "0x27D16D0", Offset = "0x27D00D0", VA = "0x1827D16D0")]
|
||||
get
|
||||
{
|
||||
return this.iterationCount.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AB1 RID: 6833
|
||||
// (get) Token: 0x0600A9F0 RID: 43504 RVA: 0x0027A194 File Offset: 0x00278394
|
||||
[Token(Token = "0x17001AB1")]
|
||||
public BigInteger KeyLength
|
||||
{
|
||||
[Token(Token = "0x600A9F0")]
|
||||
[Address(RVA = "0x1DE71C0", Offset = "0x1DE5BC0", VA = "0x181DE71C0")]
|
||||
get
|
||||
{
|
||||
DerInteger derInteger = this.keyLength;
|
||||
if (derInteger == 0)
|
||||
{
|
||||
}
|
||||
return derInteger.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AB2 RID: 6834
|
||||
// (get) Token: 0x0600A9F1 RID: 43505 RVA: 0x0027A1B4 File Offset: 0x002783B4
|
||||
[Token(Token = "0x17001AB2")]
|
||||
public bool IsDefaultPrf
|
||||
{
|
||||
[Token(Token = "0x600A9F1")]
|
||||
[Address(RVA = "0x27D6300", Offset = "0x27D4D00", VA = "0x1827D6300")]
|
||||
get
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier = this.prf;
|
||||
if (algorithmIdentifier == 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
Asn1Object asn1Object = algorithmIdentifier.ToAsn1Object();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AB3 RID: 6835
|
||||
// (get) Token: 0x0600A9F2 RID: 43506 RVA: 0x0027A1DC File Offset: 0x002783DC
|
||||
[Token(Token = "0x17001AB3")]
|
||||
public AlgorithmIdentifier Prf
|
||||
{
|
||||
[Token(Token = "0x600A9F2")]
|
||||
[Address(RVA = "0x27D6390", Offset = "0x27D4D90", VA = "0x1827D6390")]
|
||||
get
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier = this.prf;
|
||||
if (algorithmIdentifier == 0)
|
||||
{
|
||||
}
|
||||
return algorithmIdentifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9F3 RID: 43507 RVA: 0x0027A1F8 File Offset: 0x002783F8
|
||||
[Token(Token = "0x600A9F3")]
|
||||
[Address(RVA = "0x27D5AC0", Offset = "0x27D44C0", VA = "0x1827D5AC0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
Asn1OctetString asn1OctetString = this.octStr;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1OctetString;
|
||||
DerInteger derInteger = this.iterationCount;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.keyLength != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
DerInteger derInteger2 = this.keyLength;
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derInteger2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.prf != 0)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
AlgorithmIdentifier algorithmIdentifier = this.prf;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = algorithmIdentifier;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A9F4 RID: 43508 RVA: 0x0027A2A8 File Offset: 0x002784A8
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A9F4")]
|
||||
[Address(RVA = "0x27D5D90", Offset = "0x27D4790", VA = "0x1827D5D90")]
|
||||
static Pbkdf2Params()
|
||||
{
|
||||
DerObjectIdentifier idHmacWithSha = PkcsObjectIdentifiers.IdHmacWithSha1;
|
||||
DerNull instance = DerNull.Instance;
|
||||
Pbkdf2Params.algid_hmacWithSHA1 = new AlgorithmIdentifier(idHmacWithSha, instance);
|
||||
}
|
||||
|
||||
// Token: 0x04006ED2 RID: 28370
|
||||
[Token(Token = "0x4006ED2")]
|
||||
private static AlgorithmIdentifier algid_hmacWithSHA1;
|
||||
|
||||
// Token: 0x04006ED3 RID: 28371
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006ED3")]
|
||||
private readonly Asn1OctetString octStr;
|
||||
|
||||
// Token: 0x04006ED4 RID: 28372
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006ED4")]
|
||||
private readonly DerInteger iterationCount;
|
||||
|
||||
// Token: 0x04006ED5 RID: 28373
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006ED5")]
|
||||
private readonly DerInteger keyLength;
|
||||
|
||||
// Token: 0x04006ED6 RID: 28374
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006ED6")]
|
||||
private readonly AlgorithmIdentifier prf;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B9 RID: 6329
|
||||
[Token(Token = "0x20018B9")]
|
||||
[StructLayout(3)]
|
||||
public class Pfx : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9FD RID: 43517 RVA: 0x0027A954 File Offset: 0x00278B54
|
||||
[Token(Token = "0x600A9FD")]
|
||||
[Address(RVA = "0x27D65F0", Offset = "0x27D4FF0", VA = "0x1827D65F0")]
|
||||
public Pfx(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
BigInteger bigInteger;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
parser = seq.Parser;
|
||||
}
|
||||
while (parser == 0 || parser == 0 || bigInteger.IntValue != 3);
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
ContentInfo contentInfo;
|
||||
this.contentInfo = contentInfo;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable == (ulong)3L)
|
||||
{
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
MacData macData;
|
||||
this.macData = macData;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9FE RID: 43518 RVA: 0x0027A9B0 File Offset: 0x00278BB0
|
||||
[Token(Token = "0x600A9FE")]
|
||||
[Address(RVA = "0x937E20", Offset = "0x936820", VA = "0x180937E20")]
|
||||
public Pfx(ContentInfo contentInfo, MacData macData)
|
||||
{
|
||||
this.contentInfo = contentInfo;
|
||||
this.macData = macData;
|
||||
}
|
||||
|
||||
// Token: 0x17001AB5 RID: 6837
|
||||
// (get) Token: 0x0600A9FF RID: 43519 RVA: 0x0027A9D4 File Offset: 0x00278BD4
|
||||
[Token(Token = "0x17001AB5")]
|
||||
public ContentInfo AuthSafe
|
||||
{
|
||||
[Token(Token = "0x600A9FF")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.contentInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AB6 RID: 6838
|
||||
// (get) Token: 0x0600AA00 RID: 43520 RVA: 0x0027A9E8 File Offset: 0x00278BE8
|
||||
[Token(Token = "0x17001AB6")]
|
||||
public MacData MacData
|
||||
{
|
||||
[Token(Token = "0x600AA00")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.macData;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA01 RID: 43521 RVA: 0x0027A9FC File Offset: 0x00278BFC
|
||||
[Token(Token = "0x600AA01")]
|
||||
[Address(RVA = "0x27D6400", Offset = "0x27D4E00", VA = "0x1827D6400", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerInteger derInteger = new DerInteger(3);
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
ContentInfo contentInfo = this.contentInfo;
|
||||
if (contentInfo != 0)
|
||||
{
|
||||
}
|
||||
array[1] = contentInfo;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.macData != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
MacData macData = this.macData;
|
||||
if (macData != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = macData;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
BerSequence berSequence = new BerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006F69 RID: 28521
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F69")]
|
||||
private ContentInfo contentInfo;
|
||||
|
||||
// Token: 0x04006F6A RID: 28522
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F6A")]
|
||||
private MacData macData;
|
||||
}
|
||||
}
|
||||
+134
@@ -0,0 +1,134 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B7 RID: 6327
|
||||
[Token(Token = "0x20018B7")]
|
||||
[StructLayout(3)]
|
||||
public class Pkcs12PbeParams : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600A9F5 RID: 43509 RVA: 0x0027A2D0 File Offset: 0x002784D0
|
||||
[Token(Token = "0x600A9F5")]
|
||||
[Address(RVA = "0x27D6B60", Offset = "0x27D5560", VA = "0x1827D6B60")]
|
||||
public Pkcs12PbeParams(byte[] salt, int iterations)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(salt);
|
||||
this.iv = derOctetString;
|
||||
DerInteger derInteger = new DerInteger(iterations);
|
||||
this.iterations = derInteger;
|
||||
}
|
||||
|
||||
// Token: 0x0600A9F6 RID: 43510 RVA: 0x0027A300 File Offset: 0x00278500
|
||||
[Token(Token = "0x600A9F6")]
|
||||
[Address(RVA = "0x27D6C00", Offset = "0x27D5600", VA = "0x1827D6C00")]
|
||||
private Pkcs12PbeParams(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9F6)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.Pkcs12PbeParams::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_30:
|
||||
stloc:ArgumentException(var_5_3F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x0600A9F7 RID: 43511 RVA: 0x0027A350 File Offset: 0x00278550
|
||||
[Token(Token = "0x600A9F7")]
|
||||
[Address(RVA = "0x27D67A0", Offset = "0x27D51A0", VA = "0x1827D67A0")]
|
||||
public static Pkcs12PbeParams GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9F7)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.Pkcs12PbeParams BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.Pkcs12PbeParams::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("Unknown object in factory: "), ldloc:string(var_8_38)), ldstr:string("obj")))
|
||||
stloc:ArgumentException(var_10_61, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Wrong number of elements in sequence"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x17001AB4 RID: 6836
|
||||
// (get) Token: 0x0600A9F8 RID: 43512 RVA: 0x0027A3C0 File Offset: 0x002785C0
|
||||
[Token(Token = "0x17001AB4")]
|
||||
public BigInteger Iterations
|
||||
{
|
||||
[Token(Token = "0x600A9F8")]
|
||||
[Address(RVA = "0x1DF1A60", Offset = "0x1DF0460", VA = "0x181DF1A60")]
|
||||
get
|
||||
{
|
||||
return this.iterations.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600A9F9 RID: 43513 RVA: 0x0027A3E0 File Offset: 0x002785E0
|
||||
[Token(Token = "0x600A9F9")]
|
||||
[Address(RVA = "0x1DF1C40", Offset = "0x1DF0640", VA = "0x181DF1C40")]
|
||||
public byte[] GetIV()
|
||||
{
|
||||
Stream octetStream = ((Asn1OctetStringParser)this.iv).GetOctetStream();
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600A9FA RID: 43514 RVA: 0x0027A400 File Offset: 0x00278600
|
||||
[Token(Token = "0x600A9FA")]
|
||||
[Address(RVA = "0x27D6A50", Offset = "0x27D5450", VA = "0x1827D6A50", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
Asn1OctetString asn1OctetString = this.iv;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1OctetString;
|
||||
DerInteger derInteger = this.iterations;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006ED7 RID: 28375
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006ED7")]
|
||||
private readonly DerInteger iterations;
|
||||
|
||||
// Token: 0x04006ED8 RID: 28376
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006ED8")]
|
||||
private readonly Asn1OctetString iv;
|
||||
}
|
||||
}
|
||||
+710
@@ -0,0 +1,710 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018B8 RID: 6328
|
||||
[Token(Token = "0x20018B8")]
|
||||
[StructLayout(3)]
|
||||
public abstract class PkcsObjectIdentifiers
|
||||
{
|
||||
// Token: 0x0600A9FB RID: 43515 RVA: 0x0027A448 File Offset: 0x00278648
|
||||
[Token(Token = "0x600A9FB")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
protected PkcsObjectIdentifiers()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600A9FC RID: 43516 RVA: 0x0027A45C File Offset: 0x0027865C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600A9FC")]
|
||||
[Address(RVA = "0x27D6CF0", Offset = "0x27D56F0", VA = "0x1827D6CF0")]
|
||||
static PkcsObjectIdentifiers()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600A9FC)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.PkcsObjectIdentifiers::.cctor()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::RsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD2WithRsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD4WithRsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD5WithRsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha1WithRsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::SrsaOaepEncryptionSet, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdRsaesOaep, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdMgf1, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdPSpecified, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdRsassaPss, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha256WithRsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha384WithRsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha512WithRsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha224WithRsaEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha512_224WithRSAEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Sha512_256WithRSAEncryption, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs1Oid)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::DhKeyAgreement, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.3.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::PbeWithMD2AndDesCbc, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.5.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::PbeWithMD2AndRC2Cbc, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.5.4")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::PbeWithMD5AndDesCbc, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.5.3")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::PbeWithMD5AndRC2Cbc, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.5.6")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::PbeWithSha1AndDesCbc, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.5.10")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::PbeWithSha1AndRC2Cbc, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.5.11")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdPbeS2, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.5.13")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdPbkdf2, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.5.12")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::DesEde3Cbc, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.3.7")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::RC2Cbc, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.3.2")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD2, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.2.2")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD4, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.2.4")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::MD5, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.2.5")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdHmacWithSha1, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.2.7")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdHmacWithSha224, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.2.8")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdHmacWithSha256, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.2.9")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdHmacWithSha384, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.2.10")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdHmacWithSha512, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.2.11")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Data, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.7.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::SignedData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.7.2")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::EnvelopedData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.7.3")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::SignedAndEnvelopedData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.7.4")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::DigestedData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.7.5")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::EncryptedData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.7.6")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtEmailAddress, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtUnstructuredName, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.2")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtContentType, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.3")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtMessageDigest, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.4")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtSigningTime, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.5")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtCounterSignature, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.6")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtChallengePassword, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.7")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtUnstructuredAddress, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.8")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtExtendedCertificateAttributes, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.9")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtSigningDescription, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.13")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtExtensionRequest, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.14")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtSmimeCapabilities, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.15")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdSmime, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtFriendlyName, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.20")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtLocalKeyID, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.21")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::X509CertType, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.22.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::X509Certificate, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.22.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::SdsiCertificate, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.22.2")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::X509Crl, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.23.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlg, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdSmime)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlgEsdh, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlg)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlgCms3DesWrap, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlg)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlgCmsRC2Wrap, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlg)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlgPwriKek, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlg)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlgSsdh, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlg)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdRsaKem, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAlg)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::PreferSignedData, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtSmimeCapabilities)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::CannotDecryptAny, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtSmimeCapabilities)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::SmimeCapabilitiesVersions, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::Pkcs9AtSmimeCapabilities)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAAReceiptRequest, callvirt:int32[exp:DerObjectIdentifier](DerObjectIdentifier::Asn1GetHashCode, ldsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdSmime)))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCTAuthData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.1.2")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCTTstInfo, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.1.4")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCTCompressedData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.1.9")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCTAuthEnvelopedData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.1.23")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCTTimestampedData, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.1.31")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCtiEtsProofOfOrigin, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.6.1")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCtiEtsProofOfReceipt, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.6.2")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCtiEtsProofOfDelivery, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.6.3")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCtiEtsProofOfSender, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.6.4")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCtiEtsProofOfApproval, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.6.5")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdCtiEtsProofOfCreation, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.6.6")))
|
||||
stsfld:DerObjectIdentifier(PkcsObjectIdentifiers::IdAAOid, newobj:DerObjectIdentifier(DerObjectIdentifier::.ctor, ldstr:string("1.2.840.113549.1.9.16.2")))
|
||||
}
|
||||
|
||||
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: 0x04006ED9 RID: 28377
|
||||
[Token(Token = "0x4006ED9")]
|
||||
public const string Pkcs1 = "1.2.840.113549.1.1";
|
||||
|
||||
// Token: 0x04006EDA RID: 28378
|
||||
[Token(Token = "0x4006EDA")]
|
||||
internal static readonly DerObjectIdentifier Pkcs1Oid;
|
||||
|
||||
// Token: 0x04006EDB RID: 28379
|
||||
[Token(Token = "0x4006EDB")]
|
||||
public static readonly DerObjectIdentifier RsaEncryption;
|
||||
|
||||
// Token: 0x04006EDC RID: 28380
|
||||
[Token(Token = "0x4006EDC")]
|
||||
public static readonly DerObjectIdentifier MD2WithRsaEncryption;
|
||||
|
||||
// Token: 0x04006EDD RID: 28381
|
||||
[Token(Token = "0x4006EDD")]
|
||||
public static readonly DerObjectIdentifier MD4WithRsaEncryption;
|
||||
|
||||
// Token: 0x04006EDE RID: 28382
|
||||
[Token(Token = "0x4006EDE")]
|
||||
public static readonly DerObjectIdentifier MD5WithRsaEncryption;
|
||||
|
||||
// Token: 0x04006EDF RID: 28383
|
||||
[Token(Token = "0x4006EDF")]
|
||||
public static readonly DerObjectIdentifier Sha1WithRsaEncryption;
|
||||
|
||||
// Token: 0x04006EE0 RID: 28384
|
||||
[Token(Token = "0x4006EE0")]
|
||||
public static readonly DerObjectIdentifier SrsaOaepEncryptionSet;
|
||||
|
||||
// Token: 0x04006EE1 RID: 28385
|
||||
[Token(Token = "0x4006EE1")]
|
||||
public static readonly DerObjectIdentifier IdRsaesOaep;
|
||||
|
||||
// Token: 0x04006EE2 RID: 28386
|
||||
[Token(Token = "0x4006EE2")]
|
||||
public static readonly DerObjectIdentifier IdMgf1;
|
||||
|
||||
// Token: 0x04006EE3 RID: 28387
|
||||
[Token(Token = "0x4006EE3")]
|
||||
public static readonly DerObjectIdentifier IdPSpecified;
|
||||
|
||||
// Token: 0x04006EE4 RID: 28388
|
||||
[Token(Token = "0x4006EE4")]
|
||||
public static readonly DerObjectIdentifier IdRsassaPss;
|
||||
|
||||
// Token: 0x04006EE5 RID: 28389
|
||||
[Token(Token = "0x4006EE5")]
|
||||
public static readonly DerObjectIdentifier Sha256WithRsaEncryption;
|
||||
|
||||
// Token: 0x04006EE6 RID: 28390
|
||||
[Token(Token = "0x4006EE6")]
|
||||
public static readonly DerObjectIdentifier Sha384WithRsaEncryption;
|
||||
|
||||
// Token: 0x04006EE7 RID: 28391
|
||||
[Token(Token = "0x4006EE7")]
|
||||
public static readonly DerObjectIdentifier Sha512WithRsaEncryption;
|
||||
|
||||
// Token: 0x04006EE8 RID: 28392
|
||||
[Token(Token = "0x4006EE8")]
|
||||
public static readonly DerObjectIdentifier Sha224WithRsaEncryption;
|
||||
|
||||
// Token: 0x04006EE9 RID: 28393
|
||||
[Token(Token = "0x4006EE9")]
|
||||
public static readonly DerObjectIdentifier Sha512_224WithRSAEncryption;
|
||||
|
||||
// Token: 0x04006EEA RID: 28394
|
||||
[Token(Token = "0x4006EEA")]
|
||||
public static readonly DerObjectIdentifier Sha512_256WithRSAEncryption;
|
||||
|
||||
// Token: 0x04006EEB RID: 28395
|
||||
[Token(Token = "0x4006EEB")]
|
||||
public const string Pkcs3 = "1.2.840.113549.1.3";
|
||||
|
||||
// Token: 0x04006EEC RID: 28396
|
||||
[Token(Token = "0x4006EEC")]
|
||||
public static readonly DerObjectIdentifier DhKeyAgreement;
|
||||
|
||||
// Token: 0x04006EED RID: 28397
|
||||
[Token(Token = "0x4006EED")]
|
||||
public const string Pkcs5 = "1.2.840.113549.1.5";
|
||||
|
||||
// Token: 0x04006EEE RID: 28398
|
||||
[Token(Token = "0x4006EEE")]
|
||||
public static readonly DerObjectIdentifier PbeWithMD2AndDesCbc;
|
||||
|
||||
// Token: 0x04006EEF RID: 28399
|
||||
[Token(Token = "0x4006EEF")]
|
||||
public static readonly DerObjectIdentifier PbeWithMD2AndRC2Cbc;
|
||||
|
||||
// Token: 0x04006EF0 RID: 28400
|
||||
[Token(Token = "0x4006EF0")]
|
||||
public static readonly DerObjectIdentifier PbeWithMD5AndDesCbc;
|
||||
|
||||
// Token: 0x04006EF1 RID: 28401
|
||||
[Token(Token = "0x4006EF1")]
|
||||
public static readonly DerObjectIdentifier PbeWithMD5AndRC2Cbc;
|
||||
|
||||
// Token: 0x04006EF2 RID: 28402
|
||||
[Token(Token = "0x4006EF2")]
|
||||
public static readonly DerObjectIdentifier PbeWithSha1AndDesCbc;
|
||||
|
||||
// Token: 0x04006EF3 RID: 28403
|
||||
[Token(Token = "0x4006EF3")]
|
||||
public static readonly DerObjectIdentifier PbeWithSha1AndRC2Cbc;
|
||||
|
||||
// Token: 0x04006EF4 RID: 28404
|
||||
[Token(Token = "0x4006EF4")]
|
||||
public static readonly DerObjectIdentifier IdPbeS2;
|
||||
|
||||
// Token: 0x04006EF5 RID: 28405
|
||||
[Token(Token = "0x4006EF5")]
|
||||
public static readonly DerObjectIdentifier IdPbkdf2;
|
||||
|
||||
// Token: 0x04006EF6 RID: 28406
|
||||
[Token(Token = "0x4006EF6")]
|
||||
public const string EncryptionAlgorithm = "1.2.840.113549.3";
|
||||
|
||||
// Token: 0x04006EF7 RID: 28407
|
||||
[Token(Token = "0x4006EF7")]
|
||||
public static readonly DerObjectIdentifier DesEde3Cbc;
|
||||
|
||||
// Token: 0x04006EF8 RID: 28408
|
||||
[Token(Token = "0x4006EF8")]
|
||||
public static readonly DerObjectIdentifier RC2Cbc;
|
||||
|
||||
// Token: 0x04006EF9 RID: 28409
|
||||
[Token(Token = "0x4006EF9")]
|
||||
public const string DigestAlgorithm = "1.2.840.113549.2";
|
||||
|
||||
// Token: 0x04006EFA RID: 28410
|
||||
[Token(Token = "0x4006EFA")]
|
||||
public static readonly DerObjectIdentifier MD2;
|
||||
|
||||
// Token: 0x04006EFB RID: 28411
|
||||
[Token(Token = "0x4006EFB")]
|
||||
public static readonly DerObjectIdentifier MD4;
|
||||
|
||||
// Token: 0x04006EFC RID: 28412
|
||||
[Token(Token = "0x4006EFC")]
|
||||
public static readonly DerObjectIdentifier MD5;
|
||||
|
||||
// Token: 0x04006EFD RID: 28413
|
||||
[Token(Token = "0x4006EFD")]
|
||||
public static readonly DerObjectIdentifier IdHmacWithSha1;
|
||||
|
||||
// Token: 0x04006EFE RID: 28414
|
||||
[Token(Token = "0x4006EFE")]
|
||||
public static readonly DerObjectIdentifier IdHmacWithSha224;
|
||||
|
||||
// Token: 0x04006EFF RID: 28415
|
||||
[Token(Token = "0x4006EFF")]
|
||||
public static readonly DerObjectIdentifier IdHmacWithSha256;
|
||||
|
||||
// Token: 0x04006F00 RID: 28416
|
||||
[Token(Token = "0x4006F00")]
|
||||
public static readonly DerObjectIdentifier IdHmacWithSha384;
|
||||
|
||||
// Token: 0x04006F01 RID: 28417
|
||||
[Token(Token = "0x4006F01")]
|
||||
public static readonly DerObjectIdentifier IdHmacWithSha512;
|
||||
|
||||
// Token: 0x04006F02 RID: 28418
|
||||
[Token(Token = "0x4006F02")]
|
||||
public const string Pkcs7 = "1.2.840.113549.1.7";
|
||||
|
||||
// Token: 0x04006F03 RID: 28419
|
||||
[Token(Token = "0x4006F03")]
|
||||
public static readonly DerObjectIdentifier Data;
|
||||
|
||||
// Token: 0x04006F04 RID: 28420
|
||||
[Token(Token = "0x4006F04")]
|
||||
public static readonly DerObjectIdentifier SignedData;
|
||||
|
||||
// Token: 0x04006F05 RID: 28421
|
||||
[Token(Token = "0x4006F05")]
|
||||
public static readonly DerObjectIdentifier EnvelopedData;
|
||||
|
||||
// Token: 0x04006F06 RID: 28422
|
||||
[Token(Token = "0x4006F06")]
|
||||
public static readonly DerObjectIdentifier SignedAndEnvelopedData;
|
||||
|
||||
// Token: 0x04006F07 RID: 28423
|
||||
[Token(Token = "0x4006F07")]
|
||||
public static readonly DerObjectIdentifier DigestedData;
|
||||
|
||||
// Token: 0x04006F08 RID: 28424
|
||||
[Token(Token = "0x4006F08")]
|
||||
public static readonly DerObjectIdentifier EncryptedData;
|
||||
|
||||
// Token: 0x04006F09 RID: 28425
|
||||
[Token(Token = "0x4006F09")]
|
||||
public const string Pkcs9 = "1.2.840.113549.1.9";
|
||||
|
||||
// Token: 0x04006F0A RID: 28426
|
||||
[Token(Token = "0x4006F0A")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtEmailAddress;
|
||||
|
||||
// Token: 0x04006F0B RID: 28427
|
||||
[Token(Token = "0x4006F0B")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtUnstructuredName;
|
||||
|
||||
// Token: 0x04006F0C RID: 28428
|
||||
[Token(Token = "0x4006F0C")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtContentType;
|
||||
|
||||
// Token: 0x04006F0D RID: 28429
|
||||
[Token(Token = "0x4006F0D")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtMessageDigest;
|
||||
|
||||
// Token: 0x04006F0E RID: 28430
|
||||
[Token(Token = "0x4006F0E")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtSigningTime;
|
||||
|
||||
// Token: 0x04006F0F RID: 28431
|
||||
[Token(Token = "0x4006F0F")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtCounterSignature;
|
||||
|
||||
// Token: 0x04006F10 RID: 28432
|
||||
[Token(Token = "0x4006F10")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtChallengePassword;
|
||||
|
||||
// Token: 0x04006F11 RID: 28433
|
||||
[Token(Token = "0x4006F11")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtUnstructuredAddress;
|
||||
|
||||
// Token: 0x04006F12 RID: 28434
|
||||
[Token(Token = "0x4006F12")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtExtendedCertificateAttributes;
|
||||
|
||||
// Token: 0x04006F13 RID: 28435
|
||||
[Token(Token = "0x4006F13")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtSigningDescription;
|
||||
|
||||
// Token: 0x04006F14 RID: 28436
|
||||
[Token(Token = "0x4006F14")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtExtensionRequest;
|
||||
|
||||
// Token: 0x04006F15 RID: 28437
|
||||
[Token(Token = "0x4006F15")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtSmimeCapabilities;
|
||||
|
||||
// Token: 0x04006F16 RID: 28438
|
||||
[Token(Token = "0x4006F16")]
|
||||
public static readonly DerObjectIdentifier IdSmime;
|
||||
|
||||
// Token: 0x04006F17 RID: 28439
|
||||
[Token(Token = "0x4006F17")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtFriendlyName;
|
||||
|
||||
// Token: 0x04006F18 RID: 28440
|
||||
[Token(Token = "0x4006F18")]
|
||||
public static readonly DerObjectIdentifier Pkcs9AtLocalKeyID;
|
||||
|
||||
// Token: 0x04006F19 RID: 28441
|
||||
[Token(Token = "0x4006F19")]
|
||||
[Obsolete]
|
||||
public static readonly DerObjectIdentifier X509CertType;
|
||||
|
||||
// Token: 0x04006F1A RID: 28442
|
||||
[Token(Token = "0x4006F1A")]
|
||||
public const string CertTypes = "1.2.840.113549.1.9.22";
|
||||
|
||||
// Token: 0x04006F1B RID: 28443
|
||||
[Token(Token = "0x4006F1B")]
|
||||
public static readonly DerObjectIdentifier X509Certificate;
|
||||
|
||||
// Token: 0x04006F1C RID: 28444
|
||||
[Token(Token = "0x4006F1C")]
|
||||
public static readonly DerObjectIdentifier SdsiCertificate;
|
||||
|
||||
// Token: 0x04006F1D RID: 28445
|
||||
[Token(Token = "0x4006F1D")]
|
||||
public const string CrlTypes = "1.2.840.113549.1.9.23";
|
||||
|
||||
// Token: 0x04006F1E RID: 28446
|
||||
[Token(Token = "0x4006F1E")]
|
||||
public static readonly DerObjectIdentifier X509Crl;
|
||||
|
||||
// Token: 0x04006F1F RID: 28447
|
||||
[Token(Token = "0x4006F1F")]
|
||||
public static readonly DerObjectIdentifier IdAlg;
|
||||
|
||||
// Token: 0x04006F20 RID: 28448
|
||||
[Token(Token = "0x4006F20")]
|
||||
public static readonly DerObjectIdentifier IdAlgEsdh;
|
||||
|
||||
// Token: 0x04006F21 RID: 28449
|
||||
[Token(Token = "0x4006F21")]
|
||||
public static readonly DerObjectIdentifier IdAlgCms3DesWrap;
|
||||
|
||||
// Token: 0x04006F22 RID: 28450
|
||||
[Token(Token = "0x4006F22")]
|
||||
public static readonly DerObjectIdentifier IdAlgCmsRC2Wrap;
|
||||
|
||||
// Token: 0x04006F23 RID: 28451
|
||||
[Token(Token = "0x4006F23")]
|
||||
public static readonly DerObjectIdentifier IdAlgPwriKek;
|
||||
|
||||
// Token: 0x04006F24 RID: 28452
|
||||
[Token(Token = "0x4006F24")]
|
||||
public static readonly DerObjectIdentifier IdAlgSsdh;
|
||||
|
||||
// Token: 0x04006F25 RID: 28453
|
||||
[Token(Token = "0x4006F25")]
|
||||
public static readonly DerObjectIdentifier IdRsaKem;
|
||||
|
||||
// Token: 0x04006F26 RID: 28454
|
||||
[Token(Token = "0x4006F26")]
|
||||
public static readonly DerObjectIdentifier PreferSignedData;
|
||||
|
||||
// Token: 0x04006F27 RID: 28455
|
||||
[Token(Token = "0x4006F27")]
|
||||
public static readonly DerObjectIdentifier CannotDecryptAny;
|
||||
|
||||
// Token: 0x04006F28 RID: 28456
|
||||
[Token(Token = "0x4006F28")]
|
||||
public static readonly DerObjectIdentifier SmimeCapabilitiesVersions;
|
||||
|
||||
// Token: 0x04006F29 RID: 28457
|
||||
[Token(Token = "0x4006F29")]
|
||||
public static readonly DerObjectIdentifier IdAAReceiptRequest;
|
||||
|
||||
// Token: 0x04006F2A RID: 28458
|
||||
[Token(Token = "0x4006F2A")]
|
||||
public const string IdCT = "1.2.840.113549.1.9.16.1";
|
||||
|
||||
// Token: 0x04006F2B RID: 28459
|
||||
[Token(Token = "0x4006F2B")]
|
||||
public static readonly DerObjectIdentifier IdCTAuthData;
|
||||
|
||||
// Token: 0x04006F2C RID: 28460
|
||||
[Token(Token = "0x4006F2C")]
|
||||
public static readonly DerObjectIdentifier IdCTTstInfo;
|
||||
|
||||
// Token: 0x04006F2D RID: 28461
|
||||
[Token(Token = "0x4006F2D")]
|
||||
public static readonly DerObjectIdentifier IdCTCompressedData;
|
||||
|
||||
// Token: 0x04006F2E RID: 28462
|
||||
[Token(Token = "0x4006F2E")]
|
||||
public static readonly DerObjectIdentifier IdCTAuthEnvelopedData;
|
||||
|
||||
// Token: 0x04006F2F RID: 28463
|
||||
[Token(Token = "0x4006F2F")]
|
||||
public static readonly DerObjectIdentifier IdCTTimestampedData;
|
||||
|
||||
// Token: 0x04006F30 RID: 28464
|
||||
[Token(Token = "0x4006F30")]
|
||||
public const string IdCti = "1.2.840.113549.1.9.16.6";
|
||||
|
||||
// Token: 0x04006F31 RID: 28465
|
||||
[Token(Token = "0x4006F31")]
|
||||
public static readonly DerObjectIdentifier IdCtiEtsProofOfOrigin;
|
||||
|
||||
// Token: 0x04006F32 RID: 28466
|
||||
[Token(Token = "0x4006F32")]
|
||||
public static readonly DerObjectIdentifier IdCtiEtsProofOfReceipt;
|
||||
|
||||
// Token: 0x04006F33 RID: 28467
|
||||
[Token(Token = "0x4006F33")]
|
||||
public static readonly DerObjectIdentifier IdCtiEtsProofOfDelivery;
|
||||
|
||||
// Token: 0x04006F34 RID: 28468
|
||||
[Token(Token = "0x4006F34")]
|
||||
public static readonly DerObjectIdentifier IdCtiEtsProofOfSender;
|
||||
|
||||
// Token: 0x04006F35 RID: 28469
|
||||
[Token(Token = "0x4006F35")]
|
||||
public static readonly DerObjectIdentifier IdCtiEtsProofOfApproval;
|
||||
|
||||
// Token: 0x04006F36 RID: 28470
|
||||
[Token(Token = "0x4006F36")]
|
||||
public static readonly DerObjectIdentifier IdCtiEtsProofOfCreation;
|
||||
|
||||
// Token: 0x04006F37 RID: 28471
|
||||
[Token(Token = "0x4006F37")]
|
||||
public const string IdAA = "1.2.840.113549.1.9.16.2";
|
||||
|
||||
// Token: 0x04006F38 RID: 28472
|
||||
[Token(Token = "0x4006F38")]
|
||||
public static readonly DerObjectIdentifier IdAAOid;
|
||||
|
||||
// Token: 0x04006F39 RID: 28473
|
||||
[Token(Token = "0x4006F39")]
|
||||
public static readonly DerObjectIdentifier IdAAContentHint;
|
||||
|
||||
// Token: 0x04006F3A RID: 28474
|
||||
[Token(Token = "0x4006F3A")]
|
||||
public static readonly DerObjectIdentifier IdAAMsgSigDigest;
|
||||
|
||||
// Token: 0x04006F3B RID: 28475
|
||||
[Token(Token = "0x4006F3B")]
|
||||
public static readonly DerObjectIdentifier IdAAContentReference;
|
||||
|
||||
// Token: 0x04006F3C RID: 28476
|
||||
[Token(Token = "0x4006F3C")]
|
||||
public static readonly DerObjectIdentifier IdAAEncrypKeyPref;
|
||||
|
||||
// Token: 0x04006F3D RID: 28477
|
||||
[Token(Token = "0x4006F3D")]
|
||||
public static readonly DerObjectIdentifier IdAASigningCertificate;
|
||||
|
||||
// Token: 0x04006F3E RID: 28478
|
||||
[Token(Token = "0x4006F3E")]
|
||||
public static readonly DerObjectIdentifier IdAASigningCertificateV2;
|
||||
|
||||
// Token: 0x04006F3F RID: 28479
|
||||
[Token(Token = "0x4006F3F")]
|
||||
public static readonly DerObjectIdentifier IdAAContentIdentifier;
|
||||
|
||||
// Token: 0x04006F40 RID: 28480
|
||||
[Token(Token = "0x4006F40")]
|
||||
public static readonly DerObjectIdentifier IdAASignatureTimeStampToken;
|
||||
|
||||
// Token: 0x04006F41 RID: 28481
|
||||
[Token(Token = "0x4006F41")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsSigPolicyID;
|
||||
|
||||
// Token: 0x04006F42 RID: 28482
|
||||
[Token(Token = "0x4006F42")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsCommitmentType;
|
||||
|
||||
// Token: 0x04006F43 RID: 28483
|
||||
[Token(Token = "0x4006F43")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsSignerLocation;
|
||||
|
||||
// Token: 0x04006F44 RID: 28484
|
||||
[Token(Token = "0x4006F44")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsSignerAttr;
|
||||
|
||||
// Token: 0x04006F45 RID: 28485
|
||||
[Token(Token = "0x4006F45")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsOtherSigCert;
|
||||
|
||||
// Token: 0x04006F46 RID: 28486
|
||||
[Token(Token = "0x4006F46")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsContentTimestamp;
|
||||
|
||||
// Token: 0x04006F47 RID: 28487
|
||||
[Token(Token = "0x4006F47")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsCertificateRefs;
|
||||
|
||||
// Token: 0x04006F48 RID: 28488
|
||||
[Token(Token = "0x4006F48")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsRevocationRefs;
|
||||
|
||||
// Token: 0x04006F49 RID: 28489
|
||||
[Token(Token = "0x4006F49")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsCertValues;
|
||||
|
||||
// Token: 0x04006F4A RID: 28490
|
||||
[Token(Token = "0x4006F4A")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsRevocationValues;
|
||||
|
||||
// Token: 0x04006F4B RID: 28491
|
||||
[Token(Token = "0x4006F4B")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsEscTimeStamp;
|
||||
|
||||
// Token: 0x04006F4C RID: 28492
|
||||
[Token(Token = "0x4006F4C")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsCertCrlTimestamp;
|
||||
|
||||
// Token: 0x04006F4D RID: 28493
|
||||
[Token(Token = "0x4006F4D")]
|
||||
public static readonly DerObjectIdentifier IdAAEtsArchiveTimestamp;
|
||||
|
||||
// Token: 0x04006F4E RID: 28494
|
||||
[Token(Token = "0x4006F4E")]
|
||||
public static readonly DerObjectIdentifier IdAADecryptKeyID;
|
||||
|
||||
// Token: 0x04006F4F RID: 28495
|
||||
[Token(Token = "0x4006F4F")]
|
||||
public static readonly DerObjectIdentifier IdAAImplCryptoAlgs;
|
||||
|
||||
// Token: 0x04006F50 RID: 28496
|
||||
[Token(Token = "0x4006F50")]
|
||||
public static readonly DerObjectIdentifier IdAAAsymmDecryptKeyID;
|
||||
|
||||
// Token: 0x04006F51 RID: 28497
|
||||
[Token(Token = "0x4006F51")]
|
||||
public static readonly DerObjectIdentifier IdAAImplCompressAlgs;
|
||||
|
||||
// Token: 0x04006F52 RID: 28498
|
||||
[Token(Token = "0x4006F52")]
|
||||
public static readonly DerObjectIdentifier IdAACommunityIdentifiers;
|
||||
|
||||
// Token: 0x04006F53 RID: 28499
|
||||
[Token(Token = "0x4006F53")]
|
||||
[Obsolete]
|
||||
public static readonly DerObjectIdentifier IdAASigPolicyID;
|
||||
|
||||
// Token: 0x04006F54 RID: 28500
|
||||
[Token(Token = "0x4006F54")]
|
||||
[Obsolete]
|
||||
public static readonly DerObjectIdentifier IdAACommitmentType;
|
||||
|
||||
// Token: 0x04006F55 RID: 28501
|
||||
[Token(Token = "0x4006F55")]
|
||||
[Obsolete]
|
||||
public static readonly DerObjectIdentifier IdAASignerLocation;
|
||||
|
||||
// Token: 0x04006F56 RID: 28502
|
||||
[Token(Token = "0x4006F56")]
|
||||
[Obsolete]
|
||||
public static readonly DerObjectIdentifier IdAAOtherSigCert;
|
||||
|
||||
// Token: 0x04006F57 RID: 28503
|
||||
[Token(Token = "0x4006F57")]
|
||||
public const string IdSpq = "1.2.840.113549.1.9.16.5";
|
||||
|
||||
// Token: 0x04006F58 RID: 28504
|
||||
[Token(Token = "0x4006F58")]
|
||||
public static readonly DerObjectIdentifier IdSpqEtsUri;
|
||||
|
||||
// Token: 0x04006F59 RID: 28505
|
||||
[Token(Token = "0x4006F59")]
|
||||
public static readonly DerObjectIdentifier IdSpqEtsUNotice;
|
||||
|
||||
// Token: 0x04006F5A RID: 28506
|
||||
[Token(Token = "0x4006F5A")]
|
||||
public const string Pkcs12 = "1.2.840.113549.1.12";
|
||||
|
||||
// Token: 0x04006F5B RID: 28507
|
||||
[Token(Token = "0x4006F5B")]
|
||||
public const string BagTypes = "1.2.840.113549.1.12.10.1";
|
||||
|
||||
// Token: 0x04006F5C RID: 28508
|
||||
[Token(Token = "0x4006F5C")]
|
||||
public static readonly DerObjectIdentifier KeyBag;
|
||||
|
||||
// Token: 0x04006F5D RID: 28509
|
||||
[Token(Token = "0x4006F5D")]
|
||||
public static readonly DerObjectIdentifier Pkcs8ShroudedKeyBag;
|
||||
|
||||
// Token: 0x04006F5E RID: 28510
|
||||
[Token(Token = "0x4006F5E")]
|
||||
public static readonly DerObjectIdentifier CertBag;
|
||||
|
||||
// Token: 0x04006F5F RID: 28511
|
||||
[Token(Token = "0x4006F5F")]
|
||||
public static readonly DerObjectIdentifier CrlBag;
|
||||
|
||||
// Token: 0x04006F60 RID: 28512
|
||||
[Token(Token = "0x4006F60")]
|
||||
public static readonly DerObjectIdentifier SecretBag;
|
||||
|
||||
// Token: 0x04006F61 RID: 28513
|
||||
[Token(Token = "0x4006F61")]
|
||||
public static readonly DerObjectIdentifier SafeContentsBag;
|
||||
|
||||
// Token: 0x04006F62 RID: 28514
|
||||
[Token(Token = "0x4006F62")]
|
||||
public const string Pkcs12PbeIds = "1.2.840.113549.1.12.1";
|
||||
|
||||
// Token: 0x04006F63 RID: 28515
|
||||
[Token(Token = "0x4006F63")]
|
||||
public static readonly DerObjectIdentifier PbeWithShaAnd128BitRC4;
|
||||
|
||||
// Token: 0x04006F64 RID: 28516
|
||||
[Token(Token = "0x4006F64")]
|
||||
public static readonly DerObjectIdentifier PbeWithShaAnd40BitRC4;
|
||||
|
||||
// Token: 0x04006F65 RID: 28517
|
||||
[Token(Token = "0x4006F65")]
|
||||
public static readonly DerObjectIdentifier PbeWithShaAnd3KeyTripleDesCbc;
|
||||
|
||||
// Token: 0x04006F66 RID: 28518
|
||||
[Token(Token = "0x4006F66")]
|
||||
public static readonly DerObjectIdentifier PbeWithShaAnd2KeyTripleDesCbc;
|
||||
|
||||
// Token: 0x04006F67 RID: 28519
|
||||
[Token(Token = "0x4006F67")]
|
||||
public static readonly DerObjectIdentifier PbeWithShaAnd128BitRC2Cbc;
|
||||
|
||||
// Token: 0x04006F68 RID: 28520
|
||||
[Token(Token = "0x4006F68")]
|
||||
public static readonly DerObjectIdentifier PbewithShaAnd40BitRC2Cbc;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,296 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018BA RID: 6330
|
||||
[Token(Token = "0x20018BA")]
|
||||
[StructLayout(3)]
|
||||
public class PrivateKeyInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AA02 RID: 43522 RVA: 0x0027AA7C File Offset: 0x00278C7C
|
||||
[Token(Token = "0x600AA02")]
|
||||
[Address(RVA = "0x27D8AD0", Offset = "0x27D74D0", VA = "0x1827D8AD0")]
|
||||
public static PrivateKeyInfo GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
Asn1Sequence instance2;
|
||||
for (;;)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj, explicitly);
|
||||
if (instance == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (instance == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (instance2 != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
instance2 = Asn1Sequence.GetInstance(instance);
|
||||
return new PrivateKeyInfo(instance2);
|
||||
}
|
||||
|
||||
// Token: 0x0600AA03 RID: 43523 RVA: 0x0027AAB8 File Offset: 0x00278CB8
|
||||
[Token(Token = "0x600AA03")]
|
||||
[Address(RVA = "0x27D89D0", Offset = "0x27D73D0", VA = "0x1827D89D0")]
|
||||
public static PrivateKeyInfo GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
return new PrivateKeyInfo(instance);
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA04 RID: 43524 RVA: 0x0027AAEC File Offset: 0x00278CEC
|
||||
[Token(Token = "0x600AA04")]
|
||||
[Address(RVA = "0x27D8BD0", Offset = "0x27D75D0", VA = "0x1827D8BD0")]
|
||||
private static int GetVersionValue(DerInteger version)
|
||||
{
|
||||
BigInteger value = version.Value;
|
||||
BigInteger zero = BigInteger.Zero;
|
||||
int num = value.CompareTo(zero);
|
||||
BigInteger one = BigInteger.One;
|
||||
int num2 = value.CompareTo(one);
|
||||
return value.IntValue;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA05 RID: 43525 RVA: 0x0027AB2C File Offset: 0x00278D2C
|
||||
[Token(Token = "0x600AA05")]
|
||||
[Address(RVA = "0x27D9570", Offset = "0x27D7F70", VA = "0x1827D9570")]
|
||||
public PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, Asn1Encodable privateKey)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(BigInteger.Zero);
|
||||
this.version = derInteger;
|
||||
this.privateKeyAlgorithm = privateKeyAlgorithm;
|
||||
DerOctetString derOctetString = new DerOctetString(privateKey);
|
||||
int num = 0;
|
||||
this.privateKey = derOctetString;
|
||||
this.attributes = num;
|
||||
this.publicKey = num;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA06 RID: 43526 RVA: 0x0027AB7C File Offset: 0x00278D7C
|
||||
[Token(Token = "0x600AA06")]
|
||||
[Address(RVA = "0x27D9070", Offset = "0x27D7A70", VA = "0x1827D9070")]
|
||||
public PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, Asn1Encodable privateKey, Asn1Set attributes)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600AA07 RID: 43527 RVA: 0x0027AB8C File Offset: 0x00278D8C
|
||||
[Token(Token = "0x600AA07")]
|
||||
[Address(RVA = "0x27D9410", Offset = "0x27D7E10", VA = "0x1827D9410")]
|
||||
public PrivateKeyInfo(AlgorithmIdentifier privateKeyAlgorithm, Asn1Encodable privateKey, Asn1Set attributes, byte[] publicKey)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(BigInteger.Zero);
|
||||
this.version = derInteger;
|
||||
this.privateKeyAlgorithm = privateKeyAlgorithm;
|
||||
DerOctetString derOctetString = new DerOctetString(privateKey);
|
||||
this.privateKey = derOctetString;
|
||||
this.attributes = attributes;
|
||||
DerBitString derBitString;
|
||||
this.publicKey = derBitString;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA08 RID: 43528 RVA: 0x0027ABDC File Offset: 0x00278DDC
|
||||
[Token(Token = "0x600AA08")]
|
||||
[Address(RVA = "0x27D9090", Offset = "0x27D7A90", VA = "0x1827D9090")]
|
||||
private PrivateKeyInfo(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AA08)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.PrivateKeyInfo::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_C9:
|
||||
stloc:ArgumentException(var_15_D8, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("unknown optional field in private key info"), ldstr:string("seq")))
|
||||
}
|
||||
|
||||
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: 0x17001AB7 RID: 6839
|
||||
// (get) Token: 0x0600AA09 RID: 43529 RVA: 0x0027ACC4 File Offset: 0x00278EC4
|
||||
[Token(Token = "0x17001AB7")]
|
||||
public virtual Asn1Set Attributes
|
||||
{
|
||||
[Token(Token = "0x600AA09")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return this.attributes;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AB8 RID: 6840
|
||||
// (get) Token: 0x0600AA0A RID: 43530 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x17001AB8")]
|
||||
public virtual bool HasPublicKey
|
||||
{
|
||||
[Token(Token = "0x600AA0A")]
|
||||
[Address(RVA = "0x78E160", Offset = "0x78CB60", VA = "0x18078E160", Slot = "7")]
|
||||
get
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AB9 RID: 6841
|
||||
// (get) Token: 0x0600AA0B RID: 43531 RVA: 0x0027ACD8 File Offset: 0x00278ED8
|
||||
[Token(Token = "0x17001AB9")]
|
||||
public virtual AlgorithmIdentifier PrivateKeyAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AA0B")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return this.privateKeyAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA0C RID: 43532 RVA: 0x0027ACEC File Offset: 0x00278EEC
|
||||
[Token(Token = "0x600AA0C")]
|
||||
[Address(RVA = "0x27D8CE0", Offset = "0x27D76E0", VA = "0x1827D8CE0", Slot = "9")]
|
||||
public virtual Asn1Object ParsePrivateKey()
|
||||
{
|
||||
Stream octetStream = this.privateKey.GetOctetStream();
|
||||
Asn1Object asn1Object;
|
||||
return asn1Object;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA0D RID: 43533 RVA: 0x0027AD0C File Offset: 0x00278F0C
|
||||
[Token(Token = "0x600AA0D")]
|
||||
[Address(RVA = "0x27D8D20", Offset = "0x27D7720", VA = "0x1827D8D20", Slot = "10")]
|
||||
public virtual Asn1Object ParsePublicKey()
|
||||
{
|
||||
DerBitString derBitString = this.publicKey;
|
||||
if (derBitString == 0)
|
||||
{
|
||||
}
|
||||
string @string = derBitString.GetString();
|
||||
Asn1Object asn1Object;
|
||||
return asn1Object;
|
||||
}
|
||||
|
||||
// Token: 0x17001ABA RID: 6842
|
||||
// (get) Token: 0x0600AA0E RID: 43534 RVA: 0x0027AD30 File Offset: 0x00278F30
|
||||
[Token(Token = "0x17001ABA")]
|
||||
public virtual DerBitString PublicKeyData
|
||||
{
|
||||
[Token(Token = "0x600AA0E")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250", Slot = "11")]
|
||||
get
|
||||
{
|
||||
return this.publicKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA0F RID: 43535 RVA: 0x0027AD44 File Offset: 0x00278F44
|
||||
[Token(Token = "0x600AA0F")]
|
||||
[Address(RVA = "0x27D8D60", Offset = "0x27D7760", VA = "0x1827D8D60", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
DerInteger derInteger = this.version;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
AlgorithmIdentifier algorithmIdentifier = this.privateKeyAlgorithm;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[1] = algorithmIdentifier;
|
||||
Asn1OctetString asn1OctetString = this.privateKey;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[2] = asn1OctetString;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.attributes != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Set asn1Set = this.attributes;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, asn1Set);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.publicKey != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerBitString derBitString = this.publicKey;
|
||||
int num3;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(num3 != 0, 1, derBitString);
|
||||
num3 = 0;
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006F6B RID: 28523
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F6B")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04006F6C RID: 28524
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F6C")]
|
||||
private readonly AlgorithmIdentifier privateKeyAlgorithm;
|
||||
|
||||
// Token: 0x04006F6D RID: 28525
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006F6D")]
|
||||
private readonly Asn1OctetString privateKey;
|
||||
|
||||
// Token: 0x04006F6E RID: 28526
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006F6E")]
|
||||
private readonly Asn1Set attributes;
|
||||
|
||||
// Token: 0x04006F6F RID: 28527
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006F6F")]
|
||||
private readonly DerBitString publicKey;
|
||||
}
|
||||
}
|
||||
+165
@@ -0,0 +1,165 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018BB RID: 6331
|
||||
[Token(Token = "0x20018BB")]
|
||||
[StructLayout(3)]
|
||||
public class RC2CbcParameter : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AA10 RID: 43536 RVA: 0x0027AE30 File Offset: 0x00279030
|
||||
[Token(Token = "0x600AA10")]
|
||||
[Address(RVA = "0x2629B60", Offset = "0x2628560", VA = "0x182629B60")]
|
||||
public static RC2CbcParameter GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AA10)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.RC2CbcParameter BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.RC2CbcParameter::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_12:
|
||||
stloc:string(var_3_18, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_4_2E, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in factory: "), ldloc:string(var_3_18)), 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: 0x0600AA11 RID: 43537 RVA: 0x0027AE6C File Offset: 0x0027906C
|
||||
[Token(Token = "0x600AA11")]
|
||||
[Address(RVA = "0x262A0C0", Offset = "0x2628AC0", VA = "0x18262A0C0")]
|
||||
public RC2CbcParameter(byte[] iv)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(iv);
|
||||
this.iv = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA12 RID: 43538 RVA: 0x0027AE90 File Offset: 0x00279090
|
||||
[Token(Token = "0x600AA12")]
|
||||
[Address(RVA = "0x262A020", Offset = "0x2628A20", VA = "0x18262A020")]
|
||||
public RC2CbcParameter(int parameterVersion, byte[] iv)
|
||||
{
|
||||
DerInteger derInteger = new DerInteger(parameterVersion);
|
||||
this.version = derInteger;
|
||||
DerOctetString derOctetString = new DerOctetString(iv);
|
||||
this.iv = derOctetString;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA13 RID: 43539 RVA: 0x0027AEC0 File Offset: 0x002790C0
|
||||
[Token(Token = "0x600AA13")]
|
||||
[Address(RVA = "0x2629E70", Offset = "0x2628870", VA = "0x182629E70")]
|
||||
private RC2CbcParameter(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser3;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable != (ulong)1L)
|
||||
{
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
if (parser == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
this.version = parser;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser2 == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (parser2 == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
parser3 = seq.Parser;
|
||||
if (parser3 == 0)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (parser3 == 0);
|
||||
this.iv = parser3;
|
||||
}
|
||||
|
||||
// Token: 0x17001ABB RID: 6843
|
||||
// (get) Token: 0x0600AA14 RID: 43540 RVA: 0x0027AF28 File Offset: 0x00279128
|
||||
[Token(Token = "0x17001ABB")]
|
||||
public BigInteger RC2ParameterVersion
|
||||
{
|
||||
[Token(Token = "0x600AA14")]
|
||||
[Address(RVA = "0x262A130", Offset = "0x2628B30", VA = "0x18262A130")]
|
||||
get
|
||||
{
|
||||
DerInteger derInteger = this.version;
|
||||
if (derInteger == 0)
|
||||
{
|
||||
}
|
||||
return derInteger.Value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA15 RID: 43541 RVA: 0x0027AF48 File Offset: 0x00279148
|
||||
[Token(Token = "0x600AA15")]
|
||||
[Address(RVA = "0x2629AE0", Offset = "0x26284E0", VA = "0x182629AE0")]
|
||||
public byte[] GetIV()
|
||||
{
|
||||
Stream octetStream = this.iv.GetOctetStream();
|
||||
byte[] array;
|
||||
return array;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA16 RID: 43542 RVA: 0x0027AF68 File Offset: 0x00279168
|
||||
[Token(Token = "0x600AA16")]
|
||||
[Address(RVA = "0x2629CD0", Offset = "0x26286D0", VA = "0x182629CD0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
if (this.version != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
DerInteger derInteger = this.version;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
asn1EncodableVector.Add(array);
|
||||
}
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1OctetString asn1OctetString = this.iv;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1OctetString;
|
||||
asn1EncodableVector.Add(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006F70 RID: 28528
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F70")]
|
||||
internal DerInteger version;
|
||||
|
||||
// Token: 0x04006F71 RID: 28529
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F71")]
|
||||
internal Asn1OctetString iv;
|
||||
}
|
||||
}
|
||||
+342
@@ -0,0 +1,342 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Math;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018BD RID: 6333
|
||||
[Token(Token = "0x20018BD")]
|
||||
[StructLayout(3)]
|
||||
public class RsaPrivateKeyStructure : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AA20 RID: 43552 RVA: 0x0027B290 File Offset: 0x00279490
|
||||
[Token(Token = "0x600AA20")]
|
||||
[Address(RVA = "0x262A7C0", Offset = "0x26291C0", VA = "0x18262A7C0")]
|
||||
public static RsaPrivateKeyStructure GetInstance(Asn1TaggedObject obj, bool isExplicit)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
Asn1Sequence instance2;
|
||||
for (;;)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj, isExplicit);
|
||||
if (instance == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (instance == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (instance2 != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
instance2 = Asn1Sequence.GetInstance(instance);
|
||||
return new RsaPrivateKeyStructure(instance2);
|
||||
}
|
||||
|
||||
// Token: 0x0600AA21 RID: 43553 RVA: 0x0027B2CC File Offset: 0x002794CC
|
||||
[Token(Token = "0x600AA21")]
|
||||
[Address(RVA = "0x262A6C0", Offset = "0x26290C0", VA = "0x18262A6C0")]
|
||||
public static RsaPrivateKeyStructure GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
Asn1Sequence instance;
|
||||
if (obj == 0)
|
||||
{
|
||||
instance = Asn1Sequence.GetInstance(obj);
|
||||
return new RsaPrivateKeyStructure(instance);
|
||||
}
|
||||
if (instance != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA22 RID: 43554 RVA: 0x0027B300 File Offset: 0x00279500
|
||||
[Token(Token = "0x600AA22")]
|
||||
[Address(RVA = "0x262AD20", Offset = "0x2629720", VA = "0x18262AD20")]
|
||||
public RsaPrivateKeyStructure(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger prime1, BigInteger prime2, BigInteger exponent1, BigInteger exponent2, BigInteger coefficient)
|
||||
{
|
||||
this.prime1 = 0;
|
||||
this.prime2 = 0;
|
||||
this.exponent1 = 0;
|
||||
this.exponent2 = 0;
|
||||
this.modulus = modulus;
|
||||
this.privateExponent = privateExponent;
|
||||
this.coefficient = 0;
|
||||
this.publicExponent = publicExponent;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA23 RID: 43555 RVA: 0x0027B34C File Offset: 0x0027954C
|
||||
[Token(Token = "0x600AA23")]
|
||||
[Address(RVA = "0x262ADA0", Offset = "0x26297A0", VA = "0x18262ADA0")]
|
||||
[Obsolete]
|
||||
public RsaPrivateKeyStructure(Asn1Sequence seq)
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
BigInteger bigInteger;
|
||||
if (parser != 0 && parser != 0 && bigInteger.IntValue == 0)
|
||||
{
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser2 != 0 && parser2 != 0)
|
||||
{
|
||||
BigInteger bigInteger2;
|
||||
this.modulus = bigInteger2;
|
||||
Asn1SequenceParser parser3 = seq.Parser;
|
||||
if (parser3 != 0 && parser3 != 0)
|
||||
{
|
||||
BigInteger bigInteger3;
|
||||
this.publicExponent = bigInteger3;
|
||||
Asn1SequenceParser parser4 = seq.Parser;
|
||||
if (parser4 != 0 && parser4 != 0)
|
||||
{
|
||||
BigInteger bigInteger4;
|
||||
this.privateExponent = bigInteger4;
|
||||
Asn1SequenceParser parser5 = seq.Parser;
|
||||
if (parser5 != 0 && parser5 != 0)
|
||||
{
|
||||
BigInteger bigInteger5;
|
||||
this.prime1 = bigInteger5;
|
||||
Asn1SequenceParser parser6 = seq.Parser;
|
||||
if (parser6 != 0 && parser6 != 0)
|
||||
{
|
||||
BigInteger bigInteger6;
|
||||
this.prime2 = bigInteger6;
|
||||
Asn1SequenceParser parser7 = seq.Parser;
|
||||
if (parser7 != 0 && parser7 != 0)
|
||||
{
|
||||
BigInteger bigInteger7;
|
||||
this.exponent1 = bigInteger7;
|
||||
Asn1SequenceParser parser8 = seq.Parser;
|
||||
if (parser8 != 0 && parser8 != 0)
|
||||
{
|
||||
BigInteger bigInteger8;
|
||||
this.exponent2 = bigInteger8;
|
||||
Asn1SequenceParser parser9 = seq.Parser;
|
||||
if (parser9 != 0 && parser9 != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
BigInteger bigInteger9;
|
||||
this.coefficient = bigInteger9;
|
||||
}
|
||||
|
||||
// Token: 0x17001ABF RID: 6847
|
||||
// (get) Token: 0x0600AA24 RID: 43556 RVA: 0x0027B4A0 File Offset: 0x002796A0
|
||||
[Token(Token = "0x17001ABF")]
|
||||
public BigInteger Modulus
|
||||
{
|
||||
[Token(Token = "0x600AA24")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.modulus;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC0 RID: 6848
|
||||
// (get) Token: 0x0600AA25 RID: 43557 RVA: 0x0027B4B4 File Offset: 0x002796B4
|
||||
[Token(Token = "0x17001AC0")]
|
||||
public BigInteger PublicExponent
|
||||
{
|
||||
[Token(Token = "0x600AA25")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.publicExponent;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC1 RID: 6849
|
||||
// (get) Token: 0x0600AA26 RID: 43558 RVA: 0x0027B4C8 File Offset: 0x002796C8
|
||||
[Token(Token = "0x17001AC1")]
|
||||
public BigInteger PrivateExponent
|
||||
{
|
||||
[Token(Token = "0x600AA26")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.privateExponent;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC2 RID: 6850
|
||||
// (get) Token: 0x0600AA27 RID: 43559 RVA: 0x0027B4DC File Offset: 0x002796DC
|
||||
[Token(Token = "0x17001AC2")]
|
||||
public BigInteger Prime1
|
||||
{
|
||||
[Token(Token = "0x600AA27")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.prime1;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC3 RID: 6851
|
||||
// (get) Token: 0x0600AA28 RID: 43560 RVA: 0x0027B4F0 File Offset: 0x002796F0
|
||||
[Token(Token = "0x17001AC3")]
|
||||
public BigInteger Prime2
|
||||
{
|
||||
[Token(Token = "0x600AA28")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
||||
get
|
||||
{
|
||||
return this.prime2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC4 RID: 6852
|
||||
// (get) Token: 0x0600AA29 RID: 43561 RVA: 0x0027B504 File Offset: 0x00279704
|
||||
[Token(Token = "0x17001AC4")]
|
||||
public BigInteger Exponent1
|
||||
{
|
||||
[Token(Token = "0x600AA29")]
|
||||
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
|
||||
get
|
||||
{
|
||||
return this.exponent1;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC5 RID: 6853
|
||||
// (get) Token: 0x0600AA2A RID: 43562 RVA: 0x0027B518 File Offset: 0x00279718
|
||||
[Token(Token = "0x17001AC5")]
|
||||
public BigInteger Exponent2
|
||||
{
|
||||
[Token(Token = "0x600AA2A")]
|
||||
[Address(RVA = "0x3D32F0", Offset = "0x3D1CF0", VA = "0x1803D32F0")]
|
||||
get
|
||||
{
|
||||
return this.exponent2;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC6 RID: 6854
|
||||
// (get) Token: 0x0600AA2B RID: 43563 RVA: 0x0027B52C File Offset: 0x0027972C
|
||||
[Token(Token = "0x17001AC6")]
|
||||
public BigInteger Coefficient
|
||||
{
|
||||
[Token(Token = "0x600AA2B")]
|
||||
[Address(RVA = "0x3EDEA0", Offset = "0x3EC8A0", VA = "0x1803EDEA0")]
|
||||
get
|
||||
{
|
||||
return this.coefficient;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA2C RID: 43564 RVA: 0x0027B540 File Offset: 0x00279740
|
||||
[Token(Token = "0x600AA2C")]
|
||||
[Address(RVA = "0x262A8C0", Offset = "0x26292C0", VA = "0x18262A8C0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[9];
|
||||
int num;
|
||||
DerInteger derInteger = new DerInteger(num);
|
||||
num = 0;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
DerInteger derInteger2 = new DerInteger(this.modulus);
|
||||
if (derInteger2 != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derInteger2;
|
||||
DerInteger derInteger3 = new DerInteger(this.publicExponent);
|
||||
if (derInteger3 != 0)
|
||||
{
|
||||
}
|
||||
array[2] = derInteger3;
|
||||
DerInteger derInteger4 = new DerInteger(this.privateExponent);
|
||||
if (derInteger4 != 0)
|
||||
{
|
||||
}
|
||||
array[3] = derInteger4;
|
||||
DerInteger derInteger5 = new DerInteger(this.prime1);
|
||||
if (derInteger5 != 0)
|
||||
{
|
||||
}
|
||||
array[4] = derInteger5;
|
||||
DerInteger derInteger6 = new DerInteger(this.prime2);
|
||||
if (derInteger6 != 0)
|
||||
{
|
||||
}
|
||||
array[5] = derInteger6;
|
||||
DerInteger derInteger7 = new DerInteger(this.exponent1);
|
||||
if (derInteger7 != 0)
|
||||
{
|
||||
}
|
||||
array[6] = derInteger7;
|
||||
DerInteger derInteger8 = new DerInteger(this.exponent2);
|
||||
if (derInteger8 != 0)
|
||||
{
|
||||
}
|
||||
array[7] = derInteger8;
|
||||
DerInteger derInteger9 = new DerInteger(this.coefficient);
|
||||
if (derInteger9 != 0)
|
||||
{
|
||||
}
|
||||
array[8] = derInteger9;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006F78 RID: 28536
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F78")]
|
||||
private readonly BigInteger modulus;
|
||||
|
||||
// Token: 0x04006F79 RID: 28537
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F79")]
|
||||
private readonly BigInteger publicExponent;
|
||||
|
||||
// Token: 0x04006F7A RID: 28538
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006F7A")]
|
||||
private readonly BigInteger privateExponent;
|
||||
|
||||
// Token: 0x04006F7B RID: 28539
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006F7B")]
|
||||
private readonly BigInteger prime1;
|
||||
|
||||
// Token: 0x04006F7C RID: 28540
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006F7C")]
|
||||
private readonly BigInteger prime2;
|
||||
|
||||
// Token: 0x04006F7D RID: 28541
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006F7D")]
|
||||
private readonly BigInteger exponent1;
|
||||
|
||||
// Token: 0x04006F7E RID: 28542
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4006F7E")]
|
||||
private readonly BigInteger exponent2;
|
||||
|
||||
// Token: 0x04006F7F RID: 28543
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x4006F7F")]
|
||||
private readonly BigInteger coefficient;
|
||||
}
|
||||
}
|
||||
+222
@@ -0,0 +1,222 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Oiw;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018BC RID: 6332
|
||||
[Token(Token = "0x20018BC")]
|
||||
[StructLayout(3)]
|
||||
public class RsaesOaepParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AA17 RID: 43543 RVA: 0x0027AFD4 File Offset: 0x002791D4
|
||||
[Token(Token = "0x600AA17")]
|
||||
[Address(RVA = "0x262B4C0", Offset = "0x2629EC0", VA = "0x18262B4C0")]
|
||||
public static RsaesOaepParameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AA17)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.RsaesOaepParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.RsaesOaepParameters::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("Unknown object in factory: "), 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: 0x0600AA18 RID: 43544 RVA: 0x0027B024 File Offset: 0x00279224
|
||||
[Token(Token = "0x600AA18")]
|
||||
[Address(RVA = "0x262BE10", Offset = "0x262A810", VA = "0x18262BE10")]
|
||||
public RsaesOaepParameters()
|
||||
{
|
||||
AlgorithmIdentifier defaultHashAlgorithm = RsaesOaepParameters.DefaultHashAlgorithm;
|
||||
this.hashAlgorithm = defaultHashAlgorithm;
|
||||
AlgorithmIdentifier defaultMaskGenFunction = RsaesOaepParameters.DefaultMaskGenFunction;
|
||||
this.maskGenAlgorithm = defaultMaskGenFunction;
|
||||
AlgorithmIdentifier defaultPSourceAlgorithm = RsaesOaepParameters.DefaultPSourceAlgorithm;
|
||||
this.pSourceAlgorithm = defaultPSourceAlgorithm;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA19 RID: 43545 RVA: 0x0027B060 File Offset: 0x00279260
|
||||
[Token(Token = "0x600AA19")]
|
||||
[Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")]
|
||||
public RsaesOaepParameters(AlgorithmIdentifier hashAlgorithm, AlgorithmIdentifier maskGenAlgorithm, AlgorithmIdentifier pSourceAlgorithm)
|
||||
{
|
||||
this.hashAlgorithm = hashAlgorithm;
|
||||
this.maskGenAlgorithm = maskGenAlgorithm;
|
||||
this.pSourceAlgorithm = pSourceAlgorithm;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA1A RID: 43546 RVA: 0x0027B088 File Offset: 0x00279288
|
||||
[Token(Token = "0x600AA1A")]
|
||||
[Address(RVA = "0x262BC30", Offset = "0x262A630", VA = "0x18262BC30")]
|
||||
public RsaesOaepParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AA1A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.RsaesOaepParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_7E:
|
||||
stloc:ArgumentException(var_11_88, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("unknown tag")))
|
||||
}
|
||||
|
||||
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: 0x17001ABC RID: 6844
|
||||
// (get) Token: 0x0600AA1B RID: 43547 RVA: 0x0027B120 File Offset: 0x00279320
|
||||
[Token(Token = "0x17001ABC")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AA1B")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001ABD RID: 6845
|
||||
// (get) Token: 0x0600AA1C RID: 43548 RVA: 0x0027B134 File Offset: 0x00279334
|
||||
[Token(Token = "0x17001ABD")]
|
||||
public AlgorithmIdentifier MaskGenAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AA1C")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.maskGenAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001ABE RID: 6846
|
||||
// (get) Token: 0x0600AA1D RID: 43549 RVA: 0x0027B148 File Offset: 0x00279348
|
||||
[Token(Token = "0x17001ABE")]
|
||||
public AlgorithmIdentifier PSourceAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AA1D")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.pSourceAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA1E RID: 43550 RVA: 0x0027B15C File Offset: 0x0027935C
|
||||
[Token(Token = "0x600AA1E")]
|
||||
[Address(RVA = "0x262B6B0", Offset = "0x262A0B0", VA = "0x18262B6B0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier = this.hashAlgorithm;
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
AlgorithmIdentifier algorithmIdentifier2 = this.hashAlgorithm;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, algorithmIdentifier2);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
asn1EncodableVector.Add(array);
|
||||
AlgorithmIdentifier algorithmIdentifier3 = this.maskGenAlgorithm;
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
AlgorithmIdentifier algorithmIdentifier4 = this.maskGenAlgorithm;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(16777216 != 0, 16777216, algorithmIdentifier4);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
AlgorithmIdentifier algorithmIdentifier5 = this.pSourceAlgorithm;
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
AlgorithmIdentifier algorithmIdentifier6 = this.pSourceAlgorithm;
|
||||
DerTaggedObject derTaggedObject3 = new DerTaggedObject(true, 2, algorithmIdentifier6);
|
||||
if (derTaggedObject3 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derTaggedObject3;
|
||||
asn1EncodableVector.Add(array3);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600AA1F RID: 43551 RVA: 0x0027B22C File Offset: 0x0027942C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600AA1F")]
|
||||
[Address(RVA = "0x262BA70", Offset = "0x262A470", VA = "0x18262BA70")]
|
||||
static RsaesOaepParameters()
|
||||
{
|
||||
DerObjectIdentifier idSha = OiwObjectIdentifiers.IdSha1;
|
||||
DerNull instance = DerNull.Instance;
|
||||
RsaesOaepParameters.DefaultHashAlgorithm = new AlgorithmIdentifier(idSha, instance);
|
||||
DerObjectIdentifier idMgf = PkcsObjectIdentifiers.IdMgf1;
|
||||
AlgorithmIdentifier defaultHashAlgorithm = RsaesOaepParameters.DefaultHashAlgorithm;
|
||||
RsaesOaepParameters.DefaultMaskGenFunction = new AlgorithmIdentifier(idMgf, defaultHashAlgorithm);
|
||||
int num = 0;
|
||||
DerObjectIdentifier idPSpecified = PkcsObjectIdentifiers.IdPSpecified;
|
||||
DerOctetString derOctetString = new DerOctetString(new byte[num]);
|
||||
RsaesOaepParameters.DefaultPSourceAlgorithm = new AlgorithmIdentifier(idPSpecified, derOctetString);
|
||||
}
|
||||
|
||||
// Token: 0x04006F72 RID: 28530
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F72")]
|
||||
private AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04006F73 RID: 28531
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F73")]
|
||||
private AlgorithmIdentifier maskGenAlgorithm;
|
||||
|
||||
// Token: 0x04006F74 RID: 28532
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006F74")]
|
||||
private AlgorithmIdentifier pSourceAlgorithm;
|
||||
|
||||
// Token: 0x04006F75 RID: 28533
|
||||
[Token(Token = "0x4006F75")]
|
||||
public static readonly AlgorithmIdentifier DefaultHashAlgorithm;
|
||||
|
||||
// Token: 0x04006F76 RID: 28534
|
||||
[Token(Token = "0x4006F76")]
|
||||
public static readonly AlgorithmIdentifier DefaultMaskGenFunction;
|
||||
|
||||
// Token: 0x04006F77 RID: 28535
|
||||
[Token(Token = "0x4006F77")]
|
||||
public static readonly AlgorithmIdentifier DefaultPSourceAlgorithm;
|
||||
}
|
||||
}
|
||||
+257
@@ -0,0 +1,257 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Oiw;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018BE RID: 6334
|
||||
[Token(Token = "0x20018BE")]
|
||||
[StructLayout(3)]
|
||||
public class RsassaPssParameters : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AA2D RID: 43565 RVA: 0x0027B64C File Offset: 0x0027984C
|
||||
[Token(Token = "0x600AA2D")]
|
||||
[Address(RVA = "0x262BEB0", Offset = "0x262A8B0", VA = "0x18262BEB0")]
|
||||
public static RsassaPssParameters GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AA2D)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.RsassaPssParameters BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.RsassaPssParameters::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_44, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Unknown object in factory: "), ldloc:string(var_6_2C)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA2E RID: 43566 RVA: 0x0027B6A0 File Offset: 0x002798A0
|
||||
[Token(Token = "0x600AA2E")]
|
||||
[Address(RVA = "0x262C930", Offset = "0x262B330", VA = "0x18262C930")]
|
||||
public RsassaPssParameters()
|
||||
{
|
||||
AlgorithmIdentifier defaultHashAlgorithm = RsassaPssParameters.DefaultHashAlgorithm;
|
||||
this.hashAlgorithm = defaultHashAlgorithm;
|
||||
AlgorithmIdentifier defaultMaskGenFunction = RsassaPssParameters.DefaultMaskGenFunction;
|
||||
this.maskGenAlgorithm = defaultMaskGenFunction;
|
||||
DerInteger defaultSaltLength = RsassaPssParameters.DefaultSaltLength;
|
||||
this.saltLength = defaultSaltLength;
|
||||
DerInteger defaultTrailerField = RsassaPssParameters.DefaultTrailerField;
|
||||
this.trailerField = defaultTrailerField;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA2F RID: 43567 RVA: 0x0027B6E8 File Offset: 0x002798E8
|
||||
[Token(Token = "0x600AA2F")]
|
||||
[Address(RVA = "0x9BCAC0", Offset = "0x9BB4C0", VA = "0x1809BCAC0")]
|
||||
public RsassaPssParameters(AlgorithmIdentifier hashAlgorithm, AlgorithmIdentifier maskGenAlgorithm, DerInteger saltLength, DerInteger trailerField)
|
||||
{
|
||||
this.hashAlgorithm = hashAlgorithm;
|
||||
this.saltLength = saltLength;
|
||||
this.trailerField = 0;
|
||||
this.maskGenAlgorithm = maskGenAlgorithm;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA30 RID: 43568 RVA: 0x0027B718 File Offset: 0x00279918
|
||||
[Token(Token = "0x600AA30")]
|
||||
[Address(RVA = "0x262C710", Offset = "0x262B110", VA = "0x18262C710")]
|
||||
public RsassaPssParameters(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AA30)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.RsassaPssParameters::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_9E:
|
||||
stloc:ArgumentException(var_13_A8, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("unknown tag")))
|
||||
}
|
||||
|
||||
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: 0x17001AC7 RID: 6855
|
||||
// (get) Token: 0x0600AA31 RID: 43569 RVA: 0x0027B7D0 File Offset: 0x002799D0
|
||||
[Token(Token = "0x17001AC7")]
|
||||
public AlgorithmIdentifier HashAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AA31")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.hashAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC8 RID: 6856
|
||||
// (get) Token: 0x0600AA32 RID: 43570 RVA: 0x0027B7E4 File Offset: 0x002799E4
|
||||
[Token(Token = "0x17001AC8")]
|
||||
public AlgorithmIdentifier MaskGenAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AA32")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.maskGenAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AC9 RID: 6857
|
||||
// (get) Token: 0x0600AA33 RID: 43571 RVA: 0x0027B7F8 File Offset: 0x002799F8
|
||||
[Token(Token = "0x17001AC9")]
|
||||
public DerInteger SaltLength
|
||||
{
|
||||
[Token(Token = "0x600AA33")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.saltLength;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001ACA RID: 6858
|
||||
// (get) Token: 0x0600AA34 RID: 43572 RVA: 0x0027B80C File Offset: 0x00279A0C
|
||||
[Token(Token = "0x17001ACA")]
|
||||
public DerInteger TrailerField
|
||||
{
|
||||
[Token(Token = "0x600AA34")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.trailerField;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA35 RID: 43573 RVA: 0x0027B820 File Offset: 0x00279A20
|
||||
[Token(Token = "0x600AA35")]
|
||||
[Address(RVA = "0x262C0B0", Offset = "0x262AAB0", VA = "0x18262C0B0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
AlgorithmIdentifier algorithmIdentifier = this.hashAlgorithm;
|
||||
Asn1Encodable[] array = new Asn1Encodable[0];
|
||||
AlgorithmIdentifier algorithmIdentifier2 = this.hashAlgorithm;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(true, num, algorithmIdentifier2);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derTaggedObject;
|
||||
Asn1EncodableVector asn1EncodableVector;
|
||||
asn1EncodableVector.Add(array);
|
||||
AlgorithmIdentifier algorithmIdentifier3 = this.maskGenAlgorithm;
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
AlgorithmIdentifier algorithmIdentifier4 = this.maskGenAlgorithm;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(16777216 != 0, 16777216, algorithmIdentifier4);
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array2);
|
||||
DerInteger derInteger = this.saltLength;
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
DerInteger derInteger2 = this.saltLength;
|
||||
DerTaggedObject derTaggedObject3 = new DerTaggedObject(true, 2, derInteger2);
|
||||
if (derTaggedObject3 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derTaggedObject3;
|
||||
asn1EncodableVector.Add(array3);
|
||||
DerInteger derInteger3 = this.trailerField;
|
||||
Asn1Encodable[] array4 = new Asn1Encodable[1];
|
||||
DerInteger derInteger4 = this.trailerField;
|
||||
DerTaggedObject derTaggedObject4 = new DerTaggedObject(true, 3, derInteger4);
|
||||
if (derTaggedObject4 != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = derTaggedObject4;
|
||||
asn1EncodableVector.Add(array4);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0600AA36 RID: 43574 RVA: 0x0027B92C File Offset: 0x00279B2C
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600AA36")]
|
||||
[Address(RVA = "0x262C560", Offset = "0x262AF60", VA = "0x18262C560")]
|
||||
static RsassaPssParameters()
|
||||
{
|
||||
DerObjectIdentifier idSha = OiwObjectIdentifiers.IdSha1;
|
||||
DerNull instance = DerNull.Instance;
|
||||
RsassaPssParameters.DefaultHashAlgorithm = new AlgorithmIdentifier(idSha, instance);
|
||||
DerObjectIdentifier idMgf = PkcsObjectIdentifiers.IdMgf1;
|
||||
AlgorithmIdentifier defaultHashAlgorithm = RsassaPssParameters.DefaultHashAlgorithm;
|
||||
RsassaPssParameters.DefaultMaskGenFunction = new AlgorithmIdentifier(idMgf, defaultHashAlgorithm);
|
||||
RsassaPssParameters.DefaultSaltLength = new DerInteger(20);
|
||||
RsassaPssParameters.DefaultTrailerField = new DerInteger(1);
|
||||
}
|
||||
|
||||
// Token: 0x04006F80 RID: 28544
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F80")]
|
||||
private AlgorithmIdentifier hashAlgorithm;
|
||||
|
||||
// Token: 0x04006F81 RID: 28545
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F81")]
|
||||
private AlgorithmIdentifier maskGenAlgorithm;
|
||||
|
||||
// Token: 0x04006F82 RID: 28546
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006F82")]
|
||||
private DerInteger saltLength;
|
||||
|
||||
// Token: 0x04006F83 RID: 28547
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006F83")]
|
||||
private DerInteger trailerField;
|
||||
|
||||
// Token: 0x04006F84 RID: 28548
|
||||
[Token(Token = "0x4006F84")]
|
||||
public static readonly AlgorithmIdentifier DefaultHashAlgorithm;
|
||||
|
||||
// Token: 0x04006F85 RID: 28549
|
||||
[Token(Token = "0x4006F85")]
|
||||
public static readonly AlgorithmIdentifier DefaultMaskGenFunction;
|
||||
|
||||
// Token: 0x04006F86 RID: 28550
|
||||
[Token(Token = "0x4006F86")]
|
||||
public static readonly DerInteger DefaultSaltLength;
|
||||
|
||||
// Token: 0x04006F87 RID: 28551
|
||||
[Token(Token = "0x4006F87")]
|
||||
public static readonly DerInteger DefaultTrailerField;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,157 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018BF RID: 6335
|
||||
[Token(Token = "0x20018BF")]
|
||||
[StructLayout(3)]
|
||||
public class SafeBag : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AA37 RID: 43575 RVA: 0x0027B980 File Offset: 0x00279B80
|
||||
[Token(Token = "0x600AA37")]
|
||||
[Address(RVA = "0x262CDE0", Offset = "0x262B7E0", VA = "0x18262CDE0")]
|
||||
public SafeBag(DerObjectIdentifier oid, Asn1Object obj)
|
||||
{
|
||||
this.bagID = oid;
|
||||
this.bagValue = obj;
|
||||
this.bagAttributes = (ulong)0L;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA38 RID: 43576 RVA: 0x0027B9AC File Offset: 0x00279BAC
|
||||
[Token(Token = "0x600AA38")]
|
||||
[Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")]
|
||||
public SafeBag(DerObjectIdentifier oid, Asn1Object obj, Asn1Set bagAttributes)
|
||||
{
|
||||
this.bagID = oid;
|
||||
this.bagValue = obj;
|
||||
this.bagAttributes = bagAttributes;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA39 RID: 43577 RVA: 0x0027B9D4 File Offset: 0x00279BD4
|
||||
[Token(Token = "0x600AA39")]
|
||||
[Address(RVA = "0x262CBD0", Offset = "0x262B5D0", VA = "0x18262CBD0")]
|
||||
public SafeBag(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser3;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
Asn1SequenceParser parser = seq.Parser;
|
||||
if (parser == 0)
|
||||
{
|
||||
}
|
||||
if (parser != 0)
|
||||
{
|
||||
this.bagID = parser;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
if (parser2 != 0 && parser2 != 0)
|
||||
{
|
||||
Asn1Object asn1Object;
|
||||
this.bagValue = asn1Object;
|
||||
Asn1Encodable asn1Encodable;
|
||||
if (asn1Encodable != (ulong)3L)
|
||||
{
|
||||
return;
|
||||
}
|
||||
parser3 = seq.Parser;
|
||||
if (parser3 == 0 || parser3 != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.bagAttributes = parser3;
|
||||
}
|
||||
|
||||
// Token: 0x17001ACB RID: 6859
|
||||
// (get) Token: 0x0600AA3A RID: 43578 RVA: 0x0027BA48 File Offset: 0x00279C48
|
||||
[Token(Token = "0x17001ACB")]
|
||||
public DerObjectIdentifier BagID
|
||||
{
|
||||
[Token(Token = "0x600AA3A")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.bagID;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001ACC RID: 6860
|
||||
// (get) Token: 0x0600AA3B RID: 43579 RVA: 0x0027BA5C File Offset: 0x00279C5C
|
||||
[Token(Token = "0x17001ACC")]
|
||||
public Asn1Object BagValue
|
||||
{
|
||||
[Token(Token = "0x600AA3B")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.bagValue;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001ACD RID: 6861
|
||||
// (get) Token: 0x0600AA3C RID: 43580 RVA: 0x0027BA70 File Offset: 0x00279C70
|
||||
[Token(Token = "0x17001ACD")]
|
||||
public Asn1Set BagAttributes
|
||||
{
|
||||
[Token(Token = "0x600AA3C")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.bagAttributes;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA3D RID: 43581 RVA: 0x0027BA84 File Offset: 0x00279C84
|
||||
[Token(Token = "0x600AA3D")]
|
||||
[Address(RVA = "0x262C9E0", Offset = "0x262B3E0", VA = "0x18262C9E0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier = this.bagID;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1Object asn1Object = this.bagValue;
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num, asn1Object);
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array[1] = derTaggedObject;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.bagAttributes != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Set asn1Set = this.bagAttributes;
|
||||
if (asn1Set != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = asn1Set;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006F88 RID: 28552
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F88")]
|
||||
private readonly DerObjectIdentifier bagID;
|
||||
|
||||
// Token: 0x04006F89 RID: 28553
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F89")]
|
||||
private readonly Asn1Object bagValue;
|
||||
|
||||
// Token: 0x04006F8A RID: 28554
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006F8A")]
|
||||
private readonly Asn1Set bagAttributes;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,256 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018C0 RID: 6336
|
||||
[Token(Token = "0x20018C0")]
|
||||
[StructLayout(3)]
|
||||
public class SignedData : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AA3E RID: 43582 RVA: 0x0027BB14 File Offset: 0x00279D14
|
||||
[Token(Token = "0x600AA3E")]
|
||||
[Address(RVA = "0x2633CC0", Offset = "0x26326C0", VA = "0x182633CC0")]
|
||||
public static SignedData GetInstance(object obj)
|
||||
{
|
||||
while (obj != 0)
|
||||
{
|
||||
if (obj == 0)
|
||||
{
|
||||
return new SignedData(Asn1Sequence.GetInstance(obj));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA3F RID: 43583 RVA: 0x0027BB38 File Offset: 0x00279D38
|
||||
[Token(Token = "0x600AA3F")]
|
||||
[Address(RVA = "0x2634100", Offset = "0x2632B00", VA = "0x182634100")]
|
||||
public SignedData(DerInteger _version, Asn1Set _digestAlgorithms, ContentInfo _contentInfo, Asn1Set _certificates, Asn1Set _crls, Asn1Set _signerInfos)
|
||||
{
|
||||
this.certificates = 0;
|
||||
this.crls = 0;
|
||||
this.version = _version;
|
||||
this.contentInfo = _contentInfo;
|
||||
this.signerInfos = 0;
|
||||
this.digestAlgorithms = _digestAlgorithms;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA40 RID: 43584 RVA: 0x0027BB78 File Offset: 0x00279D78
|
||||
[Token(Token = "0x600AA40")]
|
||||
[Address(RVA = "0x2634170", Offset = "0x2632B70", VA = "0x182634170")]
|
||||
private SignedData(Asn1Sequence seq)
|
||||
{
|
||||
ContentInfo contentInfo;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
if (enumerator == 0 || enumerator != 0)
|
||||
{
|
||||
this.version = enumerator;
|
||||
if (enumerator == 0 || enumerator != 0)
|
||||
{
|
||||
this.digestAlgorithms = enumerator;
|
||||
this.contentInfo = contentInfo;
|
||||
if (contentInfo == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if (contentInfo == 0)
|
||||
{
|
||||
}
|
||||
if (contentInfo != 0)
|
||||
{
|
||||
if (contentInfo == 0)
|
||||
{
|
||||
this.signerInfos = contentInfo;
|
||||
}
|
||||
if (contentInfo != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (contentInfo.contentType == 0)
|
||||
{
|
||||
Asn1Set asn1Set;
|
||||
this.certificates = asn1Set;
|
||||
}
|
||||
Asn1Set asn1Set2;
|
||||
this.crls = asn1Set2;
|
||||
}
|
||||
|
||||
// Token: 0x17001ACE RID: 6862
|
||||
// (get) Token: 0x0600AA41 RID: 43585 RVA: 0x0027BC14 File Offset: 0x00279E14
|
||||
[Token(Token = "0x17001ACE")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600AA41")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001ACF RID: 6863
|
||||
// (get) Token: 0x0600AA42 RID: 43586 RVA: 0x0027BC28 File Offset: 0x00279E28
|
||||
[Token(Token = "0x17001ACF")]
|
||||
public Asn1Set DigestAlgorithms
|
||||
{
|
||||
[Token(Token = "0x600AA42")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.digestAlgorithms;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD0 RID: 6864
|
||||
// (get) Token: 0x0600AA43 RID: 43587 RVA: 0x0027BC3C File Offset: 0x00279E3C
|
||||
[Token(Token = "0x17001AD0")]
|
||||
public ContentInfo ContentInfo
|
||||
{
|
||||
[Token(Token = "0x600AA43")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.contentInfo;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD1 RID: 6865
|
||||
// (get) Token: 0x0600AA44 RID: 43588 RVA: 0x0027BC50 File Offset: 0x00279E50
|
||||
[Token(Token = "0x17001AD1")]
|
||||
public Asn1Set Certificates
|
||||
{
|
||||
[Token(Token = "0x600AA44")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.certificates;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD2 RID: 6866
|
||||
// (get) Token: 0x0600AA45 RID: 43589 RVA: 0x0027BC64 File Offset: 0x00279E64
|
||||
[Token(Token = "0x17001AD2")]
|
||||
public Asn1Set Crls
|
||||
{
|
||||
[Token(Token = "0x600AA45")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
||||
get
|
||||
{
|
||||
return this.crls;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD3 RID: 6867
|
||||
// (get) Token: 0x0600AA46 RID: 43590 RVA: 0x0027BC78 File Offset: 0x00279E78
|
||||
[Token(Token = "0x17001AD3")]
|
||||
public Asn1Set SignerInfos
|
||||
{
|
||||
[Token(Token = "0x600AA46")]
|
||||
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
|
||||
get
|
||||
{
|
||||
return this.signerInfos;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA47 RID: 43591 RVA: 0x0027BC8C File Offset: 0x00279E8C
|
||||
[Token(Token = "0x600AA47")]
|
||||
[Address(RVA = "0x2633D70", Offset = "0x2632770", VA = "0x182633D70", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
DerInteger derInteger = this.version;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
Asn1Set asn1Set = this.digestAlgorithms;
|
||||
if (asn1Set != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Set;
|
||||
ContentInfo contentInfo = this.contentInfo;
|
||||
if (contentInfo != 0)
|
||||
{
|
||||
}
|
||||
array[2] = contentInfo;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.certificates != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Set asn1Set2 = this.certificates;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, asn1Set2);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
if (this.crls != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[1];
|
||||
Asn1Set asn1Set3 = this.crls;
|
||||
int num3;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(num3 != 0, 1, asn1Set3);
|
||||
num3 = 0;
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array3);
|
||||
}
|
||||
Asn1Encodable[] array4 = new Asn1Encodable[1];
|
||||
Asn1Set asn1Set4 = this.signerInfos;
|
||||
if (asn1Set4 != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = asn1Set4;
|
||||
asn1EncodableVector.Add(array4);
|
||||
BerSequence berSequence = new BerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006F8B RID: 28555
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F8B")]
|
||||
private readonly DerInteger version;
|
||||
|
||||
// Token: 0x04006F8C RID: 28556
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F8C")]
|
||||
private readonly Asn1Set digestAlgorithms;
|
||||
|
||||
// Token: 0x04006F8D RID: 28557
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006F8D")]
|
||||
private readonly ContentInfo contentInfo;
|
||||
|
||||
// Token: 0x04006F8E RID: 28558
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006F8E")]
|
||||
private readonly Asn1Set certificates;
|
||||
|
||||
// Token: 0x04006F8F RID: 28559
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006F8F")]
|
||||
private readonly Asn1Set crls;
|
||||
|
||||
// Token: 0x04006F90 RID: 28560
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006F90")]
|
||||
private readonly Asn1Set signerInfos;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,299 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs
|
||||
{
|
||||
// Token: 0x020018C1 RID: 6337
|
||||
[Token(Token = "0x20018C1")]
|
||||
[StructLayout(3)]
|
||||
public class SignerInfo : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600AA48 RID: 43592 RVA: 0x0027BDA0 File Offset: 0x00279FA0
|
||||
[Token(Token = "0x600AA48")]
|
||||
[Address(RVA = "0x26344D0", Offset = "0x2632ED0", VA = "0x1826344D0")]
|
||||
public static SignerInfo GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AA48)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.SignerInfo BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs.SignerInfo::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("Unknown object in factory: "), 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: 0x0600AA49 RID: 43593 RVA: 0x0027BDF0 File Offset: 0x00279FF0
|
||||
[Token(Token = "0x600AA49")]
|
||||
[Address(RVA = "0x2634DD0", Offset = "0x26337D0", VA = "0x182634DD0")]
|
||||
public SignerInfo(DerInteger version, IssuerAndSerialNumber issuerAndSerialNumber, AlgorithmIdentifier digAlgorithm, Asn1Set authenticatedAttributes, AlgorithmIdentifier digEncryptionAlgorithm, Asn1OctetString encryptedDigest, Asn1Set unauthenticatedAttributes)
|
||||
{
|
||||
this.authenticatedAttributes = 0;
|
||||
this.digEncryptionAlgorithm = 0;
|
||||
this.encryptedDigest = 0;
|
||||
this.version = version;
|
||||
this.digAlgorithm = digAlgorithm;
|
||||
this.unauthenticatedAttributes = 0;
|
||||
this.issuerAndSerialNumber = issuerAndSerialNumber;
|
||||
}
|
||||
|
||||
// Token: 0x0600AA4A RID: 43594 RVA: 0x0027BE34 File Offset: 0x0027A034
|
||||
[Token(Token = "0x600AA4A")]
|
||||
[Address(RVA = "0x2634AA0", Offset = "0x26334A0", VA = "0x182634AA0")]
|
||||
public SignerInfo(Asn1Sequence seq)
|
||||
{
|
||||
int num;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
IEnumerator enumerator = seq.GetEnumerator();
|
||||
if (enumerator == 0)
|
||||
{
|
||||
}
|
||||
num = 0;
|
||||
if (enumerator != 0)
|
||||
{
|
||||
this.version = enumerator;
|
||||
IssuerAndSerialNumber issuerAndSerialNumber;
|
||||
this.issuerAndSerialNumber = issuerAndSerialNumber;
|
||||
AlgorithmIdentifier instance = AlgorithmIdentifier.GetInstance(issuerAndSerialNumber);
|
||||
this.digAlgorithm = instance;
|
||||
Asn1Set asn1Set;
|
||||
if (instance != 0 && instance != 0)
|
||||
{
|
||||
if (instance == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
this.authenticatedAttributes = asn1Set;
|
||||
}
|
||||
this.authenticatedAttributes = num;
|
||||
AlgorithmIdentifier instance2 = AlgorithmIdentifier.GetInstance(asn1Set);
|
||||
this.digEncryptionAlgorithm = instance2;
|
||||
Asn1OctetString instance3 = Asn1OctetString.GetInstance(instance2);
|
||||
this.encryptedDigest = instance3;
|
||||
if (instance3 == 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
if (instance3 == 0 || instance3 != 0)
|
||||
{
|
||||
goto IL_9A;
|
||||
}
|
||||
}
|
||||
}
|
||||
this.unauthenticatedAttributes = num;
|
||||
return;
|
||||
IL_9A:
|
||||
Asn1Set asn1Set2;
|
||||
this.unauthenticatedAttributes = asn1Set2;
|
||||
}
|
||||
|
||||
// Token: 0x17001AD4 RID: 6868
|
||||
// (get) Token: 0x0600AA4B RID: 43595 RVA: 0x0027BEEC File Offset: 0x0027A0EC
|
||||
[Token(Token = "0x17001AD4")]
|
||||
public DerInteger Version
|
||||
{
|
||||
[Token(Token = "0x600AA4B")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.version;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD5 RID: 6869
|
||||
// (get) Token: 0x0600AA4C RID: 43596 RVA: 0x0027BF00 File Offset: 0x0027A100
|
||||
[Token(Token = "0x17001AD5")]
|
||||
public IssuerAndSerialNumber IssuerAndSerialNumber
|
||||
{
|
||||
[Token(Token = "0x600AA4C")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")]
|
||||
get
|
||||
{
|
||||
return this.issuerAndSerialNumber;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD6 RID: 6870
|
||||
// (get) Token: 0x0600AA4D RID: 43597 RVA: 0x0027BF14 File Offset: 0x0027A114
|
||||
[Token(Token = "0x17001AD6")]
|
||||
public Asn1Set AuthenticatedAttributes
|
||||
{
|
||||
[Token(Token = "0x600AA4D")]
|
||||
[Address(RVA = "0x3C1230", Offset = "0x3BFC30", VA = "0x1803C1230")]
|
||||
get
|
||||
{
|
||||
return this.authenticatedAttributes;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD7 RID: 6871
|
||||
// (get) Token: 0x0600AA4E RID: 43598 RVA: 0x0027BF28 File Offset: 0x0027A128
|
||||
[Token(Token = "0x17001AD7")]
|
||||
public AlgorithmIdentifier DigestAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AA4E")]
|
||||
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
||||
get
|
||||
{
|
||||
return this.digAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD8 RID: 6872
|
||||
// (get) Token: 0x0600AA4F RID: 43599 RVA: 0x0027BF3C File Offset: 0x0027A13C
|
||||
[Token(Token = "0x17001AD8")]
|
||||
public Asn1OctetString EncryptedDigest
|
||||
{
|
||||
[Token(Token = "0x600AA4F")]
|
||||
[Address(RVA = "0x3EE8E0", Offset = "0x3ED2E0", VA = "0x1803EE8E0")]
|
||||
get
|
||||
{
|
||||
return this.encryptedDigest;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001AD9 RID: 6873
|
||||
// (get) Token: 0x0600AA50 RID: 43600 RVA: 0x0027BF50 File Offset: 0x0027A150
|
||||
[Token(Token = "0x17001AD9")]
|
||||
public AlgorithmIdentifier DigestEncryptionAlgorithm
|
||||
{
|
||||
[Token(Token = "0x600AA50")]
|
||||
[Address(RVA = "0x3C1250", Offset = "0x3BFC50", VA = "0x1803C1250")]
|
||||
get
|
||||
{
|
||||
return this.digEncryptionAlgorithm;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001ADA RID: 6874
|
||||
// (get) Token: 0x0600AA51 RID: 43601 RVA: 0x0027BF64 File Offset: 0x0027A164
|
||||
[Token(Token = "0x17001ADA")]
|
||||
public Asn1Set UnauthenticatedAttributes
|
||||
{
|
||||
[Token(Token = "0x600AA51")]
|
||||
[Address(RVA = "0x3D32F0", Offset = "0x3D1CF0", VA = "0x1803D32F0")]
|
||||
get
|
||||
{
|
||||
return this.unauthenticatedAttributes;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AA52 RID: 43602 RVA: 0x0027BF78 File Offset: 0x0027A178
|
||||
[Token(Token = "0x600AA52")]
|
||||
[Address(RVA = "0x26346C0", Offset = "0x26330C0", VA = "0x1826346C0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[3];
|
||||
DerInteger derInteger = this.version;
|
||||
if (derInteger != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derInteger;
|
||||
IssuerAndSerialNumber issuerAndSerialNumber = this.issuerAndSerialNumber;
|
||||
if (issuerAndSerialNumber != 0)
|
||||
{
|
||||
}
|
||||
array[1] = issuerAndSerialNumber;
|
||||
AlgorithmIdentifier algorithmIdentifier = this.digAlgorithm;
|
||||
if (algorithmIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[2] = algorithmIdentifier;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
if (this.authenticatedAttributes != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[1];
|
||||
Asn1Set asn1Set = this.authenticatedAttributes;
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, asn1Set);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
if (derTaggedObject != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derTaggedObject;
|
||||
asn1EncodableVector.Add(array2);
|
||||
}
|
||||
Asn1Encodable[] array3 = new Asn1Encodable[2];
|
||||
AlgorithmIdentifier algorithmIdentifier2 = this.digEncryptionAlgorithm;
|
||||
if (algorithmIdentifier2 != 0)
|
||||
{
|
||||
}
|
||||
array3[0] = algorithmIdentifier2;
|
||||
Asn1OctetString asn1OctetString = this.encryptedDigest;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array3[1] = asn1OctetString;
|
||||
asn1EncodableVector.Add(array3);
|
||||
if (this.unauthenticatedAttributes != (ulong)0L)
|
||||
{
|
||||
Asn1Encodable[] array4 = new Asn1Encodable[1];
|
||||
Asn1Set asn1Set2 = this.unauthenticatedAttributes;
|
||||
int num3;
|
||||
DerTaggedObject derTaggedObject2 = new DerTaggedObject(num3 != 0, 1, asn1Set2);
|
||||
num3 = 0;
|
||||
if (derTaggedObject2 != 0)
|
||||
{
|
||||
}
|
||||
array4[0] = derTaggedObject2;
|
||||
asn1EncodableVector.Add(array4);
|
||||
}
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x04006F91 RID: 28561
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4006F91")]
|
||||
private DerInteger version;
|
||||
|
||||
// Token: 0x04006F92 RID: 28562
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4006F92")]
|
||||
private IssuerAndSerialNumber issuerAndSerialNumber;
|
||||
|
||||
// Token: 0x04006F93 RID: 28563
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4006F93")]
|
||||
private AlgorithmIdentifier digAlgorithm;
|
||||
|
||||
// Token: 0x04006F94 RID: 28564
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4006F94")]
|
||||
private Asn1Set authenticatedAttributes;
|
||||
|
||||
// Token: 0x04006F95 RID: 28565
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4006F95")]
|
||||
private AlgorithmIdentifier digEncryptionAlgorithm;
|
||||
|
||||
// Token: 0x04006F96 RID: 28566
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4006F96")]
|
||||
private Asn1OctetString encryptedDigest;
|
||||
|
||||
// Token: 0x04006F97 RID: 28567
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4006F97")]
|
||||
private Asn1Set unauthenticatedAttributes;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user