Digital Signatures in Adobe PDF with Adobe SDK

Hi,
Please, apologyze my poor english.
I have an  application that inserts a signature programmatically in a PDF document  with Acrobat 8, via VB .NET, using the example provided in the Acrobat 8  SDK ("AddSignature").
The difference between the SDK example and this code resides only in the way of calling the script in .net
I  call directly the AddSignature function with this code (partial),  instead of calling the execution of the "ADBESDK:AddSignature" menu  (this improves faster execution with no AVDOC object involved):
        AcroExchPDDoc = New Acrobat.AcroPDDoc
        Dim JsObj As New Object
        AcroExchPDDoc.Open("c:\test.pdf")
        JsObj = AcroExchPDDoc.GetJSObject
        JsObj.SetUserDigitalIDPath("/C/trabajo/DrTest.pfx")
        JsObj.SetUserPassword("testpassword")
        JsObj.AddSignature(JsObj)
        JsOb = Nothing
        AcroExchPDDoc.Save(1, "c:\result_test.pdf")
        AcroExchPDDoc.Close()
I notice that the more signatures the PDF already contains at the time of inserting a new signature, the more is the time it cost to the program to execute the "AddSignature" line. I've configurated Adobe Acrobat to not validate signatures on open, so I guess validation of existing signatures is not the cause of this delay.
Can someone tell me something about this ??

Well, surely a larer filesize could be the cause of incresing time but, in this particular case we are talking of PDFs about 150kb each.
With 3 or 4 signatures already, they have about 180kb so i guess the increase in filesize can´t be the origin (especially with a PC above the average). Anyway, i´m not sure...
Does someone have any other idea about this?

