void IDisposable.Dispose() { this.string_9 = null; this.stream_0 = null; if (this.stream12_0 != null) { this.stream12_0.Dispose(); this.stream12_0 = null; } this.digitalSignatures_0 = null; this.interface51_0 = null; this.memoryStream_0 = null; this.memoryStream_1 = null; this.memoryStream_2 = null; this.memoryStream_3 = null; this.memoryStream_4 = null; this.memoryStream_5 = null; this.memoryStream_6 = null; this.binaryWriter_0 = null; this.binaryWriter_1 = null; this.binaryWriter_2 = null; this.binaryWriter_3 = null; this.binaryWriter_4 = null; this.binaryReader_0 = null; this.binaryReader_1 = null; this.binaryReader_2 = null; this.binaryReader_3 = null; this.binaryReader_4 = null; }
private void method_0(Stream A_0, Interface9 A_1, DigitalSignatures A_2) { int num = 9; if (A_0 != null) { this.class393_0 = new Class393(A_0); if (this.class393_0.method_1() == BookmarkStart.b("簮堰吲嬴嘶䴸为似娾", num)) { bool flag = smethod_1(A_0, 0); A_2.method_0(this.method_1(A_1, flag)); } else { int num2 = 0; while (this.class393_0.method_9(BookmarkStart.b("䬮帰倲䀴娶尸唺䤼ሾ㉀⩂≄⥆⡈㽊㡌㵎㑐⁒", num))) { string str; if (((str = this.class393_0.method_1()) != null) && (str == BookmarkStart.b("簮堰吲嬴嘶䴸为似娾", num))) { bool flag2 = smethod_1(A_0, num2++); A_2.method_0(this.method_1(A_1, flag2)); } else { this.method_15(); } } } } }
private static void smethod_4(BinaryReader A_0, DigitalSignatures A_1, byte[] A_2) { for (int i = A_0.ReadInt32(); i != 0; i = A_0.ReadInt32()) { DigitalSignature signature = Class346.smethod_0(A_0, A_2); A_1.method_0(signature); } }
internal DigitalSignatures method_8() { if (this.digitalSignatures_0 == null) { this.digitalSignatures_0 = new DigitalSignatures(); } return(this.digitalSignatures_0); }
private static void smethod_1(Class1132 A_0, DigitalSignatures A_1) { Class1089 class2 = A_0.method_0().method_6(BookmarkStart.b("氲䴴娶唸䠺吼堾⽀≂ㅄ㉆㭈⹊㹌", 13)); if (class2 != null) { foreach (string str in class2.GetKeyList()) { Class556.smethod_0(class2.method_4(str), new Class867(A_0), A_1); } } }
private static void smethod_2(Class1132 A_0, DigitalSignatures A_1) { Stream input = A_0.method_0().method_4(BookmarkStart.b("氲䘴帶常唺尼䬾㑀ㅂ⁄㑆", 13)); if (input != null) { BinaryReader reader = new BinaryReader(input, Encoding.Unicode); int num = reader.ReadInt32(); smethod_3(reader, num); reader.ReadInt32(); smethod_4(reader, A_1, new Class594(A_0.method_0()).method_4()); } }
public DecryptTextModel(SymmetricEncryptDecrypt symmetricEncryptDecrypt, AsymmetricEncryptDecrypt asymmetricEncryptDecrypt, ApplicationDbContext applicationDbContext, ImportExportCertificate importExportCertificate, DigitalSignatures digitalSignatures, IConfiguration configuration) { _symmetricEncryptDecrypt = symmetricEncryptDecrypt; _asymmetricEncryptDecrypt = asymmetricEncryptDecrypt; _applicationDbContext = applicationDbContext; _importExportCertificate = importExportCertificate; _digitalSignatures = digitalSignatures; _configuration = configuration; }
private static void smethod_2(Class363 A_0, DigitalSignatures A_1) { MemoryStream stream = A_0.method_49(BookmarkStart.b("猫崭夯唱娳圵䰷伹主嬽㌿", 6)); if (stream != null) { Stream input = stream; if (input != null) { BinaryReader reader = new BinaryReader(input, Encoding.Unicode); int num = reader.ReadInt32(); smethod_3(reader, num); reader.ReadInt32(); smethod_4(reader, A_1, new Class321(A_0.method_47().method_0()).method_4()); } } }
private static void smethod_1(Class363 A_0, DigitalSignatures A_1) { MemoryStream stream = A_0.method_46(BookmarkStart.b("栶䄸嘺儼䰾⡀⑂⭄♆㵈㹊㽌⩎≐", 0x11)); if (stream != null) { Class1132 class3 = new Class1132(stream); Class1089 class2 = class3.method_0(); if (class2 != null) { foreach (string str in class2.GetKeyList()) { Class556.smethod_0(class2.method_4(str), new Class625(class3), A_1); } } } }
internal static void smethod_0(Stream A_0, Interface9 A_1, DigitalSignatures A_2) { new Class556().method_0(A_0, A_1, A_2); }
private static void DisplayGeneratorExamples() { bool exitToProducts = false; while (!exitToProducts) { Console.WriteLine("Select a DynamicPDF Generator for .NET example to run:"); Console.WriteLine(" A : Hello World"); Console.WriteLine(" B : All Page Elements"); Console.WriteLine(" C : Calender"); Console.WriteLine(" D : Charting"); Console.WriteLine(" E : Contact List"); Console.WriteLine(" F : AES 256 Bit Encryption"); Console.WriteLine(" G : RC4 128 Bit Encryption"); Console.WriteLine(" H : Hello World Languages"); Console.WriteLine(" I : Tagged Pdf"); Console.WriteLine(" J : HTML Tags"); Console.WriteLine(" K : HTML Tags With Styles"); Console.WriteLine(" L : HTML Layout"); Console.WriteLine(" M : Image With Alternate Text"); Console.WriteLine(" N : Mailing Labels"); Console.WriteLine(" O : Package PDF"); Console.WriteLine(" P : Simple Report"); Console.WriteLine(" Q : Simple XML Report"); Console.WriteLine(" R : Table Report"); Console.WriteLine(" S : Tagged PDF With Structure Elements"); Console.WriteLine(" T : Tiff To PDF"); Console.WriteLine(" U : Time Machine"); Console.WriteLine(" V : Time Machine Tagged PDF"); Console.WriteLine(" W : Watermark"); Console.WriteLine(" X : Invoice"); Console.WriteLine(" Y : Digital Signatures"); Console.WriteLine(" Z : USEnvelope"); Console.WriteLine(); Console.WriteLine("Press 'Backspace' for the main products menu"); Console.WriteLine("Press 'Esc' to exit application"); Console.WriteLine(); ConsoleKeyInfo runKey = Console.ReadKey(); Console.WriteLine(); string exampleName = string.Empty; string fileName = string.Empty; switch (runKey.Key) { case ConsoleKey.A: exampleName = "Hello World"; fileName = "HelloWorld.pdf"; Console.WriteLine(exampleName + " example is running..."); HelloWorld.Run(fileName); break; case ConsoleKey.B: exampleName = "All Page Elements"; fileName = "AllPageElements.pdf"; Console.WriteLine(exampleName + " example is running..."); AllPageElements.Run(fileName); break; case ConsoleKey.C: exampleName = "Calender"; fileName = "Calender.pdf"; Console.WriteLine(exampleName + " example is running..."); Calender.Run(fileName); break; case ConsoleKey.D: exampleName = "Charting"; fileName = "Charting.pdf"; Console.WriteLine(exampleName + " example is running..."); Charting.Run(fileName); break; case ConsoleKey.E: exampleName = "Contact List"; fileName = "ContactList.pdf"; Console.WriteLine(exampleName + " example is running..."); ContactList.Run(fileName); break; case ConsoleKey.F: Console.Clear(); exampleName = "AES 256 Bit Encryption"; fileName = "Aes256BitEncryption.pdf"; Console.WriteLine(exampleName + " example is running..."); Aes256BitEncryption.Run(fileName); break; case ConsoleKey.G: exampleName = "RC4 128 Bit Encryption"; fileName = "RC4128BitEncryption.pdf"; Console.WriteLine(exampleName + " example is running..."); RC4128BitEncryption.Run(fileName); break; case ConsoleKey.H: exampleName = "Hello World Languages"; fileName = "HelloWorldLanguages.pdf"; Console.WriteLine(exampleName + " example is running..."); HelloWorldLanguages.Run(fileName); break; case ConsoleKey.I: exampleName = "Tagged PDF"; fileName = "TaggedPdf.pdf"; Console.WriteLine(exampleName + " example is running..."); TaggedPdf.Run(fileName); break; case ConsoleKey.J: exampleName = "HTML Tags"; fileName = "HtmlTags.pdf"; Console.WriteLine(exampleName + " example is running..."); HtmlAreaPDF.Run_WithHtmlTags(fileName); break; case ConsoleKey.K: exampleName = "HTML Tags With Styles"; fileName = "HtmlTagsWithStyles.pdf"; Console.WriteLine(exampleName + " example is running..."); HtmlAreaPDF.Run_WithHtmlTagsAndStyles(fileName); break; case ConsoleKey.L: exampleName = "HTML Layout"; fileName = "HtmlLayout.pdf"; Console.WriteLine(exampleName + " example is running..."); HtmlLayoutPDF.Run(fileName); break; case ConsoleKey.M: exampleName = "Image With Alternate Text"; fileName = "ImageWithAltText.pdf"; Console.WriteLine(exampleName + " example is running..."); AltTextImage.Run(fileName); break; case ConsoleKey.N: exampleName = "Mailing Labels"; fileName = "MailingLabels.pdf"; Console.WriteLine(exampleName + " example is running..."); MailingLabels.Run(fileName); break; case ConsoleKey.O: exampleName = "Package PDF"; fileName = "PackagePdf.pdf"; Console.WriteLine(exampleName + " example is running..."); PackagePdf.Run(fileName); break; case ConsoleKey.P: exampleName = "Simple Report"; fileName = "SimpleReport.pdf"; Console.WriteLine(exampleName + " example is running..."); SimpleReport.Run(fileName); break; case ConsoleKey.Q: exampleName = "Simple XML Report"; fileName = "SimpleXmlReport.pdf"; Console.WriteLine(exampleName + " example is running..."); SimpleXMLReport.Run(fileName); break; case ConsoleKey.R: exampleName = "Table Report"; fileName = "TableReport.pdf"; Console.WriteLine(exampleName + " example is running..."); TableReport.Run(fileName); break; case ConsoleKey.S: exampleName = "Tagged PDF With Structure Elements"; fileName = "TaggedPdfWithStructureElements.pdf"; Console.WriteLine(exampleName + " example is running..."); TaggedPdfWithStructureElements.Run(fileName); break; case ConsoleKey.T: exampleName = "Tiff To PDF"; fileName = "TiffToPdf.pdf"; Console.WriteLine(exampleName + " example is running..."); TiffToPdf.Run(fileName); break; case ConsoleKey.U: exampleName = "Time Machine"; fileName = "TimeMachine.pdf"; Console.WriteLine(exampleName + " example is running..."); TimeMachine.Run(fileName); break; case ConsoleKey.V: exampleName = "Time Machine Tagged PDF"; fileName = "TimeMachineTaggedPdf.pdf"; Console.WriteLine(exampleName + " example is running..."); TimeMachineTaggedPdf.Run(fileName); break; case ConsoleKey.W: exampleName = "Watermark"; fileName = "Watermark.pdf"; Console.WriteLine(exampleName + " example is running..."); Watermark.Run(fileName); break; case ConsoleKey.X: exampleName = "Invoice"; fileName = "Invoice.pdf"; Console.WriteLine("Please enter the invoice number(s) to include. Use a comma ',' to seperate multiple entries (Ex: 10248,10249,10250):"); Console.WriteLine(); Console.WriteLine("10248"); Console.WriteLine("10249"); Console.WriteLine("10250"); Console.WriteLine("10251"); Console.WriteLine("10252"); Console.WriteLine("10360"); Console.WriteLine("10979"); Console.WriteLine("11077"); Console.WriteLine(); string invoiceNumbers = Console.ReadLine(); Console.WriteLine(exampleName + " example is running..."); byte[] pdf = GeneratorInvoice.Run(invoiceNumbers.Split(',')); File.WriteAllBytes(fileName, pdf); break; case ConsoleKey.Y: exampleName = "Digital Signatures"; fileName = "Digital Signatures"; Console.WriteLine(exampleName + " example is running..."); DigitalSignatures.Run(fileName); break; case ConsoleKey.Z: exampleName = "USEnvelope"; fileName = "USEnvelope.pdf"; Console.WriteLine(exampleName + " example is running..."); USEnvelope.Run(fileName); break; case ConsoleKey.Escape: System.Environment.Exit(0); break; case ConsoleKey.Backspace: exitToProducts = true; break; default: Console.WriteLine(); Console.WriteLine("Key not recognized."); break; } if (fileName != string.Empty) { DisplayOutputPathWithOptionToOpen(fileName); } } }
internal static void smethod_0(Class1132 A_0, DigitalSignatures A_1) { smethod_1(A_0, A_1); smethod_2(A_0, A_1); }