Files
Apr2020-Cpp2Il-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Asn1/Cms/RecipientIdentifier.cs
T
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

128 lines
7.6 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
{
// Token: 0x02001F3A RID: 7994
[Token(Token = "0x2001F3A")]
public class RecipientIdentifier : Asn1Encodable, IAsn1Choice
{
// Token: 0x0600CA25 RID: 51749 RVA: 0x002E4BCC File Offset: 0x002E2DCC
[Token(Token = "0x600CA25")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public RecipientIdentifier(IssuerAndSerialNumber id)
{
this.id = id;
}
// Token: 0x0600CA26 RID: 51750 RVA: 0x002E4BE8 File Offset: 0x002E2DE8
[Token(Token = "0x600CA26")]
[Address(RVA = "0x2AE27F0", Offset = "0x2AE15F0", VA = "0x182AE27F0")]
public RecipientIdentifier(Asn1OctetString id)
{
int num;
int num2;
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
num2 = 0;
num = 0;
this.id = derTaggedObject;
}
// Token: 0x0600CA27 RID: 51751 RVA: 0x002E4C10 File Offset: 0x002E2E10
[Token(Token = "0x600CA27")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public RecipientIdentifier(Asn1Object id)
{
this.id = id;
}
// Token: 0x0600CA28 RID: 51752 RVA: 0x002E4C2C File Offset: 0x002E2E2C
[Token(Token = "0x600CA28")]
[Address(RVA = "0x2AE2510", Offset = "0x2AE1310", VA = "0x182AE2510")]
public static RecipientIdentifier GetInstance(object o)
{
/*
An exception occurred when decompiling this method (0600CA28)
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 1660
*/;
}
// Token: 0x17001FF1 RID: 8177
// (get) Token: 0x0600CA29 RID: 51753 RVA: 0x002E4C84 File Offset: 0x002E2E84
[Token(Token = "0x17001FF1")]
public bool IsTagged
{
[Token(Token = "0x600CA29")]
[Address(RVA = "0x2AE2950", Offset = "0x2AE1750", VA = "0x182AE2950")]
get
{
Asn1Encodable asn1Encodable = this.id;
if (asn1Encodable == 0)
{
return 0 != 0;
}
return asn1Encodable != 0;
}
}
// Token: 0x17001FF2 RID: 8178
// (get) Token: 0x0600CA2A RID: 51754 RVA: 0x002E4CB0 File Offset: 0x002E2EB0
[Token(Token = "0x17001FF2")]
public Asn1Encodable ID
{
[Token(Token = "0x600CA2A")]
[Address(RVA = "0x2AE2870", Offset = "0x2AE1670", VA = "0x182AE2870")]
get
{
/*
An exception occurred when decompiling this method (0600CA2A)
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 1660
*/;
}
}
// Token: 0x0600CA2B RID: 51755 RVA: 0x002E4CE0 File Offset: 0x002E2EE0
[Token(Token = "0x600CA2B")]
[Address(RVA = "0x53BA50", Offset = "0x53A850", VA = "0x18053BA50", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
return this.id.ToAsn1Object();
}
// Token: 0x040080C2 RID: 32962
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40080C2")]
private Asn1Encodable id;
}
}