Similar Messages

  • How to Create a PDF Document and apply Digital Signature in C# using the Adobe SDK?

    Hi Everybody!
    I have to do two distinct tasks here:
    1) How can I create a PDF document using the Adobe SDK in my .NET Applications(C# - 2.0)?
    I just need a basic sample to create a document with a simple text, for example. I did not find any useful information in the adobe documentation. I have the Acrobat Professional 8.0 in my computer, but it's very dificult to work whith de Acrobat.dll and .NET with a poor documentaion.
    2)How can I apply digital signature in a existent pdf document?
    I need to sign documents using the SDK, just a basic sample in c# would be helpful to start!
    Anybody could help?
    Thank in advance!

    Leonard Rosenthol or anybody that can help, sorry to insist.
    I will explain better my problem:
    I have an ASP.NET WebPAge (C# - 2.0). In this page, the user make a request. The request should generate a PDF document with the informations of the request and with a field to add a digital signature. The document created will be send to a approver that will confirm the approval applying his digital signature (I need to do too, a webpage where the approver open the page, choose the pdf document, and sign, just selecting his own certificate and clicking in the button SIGN... but this is another problem).
    That's the reason that I have to create a PDF document. If I create a WORD or HTML document, and then convert to PDF, how can I add a field to digital signature in this pdf document?
    Is there any solution using Acrobat SDK?
    Thank you very much!

  • How do I remove a blank line in a pdf with  adobe pro XI?

    How do I remove a blank line in a pdf with adobe pro XI?
    Can I combine text blocks into one paragraph that are now given line by line?
    Is there a way to add a paragraph to an existing pdf and have the remaining text flow to the next pages?

    You can't, no, and no. Acrobat is not a word processor, and trying to use it as if it is will lead to enormous frustration and disappointment. Maybe you need to convert this document to Word if you want to do this sort of editing, but don't expect fancy layout to be preserved.

  • Can't open pdfs with Adobe Acrobat X

    I can't open pdfs with Adobe Acrobat X. I get this message:
      Warning: Distiller will not process .Log, .PDF or .JDF file extensions
    What do I need to do to be able to open .pdf files? I could open them previously.

    What are you getting the message in response to? Was this a creation of a PDF that resulted in the message? What are you using Distiller for? Distiller can only open PS and EPS files for processing to create a PDF.
    PDF files are opened in Acrobat. For opening PDFs, Distiller has nothing to do with the opening. So I really have no idea. It sounds like you may just be having a creation error since you mentioned a log file. If you were creating a PDF, have you checked the LOG file for the errors? The log file is usually located where you were going to create the PDF, but is created as Distiller processes the file (part of the general Acrobat creation process) and is deleted if successful.
    If you were trying to create, go back to the original application and print to file with the Adobe PDF printer. Then open that file in Distiller to create a PDF. Any errors will be shown in the window and an indication if the PDF was created or not.

  • When I create a PDF with Adobe Reader XI, it wont take the links behind the images. Sometimes he does, mostly not.. Whats the solution? The links in text do work!

    When I create a PDF with Adobe Reader XI, it wont take the links behind the images. Sometimes he does, mostly not.. Whats the solution? The links in text do work!

    Hello,
    How can I give a answer back in the discussion on Adobe.com?
    I don’t see any link?
    1.      We have a subscription.
    2.      Im converting a newsletter from the web to PDF.
    3.      Sometimes I put a weblink behind the image in the newsletter. Most of the time PDF wont take the links behind the image.
    Only the tekstlinks are OK.
    [private data removed]

  • Converting excel 2013 to pdf with adobe acrobat 9

    I have tried and failed many times to convert an excel 2013 spreadsheet into  a pdf with adobe acrobat 9.
    Is this a compatibility issue, Acrobat 9 needs upgrade?

    If you have Excel 2013, you don't need Acrobat to convert to PDF.
    In Excel, click File > Save As PDF

  • Unable to print doc as .pdf with Adobe reader XI

    Unable to print doc as .pdf with Adobe reader XI in windows 7. Tried uninstalling the software and also repair with same result. When clicked on print doc the option to print as .pdf cannot be seen. It just does not appear in the printer option. Help pls.

    cooljolu wrote:
    ya downloaded the trial version of acrobat. I guess it was free earlier and never faced a problem.
    Acrobat has NEVER been free. Reader (formerly called "Acrobat Reader") has always been free, but the Creation/Editing software has always had a price tag.

  • How can i open a hebrew pdf with adobe

    i have an avery template in hebrew and it doesnt create a pdf with adobe since its hebrew what do i do?

    Sorry, I do not understand what you are asking; can you outline the steps you are taking, and where exactly "it doesnt create a pdf with adobe"?

  • Can I merge comments from 2 pdfs with Adobe Acrobat online?

    Can I merge comments from 2 pdfs with Adobe Acrobat online?  If so,  how?

    Hi gignc,
    You can't merge comments using any of the Acrobat.com online services (ExportPDF, Adobe PDF Pack, and so on). But you can with an Acrobat subscription. Please see Adobe Acrobat X Standard * Publish comments from other reviewers from instructions.
    Best,
    Sara

  • Having trouble opening a pdf with Adobe...keep seeing an error sign "acroExch"  does anyone have a way to fix this?

    Having trouble opening a pdf with Adobe...keep seeing an error sign "acroExch"  does anyone have a way to fix this?

    Hmm, "Use Adobe Reader" should launch the PDF outside of Firefox in the stand-alone Adobe Reader application, so seeing it in a tab is something of a puzzle.
    Could you check your version of Adobe Reader? For Windows 7, you normally would have the Reader XI series (Reader 11), which has had several updates. From inside Adobe Reader, you can use Help > Check for Updates to make sure it's current.
    In Firefox, could you check your Adobe Acrobat plugin version or possibly versions? You can view that on the Add-ons page. Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Plugins. If you find multiple versions, this can cause problems and may need to be cleaned up manually (post back on that for suggestions).
    Sometimes, the settings file which stores those download handler preferences becomes corrupted and there's not much else to do than to rename or remove that file and let Firefox rebuild it.
    To do that, open your current Firefox settings (AKA Firefox profile) folder using either
    * "3-bar" menu button > "?" button > Troubleshooting Information
    * (menu bar) Help > Troubleshooting Information
    * type or paste about:support in the address bar and press Enter
    In the first table on the page, click the "Show Folder" button. This will launch a new window (Windows Explorer window) listing various settings files.
    Leaving that window open, switch back to Firefox and Exit, either:
    * "3-bar" menu button > "power" button
    * (menu bar) File > Exit
    Pause while Firefox finishes its cleanup, then rename '''mimeTypes.rdf''' to something like mimeTypes.old
    Start Firefox back up again and "PDF Files" should be back to their default setting of "Preview in Firefox". Try changing that to "Use Adobe Acrobat (in Firefox)" and test to see whether there's any improvement.

  • HTTP Link in PDF with Adobe Reader X

    Hie everybody,
    I'm facing a problem with adobe reader X.
    When i open a pdf and try to open an http link within the PDF, it takes up to 30 seconds before a popup comes up asking me if i want to trust the site.
    When i open the same http link in the same pdf with Adobe reader 9.3 it only takes 2 seconds ....
    Is there a way to solve that issue on Adobe X ??
    Thank you very much

    hey watchon,
    did you work this out? do you have a solution?
    i have exactly the same problem on windows server 2008 r2 with adobe reader x. in my case, there are + signs in the http-link and then it behaves like you mentioned. a file without any special characters in the path does not do any problems - it just opens as it should...
    thanks in advance!
    -jk

  • Save metadata per digital signature field in PDF?

    Hi All,
    I'm looking for a way to save metadata per digital signature field in a PDF.
    For example for each signature I would like to save additional string property.
    Can I use XMP in this case?
    Thanks in Advance!

    Hi,
    Yes, we have options to add digital signature to the pdf. We have one attribute called "Permissions" in "cfpdf" tag. If we provide permissions = 'AllowSecure', then system would allow digital signature for that pdf.
    Please go though the docs for details info. I will post in details next.
    Thanks
    Chandrakant

  • Digital signature does not validate with the given key

    We are switching our single-signon provider from openssl to Weblogic's SAML. I am trying to create a test application that will send mock SAML assertions to our test Weblogic SAML server before we begin integration with the client that will send real SAML assertions.
    I have configured a Weblogic 10.3.5 instance to be a SAML Service Provider as well as created an application that creates test SAML assertions to post to the SAML server. I'm currently using a self-signed certificate to sign the SAML assertion. I've imported the self-signed cert into both the DemoIdentiy.jks and cacerts on the Weblogic SAML server.
    The Weblogic SAML server is giving the following error when trying to validate the signature of the assertion:
    <SAML2Assert: Start verify assertion signature>
    <SAML2Assert: The assertion is signed.>
    <SAML2Assert: Digital signature does not validate with the given key
    org.opensaml.xml.validation.ValidationException: Digital signature does not validate with the given key
    at org.opensaml.xml.signature.SignatureValidator.validate(SignatureValidator.java:68)
         at com.bea.security.saml2.util.SAML2Utils.verifySamlObjectSignature(SAML2Utils.java:229)
         at com.bea.security.saml2.providers.SAML2Assert.verifySignature(SAML2Assert.java:285)
    >
    I get this error when the SAML assertion includes both the cert and the public key, just the cert, just the public key or neither.
    I'm pretty sure I've configured the SAML instance correctly since I followed the steps provided by another group who got this working with a different client. The only difference is they are using a real signed certificate (Verisign i believe) instead of a self signed cert.
    I'm looking for any help to track down which step in the process I've missed or implemented incorrectly.
    Thanks!
    Edited by: 911967 on Feb 6, 2012 12:26 PM

    So I found my own answer to the issue. The error was being caused by an the following xml in the assertion:
    <ds:Reference URI="">
    The value of URI attribute must have a '#' followed by the same value of the ID attribute in the parent 'Assertion' element (in our case a random string):
    <saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="a5k42vnhsywezqzyufq15c4bb9xuzeozrmbppj38xe" IssueInstant="2012-03-12T14:33:25.986Z" Version="2.0">
    <saml:Issuer>ISSUER_NAME</saml:Issuer>
    <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:SignedInfo>
    <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
    <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
    *<ds:Reference URI="#a5k42vnhsywezqzyufq15c4bb9xuzeozrmbppj38xe">*
    How this is related to the digital signature is beyond me, though I admit I'm very new to saml and digital signing. However I spent a great deal of time investigating my certs and how I was creating the signature, which it seems is unrelated to the actual issue. I also wasn't able to find any docs specifying that this attribute was required, though I might have just missed it.

  • Using Digital Signatures in a PDF File | Acrobat X | Adobe TV

    This video details how to use the new Sign & Certify panel for digital signatures, including the new Time Stamp Document tool, in Acrobat X Std. and Pro.
    http://adobe.ly/yDHBdn

    I wanted to add a scanned pdf signature to a W-9 form, and I changed the preference in Security as you suggested, but the new icon in the top tool bar is grayed out, as are all the choices within the Sign & Certify drop down. I watched movies, and looked at forums, and no one has this grayed-out issue. I have been trying to figure this out for an hour, and everything I find is a dead end.

  • Can you print to PDF with Adobe Digital Editions?

    I have Adobe Acrobat Professional 8.0 on a PC I use at school. I am able to print documents to Adobe PDF and create them into a PDF by choosing Adobe PDF instead of a printer.
    I have purchased an eBook that opens in Adobe Digital Editions. The book allows unlimited printing.
    Is it possible to print parts of the book to PDF and create a PDF instead of printing the pages out onto paper?
    Thank you.

    No, this is expressly disallowed. If you think about it, that would allow you to circumvent the DRM protection and the publishers therefore forbid this.

Maybe you are looking for