oh dear
This commit is contained in:
@@ -0,0 +1,164 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
||||
{
|
||||
// Token: 0x02001F2C RID: 7980
|
||||
[Token(Token = "0x2001F2C")]
|
||||
public class KekIdentifier : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600C9B2 RID: 51634 RVA: 0x002E334C File Offset: 0x002E154C
|
||||
[Token(Token = "0x600C9B2")]
|
||||
[Address(RVA = "0x2AD8CC0", Offset = "0x2AD7AC0", VA = "0x182AD8CC0")]
|
||||
public KekIdentifier(byte[] keyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(keyIdentifier);
|
||||
this.keyIdentifier = derOctetString;
|
||||
this.date = date;
|
||||
this.other = other;
|
||||
}
|
||||
|
||||
// Token: 0x0600C9B3 RID: 51635 RVA: 0x002E337C File Offset: 0x002E157C
|
||||
[Token(Token = "0x600C9B3")]
|
||||
[Address(RVA = "0x2AD8D50", Offset = "0x2AD7B50", VA = "0x182AD8D50")]
|
||||
public KekIdentifier(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C9B3)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.KekIdentifier::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_7A:
|
||||
stloc:ArgumentException(var_11_84, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Invalid KekIdentifier")))
|
||||
}
|
||||
|
||||
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: 0x0600C9B4 RID: 51636 RVA: 0x002E3410 File Offset: 0x002E1610
|
||||
[Token(Token = "0x600C9B4")]
|
||||
[Address(RVA = "0x2AD88E0", Offset = "0x2AD76E0", VA = "0x182AD88E0")]
|
||||
public static KekIdentifier GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
return KekIdentifier.GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
|
||||
}
|
||||
|
||||
// Token: 0x0600C9B5 RID: 51637 RVA: 0x002E342C File Offset: 0x002E162C
|
||||
[Token(Token = "0x600C9B5")]
|
||||
[Address(RVA = "0x2AD8900", Offset = "0x2AD7700", VA = "0x182AD8900")]
|
||||
public static KekIdentifier GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600C9B5)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.KekIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.KekIdentifier::GetInstance(System.Object)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_26:
|
||||
stloc:string(var_6_2C, call:string(Platform::GetTypeName, ldloc:object(obj)))
|
||||
stloc:ArgumentException(var_7_3F, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid KekIdentifier: "), ldloc:string(var_6_2C))))
|
||||
}
|
||||
|
||||
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: 0x17001FC6 RID: 8134
|
||||
// (get) Token: 0x0600C9B6 RID: 51638 RVA: 0x002E347C File Offset: 0x002E167C
|
||||
[Token(Token = "0x17001FC6")]
|
||||
public Asn1OctetString KeyIdentifier
|
||||
{
|
||||
[Token(Token = "0x600C9B6")]
|
||||
[Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")]
|
||||
get
|
||||
{
|
||||
return this.keyIdentifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FC7 RID: 8135
|
||||
// (get) Token: 0x0600C9B7 RID: 51639 RVA: 0x002E3490 File Offset: 0x002E1690
|
||||
[Token(Token = "0x17001FC7")]
|
||||
public DerGeneralizedTime Date
|
||||
{
|
||||
[Token(Token = "0x600C9B7")]
|
||||
[Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")]
|
||||
get
|
||||
{
|
||||
return this.date;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17001FC8 RID: 8136
|
||||
// (get) Token: 0x0600C9B8 RID: 51640 RVA: 0x002E34A4 File Offset: 0x002E16A4
|
||||
[Token(Token = "0x17001FC8")]
|
||||
public OtherKeyAttribute Other
|
||||
{
|
||||
[Token(Token = "0x600C9B8")]
|
||||
[Address(RVA = "0x3F6400", Offset = "0x3F5200", VA = "0x1803F6400")]
|
||||
get
|
||||
{
|
||||
return this.other;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C9B9 RID: 51641 RVA: 0x002E34B8 File Offset: 0x002E16B8
|
||||
[Token(Token = "0x600C9B9")]
|
||||
[Address(RVA = "0x2AD8AF0", Offset = "0x2AD78F0", VA = "0x182AD8AF0", Slot = "5")]
|
||||
public override Asn1Object ToAsn1Object()
|
||||
{
|
||||
Asn1Encodable[] array = new Asn1Encodable[1];
|
||||
Asn1OctetString asn1OctetString = this.keyIdentifier;
|
||||
if (asn1OctetString != 0)
|
||||
{
|
||||
}
|
||||
array[0] = asn1OctetString;
|
||||
Asn1EncodableVector asn1EncodableVector = new Asn1EncodableVector(array);
|
||||
Asn1Encodable[] array2 = new Asn1Encodable[2];
|
||||
DerGeneralizedTime derGeneralizedTime = this.date;
|
||||
if (derGeneralizedTime != 0)
|
||||
{
|
||||
}
|
||||
array2[0] = derGeneralizedTime;
|
||||
OtherKeyAttribute otherKeyAttribute = this.other;
|
||||
if (otherKeyAttribute != 0)
|
||||
{
|
||||
}
|
||||
array2[1] = otherKeyAttribute;
|
||||
asn1EncodableVector.AddOptional(array2);
|
||||
DerSequence derSequence = new DerSequence(asn1EncodableVector);
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0400809B RID: 32923
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400809B")]
|
||||
private Asn1OctetString keyIdentifier;
|
||||
|
||||
// Token: 0x0400809C RID: 32924
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400809C")]
|
||||
private DerGeneralizedTime date;
|
||||
|
||||
// Token: 0x0400809D RID: 32925
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400809D")]
|
||||
private OtherKeyAttribute other;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user