scripts
This commit is contained in:
+234
@@ -0,0 +1,234 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
||||
{
|
||||
// Token: 0x02001955 RID: 6485
|
||||
[Token(Token = "0x2001955")]
|
||||
[StructLayout(3)]
|
||||
public class OriginatorIdentifierOrKey : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600AE0A RID: 44554 RVA: 0x0028B9B0 File Offset: 0x00289BB0
|
||||
[Token(Token = "0x600AE0A")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public OriginatorIdentifierOrKey(IssuerAndSerialNumber id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// Token: 0x0600AE0B RID: 44555 RVA: 0x0028B9CC File Offset: 0x00289BCC
|
||||
[Token(Token = "0x600AE0B")]
|
||||
[Address(RVA = "0x28F3BA0", Offset = "0x28F25A0", VA = "0x1828F3BA0")]
|
||||
[Obsolete]
|
||||
public OriginatorIdentifierOrKey(Asn1OctetString id)
|
||||
{
|
||||
SubjectKeyIdentifier subjectKeyIdentifier = new SubjectKeyIdentifier(id);
|
||||
}
|
||||
|
||||
// Token: 0x0600AE0C RID: 44556 RVA: 0x0028B9E0 File Offset: 0x00289BE0
|
||||
[Token(Token = "0x600AE0C")]
|
||||
[Address(RVA = "0x28F3C10", Offset = "0x28F2610", VA = "0x1828F3C10")]
|
||||
public OriginatorIdentifierOrKey(SubjectKeyIdentifier id)
|
||||
{
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
this.id = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600AE0D RID: 44557 RVA: 0x0028BA08 File Offset: 0x00289C08
|
||||
[Token(Token = "0x600AE0D")]
|
||||
[Address(RVA = "0x28F3C90", Offset = "0x28F2690", VA = "0x1828F3C90")]
|
||||
public OriginatorIdentifierOrKey(OriginatorPublicKey id)
|
||||
{
|
||||
int num;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, 1, id);
|
||||
num = 0;
|
||||
this.id = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600AE0E RID: 44558 RVA: 0x0028BA30 File Offset: 0x00289C30
|
||||
[Token(Token = "0x600AE0E")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
[Obsolete]
|
||||
public OriginatorIdentifierOrKey(Asn1Object id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// Token: 0x0600AE0F RID: 44559 RVA: 0x0028BA4C File Offset: 0x00289C4C
|
||||
[Token(Token = "0x600AE0F")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
private OriginatorIdentifierOrKey(Asn1TaggedObject id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// Token: 0x0600AE10 RID: 44560 RVA: 0x0028BA68 File Offset: 0x00289C68
|
||||
[Token(Token = "0x600AE10")]
|
||||
[Address(RVA = "0x28F3B10", Offset = "0x28F2510", VA = "0x1828F3B10")]
|
||||
public static OriginatorIdentifierOrKey GetInstance(Asn1TaggedObject o, bool explicitly)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AE10)
|
||||
|
||||
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: 0x0600AE11 RID: 44561 RVA: 0x0028BA90 File Offset: 0x00289C90
|
||||
[Token(Token = "0x600AE11")]
|
||||
[Address(RVA = "0x28F37E0", Offset = "0x28F21E0", VA = "0x1828F37E0")]
|
||||
public static OriginatorIdentifierOrKey GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AE11)
|
||||
|
||||
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: 0x17001BDB RID: 7131
|
||||
// (get) Token: 0x0600AE12 RID: 44562 RVA: 0x0028BAE8 File Offset: 0x00289CE8
|
||||
[Token(Token = "0x17001BDB")]
|
||||
public Asn1Encodable ID
|
||||
{
|
||||
[Token(Token = "0x600AE12")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")]
|
||||
get
|
||||
{
|
||||
return this.id;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001BDC RID: 7132
|
||||
// (get) Token: 0x0600AE13 RID: 44563 RVA: 0x0028BAFC File Offset: 0x00289CFC
|
||||
[Token(Token = "0x17001BDC")]
|
||||
public IssuerAndSerialNumber IssuerAndSerialNumber
|
||||
{
|
||||
[Token(Token = "0x600AE13")]
|
||||
[Address(RVA = "0x28F3D10", Offset = "0x28F2710", VA = "0x1828F3D10")]
|
||||
get
|
||||
{
|
||||
for (;;)
|
||||
{
|
||||
Asn1Encodable asn1Encodable = this.id;
|
||||
if (asn1Encodable == 0 || asn1Encodable == 0 || asn1Encodable == 0 || asn1Encodable != 0)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001BDD RID: 7133
|
||||
// (get) Token: 0x0600AE14 RID: 44564 RVA: 0x0028BB28 File Offset: 0x00289D28
|
||||
[Token(Token = "0x17001BDD")]
|
||||
public SubjectKeyIdentifier SubjectKeyIdentifier
|
||||
{
|
||||
[Token(Token = "0x600AE14")]
|
||||
[Address(RVA = "0x28F3F60", Offset = "0x28F2960", VA = "0x1828F3F60")]
|
||||
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: 0x17001BDE RID: 7134
|
||||
// (get) Token: 0x0600AE15 RID: 44565 RVA: 0x0028BB68 File Offset: 0x00289D68
|
||||
[Token(Token = "0x17001BDE")]
|
||||
[Obsolete]
|
||||
public OriginatorPublicKey OriginatorKey
|
||||
{
|
||||
[Token(Token = "0x600AE15")]
|
||||
[Address(RVA = "0x28F3DE0", Offset = "0x28F27E0", VA = "0x1828F3DE0")]
|
||||
get
|
||||
{
|
||||
return this.OriginatorPublicKey;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001BDF RID: 7135
|
||||
// (get) Token: 0x0600AE16 RID: 44566 RVA: 0x0028BB7C File Offset: 0x00289D7C
|
||||
[Token(Token = "0x17001BDF")]
|
||||
public OriginatorPublicKey OriginatorPublicKey
|
||||
{
|
||||
[Token(Token = "0x600AE16")]
|
||||
[Address(RVA = "0x28F3DF0", Offset = "0x28F27F0", VA = "0x1828F3DF0")]
|
||||
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: 0x0600AE17 RID: 44567 RVA: 0x0028BBBC File Offset: 0x00289DBC
|
||||
[Token(Token = "0x600AE17")]
|
||||
[Address(RVA = "0x52D760", Offset = "0x52C160", VA = "0x18052D760", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.id.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x0400726E RID: 29294
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400726E")]
|
||||
private Asn1Encodable id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user