using System; using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.X509; using Cpp2IlInjected; namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms { // Token: 0x02001F34 RID: 7988 [Token(Token = "0x2001F34")] public class OriginatorPublicKey : Asn1Encodable { // Token: 0x0600C9F9 RID: 51705 RVA: 0x002E42B0 File Offset: 0x002E24B0 [Token(Token = "0x600C9F9")] [Address(RVA = "0x2ADC750", Offset = "0x2ADB550", VA = "0x182ADC750")] public OriginatorPublicKey(AlgorithmIdentifier algorithm, byte[] publicKey) { this.mAlgorithm = algorithm; DerBitString derBitString = new DerBitString(publicKey); this.mPublicKey = derBitString; } // Token: 0x0600C9FA RID: 51706 RVA: 0x002E42D8 File Offset: 0x002E24D8 [Token(Token = "0x600C9FA")] [Address(RVA = "0x2ADC690", Offset = "0x2ADB490", VA = "0x182ADC690")] [Obsolete] public OriginatorPublicKey(Asn1Sequence seq) { Asn1SequenceParser parser = seq.Parser; AlgorithmIdentifier algorithmIdentifier; this.mAlgorithm = algorithmIdentifier; Asn1SequenceParser parser2 = seq.Parser; DerBitString derBitString; this.mPublicKey = derBitString; } // Token: 0x0600C9FB RID: 51707 RVA: 0x002E4310 File Offset: 0x002E2510 [Token(Token = "0x600C9FB")] [Address(RVA = "0x2ADC560", Offset = "0x2ADB360", VA = "0x182ADC560")] public static OriginatorPublicKey GetInstance(Asn1TaggedObject obj, bool explicitly) { return OriginatorPublicKey.GetInstance(Asn1Sequence.GetInstance(obj, explicitly)); } // Token: 0x0600C9FC RID: 51708 RVA: 0x002E432C File Offset: 0x002E252C [Token(Token = "0x600C9FC")] [Address(RVA = "0x2ADC320", Offset = "0x2ADB120", VA = "0x182ADC320")] public static OriginatorPublicKey GetInstance(object obj) { /* An exception occurred when decompiling this method (0600C9FC) ICSharpCode.Decompiler.DecompilerException: Error decompiling BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorPublicKey BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms.OriginatorPublicKey::GetInstance(System.Object) ---> System.Exception: Basic block has to end with unconditional control flow. { IL_4B: stloc:string(var_10_51, call:string(Platform::GetTypeName, ldloc:object(obj))) stloc:ArgumentException(var_11_64, newobj:ArgumentException(ArgumentException::.ctor, call:string(string::Concat, ldstr:string("Invalid OriginatorPublicKey: "), ldloc:string(var_10_51)))) } 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: 0x17001FE3 RID: 8163 // (get) Token: 0x0600C9FD RID: 51709 RVA: 0x002E43A0 File Offset: 0x002E25A0 [Token(Token = "0x17001FE3")] public AlgorithmIdentifier Algorithm { [Token(Token = "0x600C9FD")] [Address(RVA = "0x3F6E20", Offset = "0x3F5C20", VA = "0x1803F6E20")] get { return this.mAlgorithm; } } // Token: 0x17001FE4 RID: 8164 // (get) Token: 0x0600C9FE RID: 51710 RVA: 0x002E43B4 File Offset: 0x002E25B4 [Token(Token = "0x17001FE4")] public DerBitString PublicKey { [Token(Token = "0x600C9FE")] [Address(RVA = "0x3F5F40", Offset = "0x3F4D40", VA = "0x1803F5F40")] get { return this.mPublicKey; } } // Token: 0x0600C9FF RID: 51711 RVA: 0x002E43C8 File Offset: 0x002E25C8 [Token(Token = "0x600C9FF")] [Address(RVA = "0x2ADC580", Offset = "0x2ADB380", VA = "0x182ADC580", Slot = "5")] public override Asn1Object ToAsn1Object() { Asn1Encodable[] array = new Asn1Encodable[2]; AlgorithmIdentifier algorithmIdentifier = this.mAlgorithm; if (algorithmIdentifier != 0) { } array[0] = algorithmIdentifier; DerBitString derBitString = this.mPublicKey; if (derBitString != 0) { } array[1] = derBitString; DerSequence derSequence = new DerSequence(array); throw new NullReferenceException(); } // Token: 0x040080B4 RID: 32948 [FieldOffset(Offset = "0x10")] [Token(Token = "0x40080B4")] private readonly AlgorithmIdentifier mAlgorithm; // Token: 0x040080B5 RID: 32949 [FieldOffset(Offset = "0x18")] [Token(Token = "0x40080B5")] private readonly DerBitString mPublicKey; } }