Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Asn1/Cms/SignerIdentifier.cs
T
2026-04-10 22:50:51 +02:00

116 lines
5.2 KiB
C#

using System;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
{
// Token: 0x02001F40 RID: 8000
[Token(Token = "0x2001F40")]
public class SignerIdentifier : Asn1Encodable, IAsn1Choice
{
// Token: 0x0600CA5E RID: 51806 RVA: 0x002E59F4 File Offset: 0x002E3BF4
[Token(Token = "0x600CA5E")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public SignerIdentifier(IssuerAndSerialNumber id)
{
this.id = id;
}
// Token: 0x0600CA5F RID: 51807 RVA: 0x002E5A10 File Offset: 0x002E3C10
[Token(Token = "0x600CA5F")]
[Address(RVA = "0x2AE7CF0", Offset = "0x2AE6AF0", VA = "0x182AE7CF0")]
public SignerIdentifier(Asn1OctetString id)
{
int num;
int num2;
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
num2 = 0;
num = 0;
this.id = derTaggedObject;
}
// Token: 0x0600CA60 RID: 51808 RVA: 0x002E5A38 File Offset: 0x002E3C38
[Token(Token = "0x600CA60")]
[Address(RVA = "0x462000", Offset = "0x460E00", VA = "0x180462000")]
public SignerIdentifier(Asn1Object id)
{
this.id = id;
}
// Token: 0x0600CA61 RID: 51809 RVA: 0x002E5A54 File Offset: 0x002E3C54
[Token(Token = "0x600CA61")]
[Address(RVA = "0x2AE7A10", Offset = "0x2AE6810", VA = "0x182AE7A10")]
public static SignerIdentifier GetInstance(object o)
{
/*
An exception occurred when decompiling this method (0600CA61)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.SignerIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.SignerIdentifier::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 SignerIdentifier: "), 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: 0x17002002 RID: 8194
// (get) Token: 0x0600CA62 RID: 51810 RVA: 0x002E5AAC File Offset: 0x002E3CAC
[Token(Token = "0x17002002")]
public bool IsTagged
{
[Token(Token = "0x600CA62")]
[Address(RVA = "0x2AE7E40", Offset = "0x2AE6C40", VA = "0x182AE7E40")]
get
{
Asn1Encodable asn1Encodable = this.id;
if (asn1Encodable == 0)
{
return 0 != 0;
}
return asn1Encodable != 0;
}
}
// Token: 0x17002003 RID: 8195
// (get) Token: 0x0600CA63 RID: 51811 RVA: 0x002E5AD8 File Offset: 0x002E3CD8
[Token(Token = "0x17002003")]
public Asn1Encodable ID
{
[Token(Token = "0x600CA63")]
[Address(RVA = "0x2AE7D70", Offset = "0x2AE6B70", VA = "0x182AE7D70")]
get
{
Asn1Encodable asn1Encodable;
do
{
asn1Encodable = this.id;
}
while (asn1Encodable != 0 && asn1Encodable != 0 && asn1Encodable != 0 && asn1Encodable == 0);
return asn1Encodable;
}
}
// Token: 0x0600CA64 RID: 51812 RVA: 0x002E5B04 File Offset: 0x002E3D04
[Token(Token = "0x600CA64")]
[Address(RVA = "0x53BA50", Offset = "0x53A850", VA = "0x18053BA50", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
return this.id.ToAsn1Object();
}
// Token: 0x040080DA RID: 32986
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x40080DA")]
private Asn1Encodable id;
}
}