using System; using System.Runtime.InteropServices; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms { // Token: 0x0200195F RID: 6495 [Token(Token = "0x200195F")] [StructLayout(3)] public class RecipientKeyIdentifier : Asn1Encodable { // Token: 0x0600AE5E RID: 44638 RVA: 0x0028CAA8 File Offset: 0x0028ACA8 [Token(Token = "0x600AE5E")] [Address(RVA = "0xC54A80", Offset = "0xC53480", VA = "0x180C54A80")] public RecipientKeyIdentifier(Asn1OctetString subjectKeyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other) { this.subjectKeyIdentifier = subjectKeyIdentifier; this.date = date; this.other = other; } // Token: 0x0600AE5F RID: 44639 RVA: 0x0028CAD0 File Offset: 0x0028ACD0 [Token(Token = "0x600AE5F")] [Address(RVA = "0x28FCF90", Offset = "0x28FB990", VA = "0x1828FCF90")] public RecipientKeyIdentifier(byte[] subjectKeyIdentifier) { DerOctetString derOctetString = new DerOctetString(subjectKeyIdentifier); int num = 0; this.subjectKeyIdentifier = derOctetString; this.date = num; this.other = num; } // Token: 0x0600AE60 RID: 44640 RVA: 0x0028CB04 File Offset: 0x0028AD04 [Token(Token = "0x600AE60")] [Address(RVA = "0x28FD010", Offset = "0x28FBA10", VA = "0x1828FD010")] public RecipientKeyIdentifier(byte[] subjectKeyIdentifier, DerGeneralizedTime date, OtherKeyAttribute other) { DerOctetString derOctetString = new DerOctetString(subjectKeyIdentifier); this.subjectKeyIdentifier = derOctetString; this.date = date; this.other = other; } // Token: 0x0600AE61 RID: 44641 RVA: 0x0028CB34 File Offset: 0x0028AD34 [Token(Token = "0x600AE61")] [Address(RVA = "0x28FD0A0", Offset = "0x28FBAA0", VA = "0x1828FD0A0")] public RecipientKeyIdentifier(Asn1Sequence seq) { /* An exception occurred when decompiling this method (0600AE61) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier::.ctor(BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Asn1Sequence) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_65: stloc:ArgumentException(var_9_6F, newobj:ArgumentException(ArgumentException::.ctor, ldstr:string("Invalid RecipientKeyIdentifier"))) } 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: 0x0600AE62 RID: 44642 RVA: 0x0028CBB4 File Offset: 0x0028ADB4 [Token(Token = "0x600AE62")] [Address(RVA = "0x28FCDA0", Offset = "0x28FB7A0", VA = "0x1828FCDA0")] public static RecipientKeyIdentifier GetInstance(Asn1TaggedObject ato, bool explicitly) { return RecipientKeyIdentifier.GetInstance(Asn1Sequence.GetInstance(ato, explicitly)); } // Token: 0x0600AE63 RID: 44643 RVA: 0x0028CBD0 File Offset: 0x0028ADD0 [Token(Token = "0x600AE63")] [Address(RVA = "0x28FCBB0", Offset = "0x28FB5B0", VA = "0x1828FCBB0")] public static RecipientKeyIdentifier GetInstance(object obj) { /* An exception occurred when decompiling this method (0600AE63) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.RecipientKeyIdentifier::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 RecipientKeyIdentifier: "), 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: 0x17001BF5 RID: 7157 // (get) Token: 0x0600AE64 RID: 44644 RVA: 0x0028CC20 File Offset: 0x0028AE20 [Token(Token = "0x17001BF5")] public Asn1OctetString SubjectKeyIdentifier { [Token(Token = "0x600AE64")] [Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0")] get { return this.subjectKeyIdentifier; } } // Token: 0x17001BF6 RID: 7158 // (get) Token: 0x0600AE65 RID: 44645 RVA: 0x0028CC34 File Offset: 0x0028AE34 [Token(Token = "0x17001BF6")] public DerGeneralizedTime Date { [Token(Token = "0x600AE65")] [Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240")] get { return this.date; } } // Token: 0x17001BF7 RID: 7159 // (get) Token: 0x0600AE66 RID: 44646 RVA: 0x0028CC48 File Offset: 0x0028AE48 [Token(Token = "0x17001BF7")] public OtherKeyAttribute OtherKeyAttribute { [Token(Token = "0x600AE66")] [Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")] get { return this.other; } } // Token: 0x0600AE67 RID: 44647 RVA: 0x0028CC5C File Offset: 0x0028AE5C [Token(Token = "0x600AE67")] [Address(RVA = "0x28FCDC0", Offset = "0x28FB7C0", VA = "0x1828FCDC0", Slot = "5")] public override Asn1Object ToAsn1Object() { Asn1Encodable[] array = new Asn1Encodable[1]; Asn1OctetString asn1OctetString = this.subjectKeyIdentifier; 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: 0x04007281 RID: 29313 [global::Cpp2IlInjected.FieldOffset(Offset = "0x10")] [Token(Token = "0x4007281")] private Asn1OctetString subjectKeyIdentifier; // Token: 0x04007282 RID: 29314 [global::Cpp2IlInjected.FieldOffset(Offset = "0x18")] [Token(Token = "0x4007282")] private DerGeneralizedTime date; // Token: 0x04007283 RID: 29315 [global::Cpp2IlInjected.FieldOffset(Offset = "0x20")] [Token(Token = "0x4007283")] private OtherKeyAttribute other; } }