m
This commit is contained in:
@@ -0,0 +1,164 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
|
||||
{
|
||||
// Token: 0x0200200C RID: 8204
|
||||
[Token(Token = "0x200200C")]
|
||||
public class KekIdentifier : Asn1Encodable
|
||||
{
|
||||
// Token: 0x0600CD80 RID: 52608 RVA: 0x002EBAEC File Offset: 0x002E9CEC
|
||||
[Token(Token = "0x600CD80")]
|
||||
[Address(RVA = "0x2FE5220", Offset = "0x2FE4220", VA = "0x182FE5220")]
|
||||
public KekIdentifier(byte[] keyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other)
|
||||
{
|
||||
DerOctetString derOctetString = new DerOctetString(keyIdentifier);
|
||||
this.keyIdentifier = derOctetString;
|
||||
this.date = date;
|
||||
this.other = other;
|
||||
}
|
||||
|
||||
// Token: 0x0600CD81 RID: 52609 RVA: 0x002EBB1C File Offset: 0x002E9D1C
|
||||
[Token(Token = "0x600CD81")]
|
||||
[Address(RVA = "0x2FE52B0", Offset = "0x2FE42B0", VA = "0x182FE52B0")]
|
||||
public KekIdentifier(Asn1Sequence seq)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CD81)
|
||||
|
||||
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: 0x0600CD82 RID: 52610 RVA: 0x002EBBB0 File Offset: 0x002E9DB0
|
||||
[Token(Token = "0x600CD82")]
|
||||
[Address(RVA = "0x2FE4E40", Offset = "0x2FE3E40", VA = "0x182FE4E40")]
|
||||
public static KekIdentifier GetInstance(Asn1TaggedObject obj, bool explicitly)
|
||||
{
|
||||
return KekIdentifier.GetInstance(Asn1Sequence.GetInstance(obj, explicitly));
|
||||
}
|
||||
|
||||
// Token: 0x0600CD83 RID: 52611 RVA: 0x002EBBCC File Offset: 0x002E9DCC
|
||||
[Token(Token = "0x600CD83")]
|
||||
[Address(RVA = "0x2FE4E60", Offset = "0x2FE3E60", VA = "0x182FE4E60")]
|
||||
public static KekIdentifier GetInstance(object obj)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (0600CD83)
|
||||
|
||||
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: 0x17002063 RID: 8291
|
||||
// (get) Token: 0x0600CD84 RID: 52612 RVA: 0x002EBC1C File Offset: 0x002E9E1C
|
||||
[Token(Token = "0x17002063")]
|
||||
public Asn1OctetString KeyIdentifier
|
||||
{
|
||||
[Token(Token = "0x600CD84")]
|
||||
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
|
||||
get
|
||||
{
|
||||
return this.keyIdentifier;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002064 RID: 8292
|
||||
// (get) Token: 0x0600CD85 RID: 52613 RVA: 0x002EBC30 File Offset: 0x002E9E30
|
||||
[Token(Token = "0x17002064")]
|
||||
public DerGeneralizedTime Date
|
||||
{
|
||||
[Token(Token = "0x600CD85")]
|
||||
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0")]
|
||||
get
|
||||
{
|
||||
return this.date;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17002065 RID: 8293
|
||||
// (get) Token: 0x0600CD86 RID: 52614 RVA: 0x002EBC44 File Offset: 0x002E9E44
|
||||
[Token(Token = "0x17002065")]
|
||||
public OtherKeyAttribute Other
|
||||
{
|
||||
[Token(Token = "0x600CD86")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
|
||||
get
|
||||
{
|
||||
return this.other;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600CD87 RID: 52615 RVA: 0x002EBC58 File Offset: 0x002E9E58
|
||||
[Token(Token = "0x600CD87")]
|
||||
[Address(RVA = "0x2FE5050", Offset = "0x2FE4050", VA = "0x182FE5050", 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: 0x04008254 RID: 33364
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4008254")]
|
||||
private Asn1OctetString keyIdentifier;
|
||||
|
||||
// Token: 0x04008255 RID: 33365
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4008255")]
|
||||
private DerGeneralizedTime date;
|
||||
|
||||
// Token: 0x04008256 RID: 33366
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4008256")]
|
||||
private OtherKeyAttribute other;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user