116 lines
5.2 KiB
C#
116 lines
5.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
|
{
|
|
// Token: 0x02002020 RID: 8224
|
|
[Token(Token = "0x2002020")]
|
|
public class SignerIdentifier : Asn1Encodable, IAsn1Choice
|
|
{
|
|
// Token: 0x0600CE2C RID: 52780 RVA: 0x002EE194 File Offset: 0x002EC394
|
|
[Token(Token = "0x600CE2C")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public SignerIdentifier(IssuerAndSerialNumber id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
// Token: 0x0600CE2D RID: 52781 RVA: 0x002EE1B0 File Offset: 0x002EC3B0
|
|
[Token(Token = "0x600CE2D")]
|
|
[Address(RVA = "0x23BB2B0", Offset = "0x23BA2B0", VA = "0x1823BB2B0")]
|
|
public SignerIdentifier(Asn1OctetString id)
|
|
{
|
|
int num;
|
|
int num2;
|
|
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
|
|
num2 = 0;
|
|
num = 0;
|
|
this.id = derTaggedObject;
|
|
}
|
|
|
|
// Token: 0x0600CE2E RID: 52782 RVA: 0x002EE1D8 File Offset: 0x002EC3D8
|
|
[Token(Token = "0x600CE2E")]
|
|
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
|
|
public SignerIdentifier(Asn1Object id)
|
|
{
|
|
this.id = id;
|
|
}
|
|
|
|
// Token: 0x0600CE2F RID: 52783 RVA: 0x002EE1F4 File Offset: 0x002EC3F4
|
|
[Token(Token = "0x600CE2F")]
|
|
[Address(RVA = "0x23BAFD0", Offset = "0x23B9FD0", VA = "0x1823BAFD0")]
|
|
public static SignerIdentifier GetInstance(object o)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600CE2F)
|
|
|
|
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: 0x1700209F RID: 8351
|
|
// (get) Token: 0x0600CE30 RID: 52784 RVA: 0x002EE24C File Offset: 0x002EC44C
|
|
[Token(Token = "0x1700209F")]
|
|
public bool IsTagged
|
|
{
|
|
[Token(Token = "0x600CE30")]
|
|
[Address(RVA = "0x23BB400", Offset = "0x23BA400", VA = "0x1823BB400")]
|
|
get
|
|
{
|
|
Asn1Encodable asn1Encodable = this.id;
|
|
if (asn1Encodable == 0)
|
|
{
|
|
return 0 != 0;
|
|
}
|
|
return asn1Encodable != 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170020A0 RID: 8352
|
|
// (get) Token: 0x0600CE31 RID: 52785 RVA: 0x002EE278 File Offset: 0x002EC478
|
|
[Token(Token = "0x170020A0")]
|
|
public Asn1Encodable ID
|
|
{
|
|
[Token(Token = "0x600CE31")]
|
|
[Address(RVA = "0x23BB330", Offset = "0x23BA330", VA = "0x1823BB330")]
|
|
get
|
|
{
|
|
Asn1Encodable asn1Encodable;
|
|
do
|
|
{
|
|
asn1Encodable = this.id;
|
|
}
|
|
while (asn1Encodable != 0 && asn1Encodable != 0 && asn1Encodable != 0 && asn1Encodable == 0);
|
|
return asn1Encodable;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600CE32 RID: 52786 RVA: 0x002EE2A4 File Offset: 0x002EC4A4
|
|
[Token(Token = "0x600CE32")]
|
|
[Address(RVA = "0x415960", Offset = "0x414960", VA = "0x180415960", Slot = "5")]
|
|
public override Asn1Object ToAsn1Object()
|
|
{
|
|
return this.id.ToAsn1Object();
|
|
}
|
|
|
|
// Token: 0x04008293 RID: 33427
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4008293")]
|
|
private Asn1Encodable id;
|
|
}
|
|
}
|