oh dear
This commit is contained in:
+232
@@ -0,0 +1,232 @@
|
||||
using System;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
||||
{
|
||||
// Token: 0x02001F32 RID: 7986
|
||||
[Token(Token = "0x2001F32")]
|
||||
public class OriginatorIdentifierOrKey : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600C9E4 RID: 51684 RVA: 0x002E3EB0 File Offset: 0x002E20B0
|
||||
[Token(Token = "0x600C9E4")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
public OriginatorIdentifierOrKey(IssuerAndSerialNumber id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// Token: 0x0600C9E5 RID: 51685 RVA: 0x002E3ECC File Offset: 0x002E20CC
|
||||
[Token(Token = "0x600C9E5")]
|
||||
[Address(RVA = "0x2ADB720", Offset = "0x2ADA520", VA = "0x182ADB720")]
|
||||
[Obsolete]
|
||||
public OriginatorIdentifierOrKey(Asn1OctetString id)
|
||||
{
|
||||
SubjectKeyIdentifier subjectKeyIdentifier = new SubjectKeyIdentifier(id);
|
||||
}
|
||||
|
||||
// Token: 0x0600C9E6 RID: 51686 RVA: 0x002E3EE0 File Offset: 0x002E20E0
|
||||
[Token(Token = "0x600C9E6")]
|
||||
[Address(RVA = "0x2ADB790", Offset = "0x2ADA590", VA = "0x182ADB790")]
|
||||
public OriginatorIdentifierOrKey(SubjectKeyIdentifier id)
|
||||
{
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
this.id = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600C9E7 RID: 51687 RVA: 0x002E3F08 File Offset: 0x002E2108
|
||||
[Token(Token = "0x600C9E7")]
|
||||
[Address(RVA = "0x2ADB810", Offset = "0x2ADA610", VA = "0x182ADB810")]
|
||||
public OriginatorIdentifierOrKey(OriginatorPublicKey id)
|
||||
{
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 1, id);
|
||||
num = 0;
|
||||
this.id = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600C9E8 RID: 51688 RVA: 0x002E3F30 File Offset: 0x002E2130
|
||||
[Token(Token = "0x600C9E8")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
[Obsolete]
|
||||
public OriginatorIdentifierOrKey(Asn1Object id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// Token: 0x0600C9E9 RID: 51689 RVA: 0x002E3F4C File Offset: 0x002E214C
|
||||
[Token(Token = "0x600C9E9")]
|
||||
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
|
||||
private OriginatorIdentifierOrKey(Asn1TaggedObject id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// Token: 0x0600C9EA RID: 51690 RVA: 0x002E3F68 File Offset: 0x002E2168
|
||||
[Token(Token = "0x600C9EA")]
|
||||
[Address(RVA = "0x2ADB690", Offset = "0x2ADA490", VA = "0x182ADB690")]
|
||||
public static OriginatorIdentifierOrKey GetInstance(Asn1TaggedObject o, bool explicitly)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C9EA)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey::GetInstance(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_10:
|
||||
stloc:ArgumentException(var_0_1A, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Can't implicitly tag OriginatorIdentifierOrKey")))
|
||||
}
|
||||
|
||||
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: 0x0600C9EB RID: 51691 RVA: 0x002E3F90 File Offset: 0x002E2190
|
||||
[Token(Token = "0x600C9EB")]
|
||||
[Address(RVA = "0x2ADB360", Offset = "0x2ADA160", VA = "0x182ADB360")]
|
||||
public static OriginatorIdentifierOrKey GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C9EB)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_39:
|
||||
stloc:ArgumentException(var_9_4A, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid OriginatorIdentifierOrKey: "), ldloc:string(var_8))))
|
||||
}
|
||||
|
||||
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: 0x17001FDC RID: 8156
|
||||
// (get) Token: 0x0600C9EC RID: 51692 RVA: 0x002E3FE8 File Offset: 0x002E21E8
|
||||
[Token(Token = "0x17001FDC")]
|
||||
public Asn1Encodable ID
|
||||
{
|
||||
[Token(Token = "0x600C9EC")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FDD RID: 8157
|
||||
// (get) Token: 0x0600C9ED RID: 51693 RVA: 0x002E3FFC File Offset: 0x002E21FC
|
||||
[Token(Token = "0x17001FDD")]
|
||||
public IssuerAndSerialNumber IssuerAndSerialNumber
|
||||
{
|
||||
[Token(Token = "0x600C9ED")]
|
||||
[Address(RVA = "0x2ADB890", Offset = "0x2ADA690", VA = "0x182ADB890")]
|
||||
get
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
Asn1Encodable asn1Encodable = this.id;
|
||||
if (asn1Encodable == 0 || asn1Encodable == 0 || asn1Encodable == 0 || asn1Encodable != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FDE RID: 8158
|
||||
// (get) Token: 0x0600C9EE RID: 51694 RVA: 0x002E4028 File Offset: 0x002E2228
|
||||
[Token(Token = "0x17001FDE")]
|
||||
public SubjectKeyIdentifier SubjectKeyIdentifier
|
||||
{
|
||||
[Token(Token = "0x600C9EE")]
|
||||
[Address(RVA = "0x2ADBAE0", Offset = "0x2ADA8E0", VA = "0x182ADBAE0")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
do
|
||||
{
|
||||
asn1Encodable = this.id;
|
||||
if (asn1Encodable == 0 || asn1Encodable == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
while (asn1Encodable == 0 || asn1Encodable == 0 || (asn1Encodable != 0 && asn1Encodable == 0));
|
||||
SubjectKeyIdentifier subjectKeyIdentifier;
|
||||
return subjectKeyIdentifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FDF RID: 8159
|
||||
// (get) Token: 0x0600C9EF RID: 51695 RVA: 0x002E4068 File Offset: 0x002E2268
|
||||
[Token(Token = "0x17001FDF")]
|
||||
[Obsolete]
|
||||
public OriginatorPublicKey OriginatorKey
|
||||
{
|
||||
[Token(Token = "0x600C9EF")]
|
||||
[Address(RVA = "0x2ADB960", Offset = "0x2ADA760", VA = "0x182ADB960")]
|
||||
get
|
||||
{
|
||||
return this.OriginatorPublicKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FE0 RID: 8160
|
||||
// (get) Token: 0x0600C9F0 RID: 51696 RVA: 0x002E407C File Offset: 0x002E227C
|
||||
[Token(Token = "0x17001FE0")]
|
||||
public OriginatorPublicKey OriginatorPublicKey
|
||||
{
|
||||
[Token(Token = "0x600C9F0")]
|
||||
[Address(RVA = "0x2ADB970", Offset = "0x2ADA770", VA = "0x182ADB970")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
do
|
||||
{
|
||||
asn1Encodable = this.id;
|
||||
if (asn1Encodable == 0 || asn1Encodable == 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
while (asn1Encodable == 0 || asn1Encodable == 0 || (asn1Encodable != 0 && asn1Encodable == 0));
|
||||
Asn1Sequence asn1Sequence;
|
||||
return OriginatorPublicKey.GetInstance(asn1Sequence);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C9F1 RID: 51697 RVA: 0x002E40BC File Offset: 0x002E22BC
|
||||
[Token(Token = "0x600C9F1")]
|
||||
[Address(RVA = "0x53BA50", Offset = "0x53A850", VA = "0x18053BA50", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.id.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x040080B1 RID: 32945
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40080B1")]
|
||||
private Asn1Encodable id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user