Comparing certified PDFs

We have an application that stores PDF documents in Oracle in a BLOB column. The documents get a certifying signature before they are first added to the database. They then get pulled out and displayed to the user in an embedded Acrobat 7 or 9 Control in a C# application. In there the user signs a Signature field and the database is Updated with the new version. There can be several users who each sign the document in turn in preconfigured Signature Fields.
There is a security issue since the link between the front end application and the database is a WebService, so the public Update method on the web service could be used to change a PDF to something completely different thus invalidating the supposedly secure storage.
So my question is, is there any way to compare pdfs in code (Javascript or ActiveX) and can it be done to ignore modified Signature fields?
If we could do that we could confirm that the document is "the same" as the original before doing the update.
Thanks for any advice.

Sounds like you want to do this on a server, but you should know that Adobe Acrobat cannot legally be used on a server.
For server-based PDF operations you can look at Adobe LiveCycle products or our Adobe PDFLibrary (available in both Java and C++)

Similar Messages

  • Comparing 2 PDF documents text - differnet results in 8.2 and 9.0 versions of Professional

    I am trying to compare 2 PDF Documents - Text. When I compare it in Version 8.2 of Adobe Professional using the right Options and selecting text compare. It compares the two documents perfectly fine and give me the right difference results.
    When I compare the same 2 PDF documents - text in 9.0. It give me a totally different results. It treats the PDFs as Image and doesn't compare and produce right and clean way as 8.2. Do you know the reason why this is happening in 9.0.
    Ideally all the functionality that is being supported in 8.2 should be supported in 9.0 Right??

    I am trying to compare 2 PDF Documents - Text. When I compare it in Version 8.2 of Adobe Professional using the right Options and selecting text compare. It compares the two documents perfectly fine and give me the right difference results.
    When I compare the same 2 PDF documents - text in 9.0. It give me a totally different results. It treats the PDFs as Image and doesn't compare and produce right and clean way as 8.2. Do you know the reason why this is happening in 9.0.
    Ideally all the functionality that is being supported in 8.2 should be supported in 9.0 Right??

  • Compare two pdf files using adobe acrobat through command line

    Does anyone know how to compare two pdf files using adobe acrobat through command line. I want to do this via command line because we want to compare hundreds of file every day through some automated windows tasks.
    If command line option is not available in acrobat, then is it feasible to make use of acrobat javascript API to do this task?
    Any kind of help will be greatly.

    Command-line: Not possible.
    JavaScript: Possible, but very limited. Basically the only thing you can do is simulate clicking the Compare Documents button. The rest has to be done manually.
    However, it *might* be possible to automate this process a bit more using a plugin. Ask over at the Acrobat SDK forum for more information...

  • Open Certified PDF with Reader XI

    I'm trying to open a certified PDF using Adobe Reader XI, but it always freezes there. while opening other normal PDF files, it works. The certified PDF is the official transcript from my graduate school. I'm running Reader XI in Mac OS X 10.8. 
    Anyone can help open the file? i need the information urgently. Thanks a lot.
    Lijun Zhu

    Any update on this issue. I have several people having this issue and would like to know if anyone has been able to locate a resolution.

  • How do I compare 2 PDF files for equality?

    Hi,
    I want to be able to compare 2 pdf files programmatically in C#.
    I have tried using binary compare and I have found that
    2 identical files do not match due to meta data I assume.
    All I want to do is compare 2 files and match if
    the displayed part is the same. The files have text, lines
    and jpg.
    If I cant do it in C# is there any library that can?
    Malcolm

    The Acrobat SDK includes a PDF compare function but its only available to plugins (written in C/C++).

  • Compare two pdfs in livecycle designer

    Does anyone know how to compare 2 pdfs in livecycle. So basically what I want is highlight the differences between 2 pdfs.
    If anyone has any idea it will be really helpful.
    Thanks.

    Hi Santosh,
    I am specifically looking for such feature in LC designer. I mean though workbench with processes, if we can create something like that.
    Let me know if u have any idea.
    Thanks

  • Hi anyone please help .. i am facing issue with acrobat 11 pro version, in acrobat 7  we are able to compare 2 pdfs which are having more than 1000 pages but in acrobat 111 pro it not possible , if try do so acrobat will unresponsive.. please let me know

    please let me know how can resolve this issue... how can i compare 2 pdfs which are having more than 1000 pages.
    Acrobat

    please let me know how can resolve this issue... how can i compare 2 pdfs which are having more than 1000 pages.
    Acrobat

  • I want compare the pdf files by programmatically!!

    Hi all,
    i want to compare the pdf files by programmatically in acrobat
    please let me know the solution or any plugin , script, and using by any language or from adobe or any thing like that.
    pls help me guys
    thanks
    Thangaraj

    Acrobat Scripting Forum http://forums.adobe.com/community/acrobat/acrobat_scripting
    Acrobat SDK Developer Forum http://forums.adobe.com/community/acrobat/acrobat_sdk

  • Comparing two pdf

    Hi All,
    I have compared two pdf files using below method
    DigSigCompareWords
    (docA, docB, true);
    The report will be generated as document A document B where i'm seeing
    all the compare words and matched text.
    But i need to get  the consolidated report like the one i'm getting from adobe acrobat XI professional compare document with text only.
    Any help will be appreciated.

    Thanks Irosenth.
    I have another problem i have sucecssfully compare two documents but i couldn't able to save 3rd document if i use activedocument to copy to pddoc and save also its not saving.
    Please suggest ideas.
    Note:
    i have read all the forums releated to this that all the user expect this feature[comparison] as automation from 2010 stil not available in sdk XI,X.

  • How to programmatically compare two PDF documents.

    We are in need of a solution related to comparing baselined and revised PDF documents, generally around 2-3 pages of content. Please note that I am looking for programatic comparison, ideally a dotnet based solution using Acrobat SDK. Any help will be highly appreciated.

    Is there any recommendation considering there are no ways to programmatically compare two PDF's in .net. I noticed there are few solutions on Adobe site just like below but everyone seems to be stuck at the compare screen unable to simulate the Enter Key functionality.
          AcroAppClass acroApp1 = new AcroAppClass();
                acroApp1.Hide();
                AcroPDDocClass acrpDoc1 = new AcroPDDocClass();
                acrpDoc1.Open("c:\\MoreInformation.pdf");
                acrpDoc1.OpenAVDoc("BaseLine");
                AcroAppClass acroApp2 = new AcroAppClass();
                acroApp2.Hide();
                AcroPDDocClass acrpDoc2 = new AcroPDDocClass();
                acrpDoc2.Open("c:\\MoreInformation1.pdf");
                acrpDoc2.OpenAVDoc("Revised");
                AcroAVDoc avDoc = new AcroAVDoc();
                AcroAppClass acroMainApp = new AcroAppClass();
                acroMainApp.MenuItemExecute("DIGSIG:CompareDocuments");
                avDoc = (AcroAVDoc)acroMainApp.GetActiveDoc();
                Acrobat.CAcroPDDoc acrpDiffDoc = (Acrobat.CAcroPDDoc)avDoc.GetPDDoc();
                bool save = acrpDiffDoc.Save((short)PDSaveFlags.PDSaveFull, "c:\\compared.pdf");

  • Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

    Installed Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

    Installed Adobe XI Pro trial verison, when compared two pdf files it gives error  "Expected a Name Object"..Can some one say how to fix this?

  • All receivers of my certified PDF need to verify my certificates

    Can anyone tell me of a nice clean way to tell people how they can easily verify my certificates without losing my audiance?
    Arbitrary people need to be able to verify the digital time stamp and my digital certificates for use in Adobe Reader.  From time to time I would like to send out certified PDFs to complete strangers.  I use a personal digital certificate under a Trusted Root with a digital timestamp from a trusted source (e.g. Digistamp.com).
    As it stands every method I have been able to figure out is either so laborious for the reader that almost nobody will ever import the certificates.
    The easiest way I have found is suspect because it means importing the certificates directly through the PDF, which is really is a rubber stamp process rather than an independent verification process.
    It seems to me that there should be a very simple idiot proof way of enabling readers to import the certificates from a trusted source free so that with a couple of key presses they can have the certificates and be able to see the certification at the top of the document in the acrobat reader application or browser.

    Is your Individual Developer Account as a person or as a company?
    From iOS Dev Center / Support / Account Management
    If I am enrolled as an individual, can I change to a company membership?
    Yes. To convert your iOS Developer Program membership from an individual to a company, please contact us. You can make this change only if you are the founder/co-founder of the company. As part of the conversion process, you may be asked to submit business documents to verify your company's identity.
    -=-

  • How can u get the matching percentage whenever compare the pdf files(compare the strings)

    Actually I want matching percentage whenever compare the pdf files.First I had completed 
    read the pdf files content into string
    my code like as
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.IO;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using iTextSharp.text.pdf.parser;
    namespace WindowsFormsApplication1
    public partial class Form1 : Form
    string str1;
    string filename;
    string path;
    string str2;
    public Form1()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    OpenFileDialog openFileDialog = new OpenFileDialog();
    openFileDialog.CheckFileExists = true;
    openFileDialog.AddExtension = true;
    openFileDialog.Filter = "PDF files (*.pdf)|*.pdf";
    DialogResult result = openFileDialog.ShowDialog();
    if (result == DialogResult.OK)
    filename = Path.GetFileName(openFileDialog.FileName);
    path = Path.GetDirectoryName(openFileDialog.FileName);
    textBox1.Text = path + "\\" + filename;
    private void button2_Click(object sender, EventArgs e)
    OpenFileDialog openFileDialog = new OpenFileDialog();
    openFileDialog.CheckFileExists = true;
    openFileDialog.AddExtension = true;
    openFileDialog.Filter = "PDF files (*.pdf)|*.pdf";
    DialogResult result = openFileDialog.ShowDialog();
    if (result == DialogResult.OK)
    filename = Path.GetFileName(openFileDialog.FileName);
    path = Path.GetDirectoryName(openFileDialog.FileName);
    textBox2.Text = path + "\\" + filename;
    public static string ExtractTextFromPdf(string filename)
    using (PdfReader r = new PdfReader(filename))
    StringBuilder text = new StringBuilder();
    for (int i = 1; i <= r.NumberOfPages; i++)
    text.Append(PdfTextExtractor.GetTextFromPage(r, i));
    string result = text.ToString();
    return result;
    public static string Extract(string filename)
    using (PdfReader r = new PdfReader(filename))
    StringBuilder text = new StringBuilder();
    for (int i = 1; i <= r.NumberOfPages; i++)
    text.Append(PdfTextExtractor.GetTextFromPage(r, i));
    string result1 = text.ToString();
    return result1;
    private void button3_Click(object sender, EventArgs e)
    str1 = Form1.ExtractTextFromPdf(textBox1.Text);
    str2 = Form1.Extract(textBox2.Text);
    }Finally how can u get the matching percentage whenever compare the pdf files(compare the strings)please help me.thank u

    Hi,
    Based on your code, I see your code related to
    iTextSharp Pdf.
    iText is a third party library to create PDF originally written for java. iTextSharp is
    the C# adaptation of that library.
    Question regarding iText are better asked on the iText forum, rather than the Microsoft Forum:
    http://itextpdf.com/support
    Thanks for your understanding.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Comparing two PDFs using Compare Documents utility in Acrobat Pro in command line

    I have a need to compare two PDFs based on text, images, annotations, formatting, headers/footers, styles etcetera. The Adobe acrobat pro tool is working very good as per my requirements. I need to call it through Java program or command line. It could be something which takes the two PDFs as argument and compare options as Pro version have - text, images, annotations, formatting, headers/footers and background and generates the list of differences. It could return the differences either in a form of pdf document highlighting the differences or the map which is mapping something like page numbers to the details of differences that are appearing.
    This would be very helpful. Please answer asap.
    Thanks in advance.

    Sounds like you want to do this on a server, but you should know that Adobe Acrobat cannot legally be used on a server.
    For server-based PDF operations you can look at Adobe LiveCycle products or our Adobe PDFLibrary (available in both Java and C++)

  • How to compare two PDFs using Visual Basic

    Hi,
    We have created one Visual Basic exe for comparing two PDFs.We are using AcroExch.App and AcroExch.avDoc
    for creating adobe application object. And we are using MenuItemExecute "DigSig:ToolsDiff" for comparing the PDFs. This piece of code is working fine with Adobe 4.0 and it is comparing the PDFs and showing the mismatches.
    But the same piece of code is not working with Adobe 8.0 Professional. Is there any similar command to MenuItemExecute "DigSig:ToolsDiff" in Adobe 8.0 to find out the mismatches or any alternate approaches that i can try to make the existing code works properly to see the mismatches between two PDFs.
    Thanks in advance,
    Raju

    The only APIs for comparing PDFs are part of the plugin APIs, and not exposed to COM/IAC. You would need to write a custom plugin that called the APIs directly and then expose your plugin for use via VB.
    Leonard

Maybe you are looking for

  • Problem with painting/threads/ProgressMonitor

    Hello, I'll try to be clear, ask me anything if it isn't. I have two threads, one that downloads some selected webpages, and the other that reads them. In the thread that reads, there is a ProgressMonitor object, which indicate how many webpages have

  • Connect to MySQL

    How can I create connection between mySQL and JDBC directly without ODBC. Does JDBC provide built-in mySQL driver ? Thank you very much

  • Session database variables in Oracle 8i

    I have a need for storing values in variables that has scope for the duration of the connection. How can this be done in Oracle 8i?

  • Can't Open RAW

    I have PSE 7 & 10 & 11. These are installed on various machines. Win 8 laptop = PSE 11. MacBook = PSE 10, iMac = PSE 7, PC workstation Win 7 = PSE 10 & PSE 11. I can open NEF, NRW, RW2, DNG on any machine except PC Workstation. PC workstation Win 7 w

  • My phone is saying "software update not available at this time" - is anyone else seeing this?

    my phone is saying "software update not available at this time" - is anyone else seeing this?