scripts
This commit is contained in:
+117
@@ -0,0 +1,117 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
||||
{
|
||||
// Token: 0x02001963 RID: 6499
|
||||
[Token(Token = "0x2001963")]
|
||||
[StructLayout(3)]
|
||||
public class SignerIdentifier : Asn1Encodable, IAsn1Choice
|
||||
{
|
||||
// Token: 0x0600AE84 RID: 44676 RVA: 0x0028D510 File Offset: 0x0028B710
|
||||
[Token(Token = "0x600AE84")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public SignerIdentifier(IssuerAndSerialNumber id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// Token: 0x0600AE85 RID: 44677 RVA: 0x0028D52C File Offset: 0x0028B72C
|
||||
[Token(Token = "0x600AE85")]
|
||||
[Address(RVA = "0x1EE12B0", Offset = "0x1EDFCB0", VA = "0x181EE12B0")]
|
||||
public SignerIdentifier(Asn1OctetString id)
|
||||
{
|
||||
int num;
|
||||
int num2;
|
||||
DerTaggedObject derTaggedObject = new DerTaggedObject(num != 0, num2, id);
|
||||
num2 = 0;
|
||||
num = 0;
|
||||
this.id = derTaggedObject;
|
||||
}
|
||||
|
||||
// Token: 0x0600AE86 RID: 44678 RVA: 0x0028D554 File Offset: 0x0028B754
|
||||
[Token(Token = "0x600AE86")]
|
||||
[Address(RVA = "0x579A20", Offset = "0x578420", VA = "0x180579A20")]
|
||||
public SignerIdentifier(Asn1Object id)
|
||||
{
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
// Token: 0x0600AE87 RID: 44679 RVA: 0x0028D570 File Offset: 0x0028B770
|
||||
[Token(Token = "0x600AE87")]
|
||||
[Address(RVA = "0x1EE0FD0", Offset = "0x1EDF9D0", VA = "0x181EE0FD0")]
|
||||
public static SignerIdentifier GetInstance(object o)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600AE87)
|
||||
|
||||
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: 0x17001C01 RID: 7169
|
||||
// (get) Token: 0x0600AE88 RID: 44680 RVA: 0x0028D5C8 File Offset: 0x0028B7C8
|
||||
[Token(Token = "0x17001C01")]
|
||||
public bool IsTagged
|
||||
{
|
||||
[Token(Token = "0x600AE88")]
|
||||
[Address(RVA = "0x1EE1400", Offset = "0x1EDFE00", VA = "0x181EE1400")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable = this.id;
|
||||
if (asn1Encodable == 0)
|
||||
{
|
||||
return 0 != 0;
|
||||
}
|
||||
return asn1Encodable != 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001C02 RID: 7170
|
||||
// (get) Token: 0x0600AE89 RID: 44681 RVA: 0x0028D5F4 File Offset: 0x0028B7F4
|
||||
[Token(Token = "0x17001C02")]
|
||||
public Asn1Encodable ID
|
||||
{
|
||||
[Token(Token = "0x600AE89")]
|
||||
[Address(RVA = "0x1EE1330", Offset = "0x1EDFD30", VA = "0x181EE1330")]
|
||||
get
|
||||
{
|
||||
Asn1Encodable asn1Encodable;
|
||||
do
|
||||
{
|
||||
asn1Encodable = this.id;
|
||||
}
|
||||
while (asn1Encodable != 0 && asn1Encodable != 0 && asn1Encodable != 0 && asn1Encodable == 0);
|
||||
return asn1Encodable;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600AE8A RID: 44682 RVA: 0x0028D620 File Offset: 0x0028B820
|
||||
[Token(Token = "0x600AE8A")]
|
||||
[Address(RVA = "0x52D760", Offset = "0x52C160", VA = "0x18052D760", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
return this.id.ToAsn1Object();
|
||||
}
|
||||
|
||||
// Token: 0x04007297 RID: 29335
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4007297")]
|
||||
private Asn1Encodable id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user