a
This commit is contained in:
+119
@@ -0,0 +1,119 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
||||
{
|
||||
// Token: 0x02001F35 RID: 7989
|
||||
[Token(Token = "0x2001F35")]
|
||||
public class OtherKeyAttribute : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CA00 RID: 51712 RVA: 0x002E4410 File Offset: 0x002E2610
|
||||
[Token(Token = "0x600CA00")]
|
||||
[Address(RVA = "0x2ADC7D0", Offset = "0x2ADB5D0", VA = "0x182ADC7D0")]
|
||||
public static OtherKeyAttribute GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CA00)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OtherKeyAttribute BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OtherKeyAttribute::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_29:
|
||||
stloc:string(var_7_2F, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_8_47, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("unknown object in factory: "), ldloc:string(var_7_2F)), ldstr:string("obj")))
|
||||
}
|
||||
|
||||
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 1660
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x0600CA01 RID: 51713 RVA: 0x002E4468 File Offset: 0x002E2668
|
||||
[Token(Token = "0x600CA01")]
|
||||
[Address(RVA = "0x2ADCB80", Offset = "0x2ADB980", VA = "0x182ADCB80")]
|
||||
public OtherKeyAttribute(Asn1Sequence seq)
|
||||
{
|
||||
Asn1SequenceParser parser;
|
||||
do
|
||||
{
|
||||
base..ctor();
|
||||
parser = seq.Parser;
|
||||
}
|
||||
while (parser != 0 && parser == 0);
|
||||
this.keyAttrId = parser;
|
||||
Asn1SequenceParser parser2 = seq.Parser;
|
||||
this.keyAttr = parser2;
|
||||
}
|
||||
|
||||
// Token: 0x0600CA02 RID: 51714 RVA: 0x002E44A8 File Offset: 0x002E26A8
|
||||
[Token(Token = "0x600CA02")]
|
||||
[Address(RVA = "0x497CA0", Offset = "0x496AA0", VA = "0x180497CA0")]
|
||||
public OtherKeyAttribute(DerObjectIdentifier keyAttrId, Asn1Encodable keyAttr)
|
||||
{
|
||||
this.keyAttrId = keyAttrId;
|
||||
this.keyAttr = keyAttr;
|
||||
}
|
||||
|
||||
// Token: 0x17001FE5 RID: 8165
|
||||
// (get) Token: 0x0600CA03 RID: 51715 RVA: 0x002E44CC File Offset: 0x002E26CC
|
||||
[Token(Token = "0x17001FE5")]
|
||||
public DerObjectIdentifier KeyAttrId
|
||||
{
|
||||
[Token(Token = "0x600CA03")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.keyAttrId;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FE6 RID: 8166
|
||||
// (get) Token: 0x0600CA04 RID: 51716 RVA: 0x002E44E0 File Offset: 0x002E26E0
|
||||
[Token(Token = "0x17001FE6")]
|
||||
public Asn1Encodable KeyAttr
|
||||
{
|
||||
[Token(Token = "0x600CA04")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.keyAttr;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CA05 RID: 51717 RVA: 0x002E44F4 File Offset: 0x002E26F4
|
||||
[Token(Token = "0x600CA05")]
|
||||
[Address(RVA = "0x2ADCA70", Offset = "0x2ADB870", VA = "0x182ADCA70", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[2];
|
||||
DerObjectIdentifier derObjectIdentifier = this.keyAttrId;
|
||||
if (derObjectIdentifier != 0)
|
||||
{
|
||||
}
|
||||
array[0] = derObjectIdentifier;
|
||||
Asn1Encodable asn1Encodable = this.keyAttr;
|
||||
if (asn1Encodable != 0)
|
||||
{
|
||||
}
|
||||
array[1] = asn1Encodable;
|
||||
DerSequence derSequence = new DerSequence(array);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x040080B6 RID: 32950
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x40080B6")]
|
||||
private DerObjectIdentifier keyAttrId;
|
||||
|
||||
// Token: 0x040080B7 RID: 32951
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40080B7")]
|
||||
private Asn1Encodable keyAttr;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user