130 lines
7.7 KiB
C#
130 lines
7.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
|
{
|
|
// Token: 0x0200195D RID: 6493
|
|
[Token(Token = "0x200195D")]
|
|
[StructLayout(3)]
|
|
public class RecipientIdentifier : Asn1Encodable, IAsn1Choice
|
|
{
|
|
// Token: 0x0600AE4B RID: 44619 RVA: 0x0028C6CC File Offset: 0x0028A8CC
|
|
[Token(Token = "0x600AE4B")]
|
|
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
|
public RecipientIdentifier(IssuerAndSerialNumber id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
// Token: 0x0600AE4C RID: 44620 RVA: 0x0028C6E8 File Offset: 0x0028A8E8
|
|
[Token(Token = "0x600AE4C")]
|
|
[Address(RVA = "0x28FC070", Offset = "0x28FAA70", VA = "0x1828FC070")]
|
|
public RecipientIdentifier(Asn1OctetString id)
|
|
{
|
|
int num;
|
|
int num2;
|
|
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
|
|
num2 = 0;
|
|
num = 0;
|
|
this.id = derTaggedObject;
|
|
}
|
|
|
|
// Token: 0x0600AE4D RID: 44621 RVA: 0x0028C710 File Offset: 0x0028A910
|
|
[Token(Token = "0x600AE4D")]
|
|
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
|
public RecipientIdentifier(Asn1Object id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
// Token: 0x0600AE4E RID: 44622 RVA: 0x0028C72C File Offset: 0x0028A92C
|
|
[Token(Token = "0x600AE4E")]
|
|
[Address(RVA = "0x28FBD90", Offset = "0x28FA790", VA = "0x1828FBD90")]
|
|
public static RecipientIdentifier GetInstance(object o)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600AE4E)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientIdentifier::GetInstance(System.Object)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_39:
|
|
stloc:ArgumentException(var_10_4A, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Illegal object in RecipientIdentifier: "), ldloc:string(var_9))))
|
|
}
|
|
|
|
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: 0x17001BF0 RID: 7152
|
|
// (get) Token: 0x0600AE4F RID: 44623 RVA: 0x0028C784 File Offset: 0x0028A984
|
|
[Token(Token = "0x17001BF0")]
|
|
public bool IsTagged
|
|
{
|
|
[Token(Token = "0x600AE4F")]
|
|
[Address(RVA = "0x28FC1D0", Offset = "0x28FABD0", VA = "0x1828FC1D0")]
|
|
get
|
|
{
|
|
Asn1Encodable asn1Encodable = this.id;
|
|
if (asn1Encodable == 0)
|
|
{
|
|
return 0 != 0;
|
|
}
|
|
return asn1Encodable != 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001BF1 RID: 7153
|
|
// (get) Token: 0x0600AE50 RID: 44624 RVA: 0x0028C7B0 File Offset: 0x0028A9B0
|
|
[Token(Token = "0x17001BF1")]
|
|
public Asn1Encodable ID
|
|
{
|
|
[Token(Token = "0x600AE50")]
|
|
[Address(RVA = "0x28FC0F0", Offset = "0x28FAAF0", VA = "0x1828FC0F0")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600AE50)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Encodable BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientIdentifier::get_ID()
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_1B:
|
|
stloc:IssuerAndSerialNumber(var_4_21, call:IssuerAndSerialNumber(IssuerAndSerialNumber::GetInstance, ldloc:Asn1Encodable[exp:object](var_0_06)))
|
|
}
|
|
|
|
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: 0x0600AE51 RID: 44625 RVA: 0x0028C7E0 File Offset: 0x0028A9E0
|
|
[Token(Token = "0x600AE51")]
|
|
[Address(RVA = "0x52D760", Offset = "0x52C160", VA = "0x18052D760", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
return this.id.ToAsn1Object();
|
|
}
|
|
|
|
// Token: 0x0400727F RID: 29311
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400727F")]
|
|
private Asn1Encodable id;
|
|
}
|
|
}
|