Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/BestHTTP/SecureProtocol/Org/BouncyCastle/Asn1/Cms/OriginatorIdentifierOrKey.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

233 lines
11 KiB
C#

using System;
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
using Cpp2IlInjected;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
{
// Token: 0x02002012 RID: 8210
[Token(Token = "0x2002012")]
public class OriginatorIdentifierOrKey : Asn1Encodable, IAsn1Choice
{
// Token: 0x0600CDB2 RID: 52658 RVA: 0x002EC650 File Offset: 0x002EA850
[Token(Token = "0x600CDB2")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
public OriginatorIdentifierOrKey(IssuerAndSerialNumber id)
{
this.id = id;
}
// Token: 0x0600CDB3 RID: 52659 RVA: 0x002EC66C File Offset: 0x002EA86C
[Token(Token = "0x600CDB3")]
[Address(RVA = "0x2FE8B70", Offset = "0x2FE7B70", VA = "0x182FE8B70")]
[Obsolete]
public OriginatorIdentifierOrKey(Asn1OctetString id)
{
SubjectKeyIdentifier subjectKeyIdentifier = new SubjectKeyIdentifier(id);
}
// Token: 0x0600CDB4 RID: 52660 RVA: 0x002EC680 File Offset: 0x002EA880
[Token(Token = "0x600CDB4")]
[Address(RVA = "0x2FE8BE0", Offset = "0x2FE7BE0", VA = "0x182FE8BE0")]
public OriginatorIdentifierOrKey(SubjectKeyIdentifier id)
{
int num;
int num2;
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
num2 = 0;
num = 0;
this.id = derTaggedObject;
}
// Token: 0x0600CDB5 RID: 52661 RVA: 0x002EC6A8 File Offset: 0x002EA8A8
[Token(Token = "0x600CDB5")]
[Address(RVA = "0x2FE8C60", Offset = "0x2FE7C60", VA = "0x182FE8C60")]
public OriginatorIdentifierOrKey(OriginatorPublicKey id)
{
int num;
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 1, id);
num = 0;
this.id = derTaggedObject;
}
// Token: 0x0600CDB6 RID: 52662 RVA: 0x002EC6D0 File Offset: 0x002EA8D0
[Token(Token = "0x600CDB6")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
[Obsolete]
public OriginatorIdentifierOrKey(Asn1Object id)
{
this.id = id;
}
// Token: 0x0600CDB7 RID: 52663 RVA: 0x002EC6EC File Offset: 0x002EA8EC
[Token(Token = "0x600CDB7")]
[Address(RVA = "0x681CA0", Offset = "0x680CA0", VA = "0x180681CA0")]
private OriginatorIdentifierOrKey(Asn1TaggedObject id)
{
this.id = id;
}
// Token: 0x0600CDB8 RID: 52664 RVA: 0x002EC708 File Offset: 0x002EA908
[Token(Token = "0x600CDB8")]
[Address(RVA = "0x2FE8AE0", Offset = "0x2FE7AE0", VA = "0x182FE8AE0")]
public static OriginatorIdentifierOrKey GetInstance(Asn1TaggedObject o, bool explicitly)
{
/*
An exception occurred when decompiling this method (0600CDB8)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey::GetInstance(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1TaggedObject,System.Boolean)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_10:
stloc:ArgumentException(var_0_1A, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Can't implicitly tag OriginatorIdentifierOrKey")))
}
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
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: 0x0600CDB9 RID: 52665 RVA: 0x002EC730 File Offset: 0x002EA930
[Token(Token = "0x600CDB9")]
[Address(RVA = "0x2FE87B0", Offset = "0x2FE77B0", VA = "0x182FE87B0")]
public static OriginatorIdentifierOrKey GetInstance(object o)
{
/*
An exception occurred when decompiling this method (0600CDB9)
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorIdentifierOrKey::GetInstance(System.Object)
---> System.Exception: Basic block has to end with unconditional control flow.
{
IL_39:
stloc:ArgumentException(var_9_4A, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid OriginatorIdentifierOrKey: "), ldloc:string(var_8))))
}
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: 0x17002079 RID: 8313
// (get) Token: 0x0600CDBA RID: 52666 RVA: 0x002EC788 File Offset: 0x002EA988
[Token(Token = "0x17002079")]
public Asn1Encodable ID
{
[Token(Token = "0x600CDBA")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return this.id;
}
}
// Token: 0x1700207A RID: 8314
// (get) Token: 0x0600CDBB RID: 52667 RVA: 0x002EC79C File Offset: 0x002EA99C
[Token(Token = "0x1700207A")]
public IssuerAndSerialNumber IssuerAndSerialNumber
{
[Token(Token = "0x600CDBB")]
[Address(RVA = "0x2FE8CE0", Offset = "0x2FE7CE0", VA = "0x182FE8CE0")]
get
{
for (;;)
{
Asn1Encodable asn1Encodable = this.id;
if (asn1Encodable == 0 || asn1Encodable == 0 || asn1Encodable == 0 || asn1Encodable != 0)
{
return;
}
}
}
}
// Token: 0x1700207B RID: 8315
// (get) Token: 0x0600CDBC RID: 52668 RVA: 0x002EC7C8 File Offset: 0x002EA9C8
[Token(Token = "0x1700207B")]
public SubjectKeyIdentifier SubjectKeyIdentifier
{
[Token(Token = "0x600CDBC")]
[Address(RVA = "0x2FE8F30", Offset = "0x2FE7F30", VA = "0x182FE8F30")]
get
{
Asn1Encodable asn1Encodable;
do
{
asn1Encodable = this.id;
if (asn1Encodable == 0 || asn1Encodable == 0)
{
return;
}
}
while (asn1Encodable == 0 || asn1Encodable == 0 || (asn1Encodable != 0 && asn1Encodable == 0));
SubjectKeyIdentifier subjectKeyIdentifier;
return subjectKeyIdentifier;
}
}
// Token: 0x1700207C RID: 8316
// (get) Token: 0x0600CDBD RID: 52669 RVA: 0x002EC808 File Offset: 0x002EAA08
[Token(Token = "0x1700207C")]
[Obsolete]
public OriginatorPublicKey OriginatorKey
{
[Token(Token = "0x600CDBD")]
[Address(RVA = "0x2FE8DB0", Offset = "0x2FE7DB0", VA = "0x182FE8DB0")]
get
{
return this.OriginatorPublicKey;
}
}
// Token: 0x1700207D RID: 8317
// (get) Token: 0x0600CDBE RID: 52670 RVA: 0x002EC81C File Offset: 0x002EAA1C
[Token(Token = "0x1700207D")]
public OriginatorPublicKey OriginatorPublicKey
{
[Token(Token = "0x600CDBE")]
[Address(RVA = "0x2FE8DC0", Offset = "0x2FE7DC0", VA = "0x182FE8DC0")]
get
{
Asn1Encodable asn1Encodable;
do
{
asn1Encodable = this.id;
if (asn1Encodable == 0 || asn1Encodable == 0)
{
return;
}
}
while (asn1Encodable == 0 || asn1Encodable == 0 || (asn1Encodable != 0 && asn1Encodable == 0));
Asn1Sequence asn1Sequence;
return OriginatorPublicKey.GetInstance(asn1Sequence);
}
}
// Token: 0x0600CDBF RID: 52671 RVA: 0x002EC85C File Offset: 0x002EAA5C
[Token(Token = "0x600CDBF")]
[Address(RVA = "0x415960", Offset = "0x414960", VA = "0x180415960", Slot = "5")]
public override Asn1Object ToAsn1Object()
{
return this.id.ToAsn1Object();
}
// Token: 0x0400826A RID: 33386
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x400826A")]
private Asn1Encodable id;
}
}