128 lines
7.6 KiB
C#
128 lines
7.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
|
{
|
|
// Token: 0x0200201A RID: 8218
|
|
[Token(Token = "0x200201A")]
|
|
public class RecipientIdentifier : Asn1Encodable, IAsn1Choice
|
|
{
|
|
// Token: 0x0600CDF3 RID: 52723 RVA: 0x002ED36C File Offset: 0x002EB56C
|
|
[Token(Token = "0x600CDF3")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public RecipientIdentifier(IssuerAndSerialNumber id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
// Token: 0x0600CDF4 RID: 52724 RVA: 0x002ED388 File Offset: 0x002EB588
|
|
[Token(Token = "0x600CDF4")]
|
|
[Address(RVA = "0x2FF1010", Offset = "0x2FF0010", VA = "0x182FF1010")]
|
|
public RecipientIdentifier(Asn1OctetString id)
|
|
{
|
|
int num;
|
|
int num2;
|
|
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
|
|
num2 = 0;
|
|
num = 0;
|
|
this.id = derTaggedObject;
|
|
}
|
|
|
|
// Token: 0x0600CDF5 RID: 52725 RVA: 0x002ED3B0 File Offset: 0x002EB5B0
|
|
[Token(Token = "0x600CDF5")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public RecipientIdentifier(Asn1Object id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
// Token: 0x0600CDF6 RID: 52726 RVA: 0x002ED3CC File Offset: 0x002EB5CC
|
|
[Token(Token = "0x600CDF6")]
|
|
[Address(RVA = "0x2FF0D30", Offset = "0x2FEFD30", VA = "0x182FF0D30")]
|
|
public static RecipientIdentifier GetInstance(object o)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600CDF6)
|
|
|
|
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: 0x1700208E RID: 8334
|
|
// (get) Token: 0x0600CDF7 RID: 52727 RVA: 0x002ED424 File Offset: 0x002EB624
|
|
[Token(Token = "0x1700208E")]
|
|
public bool IsTagged
|
|
{
|
|
[Token(Token = "0x600CDF7")]
|
|
[Address(RVA = "0x2FF1170", Offset = "0x2FF0170", VA = "0x182FF1170")]
|
|
get
|
|
{
|
|
Asn1Encodable asn1Encodable = this.id;
|
|
if (asn1Encodable == 0)
|
|
{
|
|
return 0 != 0;
|
|
}
|
|
return asn1Encodable != 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700208F RID: 8335
|
|
// (get) Token: 0x0600CDF8 RID: 52728 RVA: 0x002ED450 File Offset: 0x002EB650
|
|
[Token(Token = "0x1700208F")]
|
|
public Asn1Encodable ID
|
|
{
|
|
[Token(Token = "0x600CDF8")]
|
|
[Address(RVA = "0x2FF1090", Offset = "0x2FF0090", VA = "0x182FF1090")]
|
|
get
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600CDF8)
|
|
|
|
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: 0x0600CDF9 RID: 52729 RVA: 0x002ED480 File Offset: 0x002EB680
|
|
[Token(Token = "0x600CDF9")]
|
|
[Address(RVA = "0x415960", Offset = "0x414960", VA = "0x180415960", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
return this.id.ToAsn1Object();
|
|
}
|
|
|
|
// Token: 0x0400827B RID: 33403
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400827B")]
|
|
private Asn1Encodable id;
|
|
}
|
|
}
|