PubSec Digital signatures in Acrobat 9

Hi,
i m developing a digital signature plug-in, PubSec, to be specific. My plugin will, hopefully, digitally sign open pdf, and also able to verify them. The signature i am creating will be standard so that any other plugin, including Acrobat's own, can also verify it, and my plugin can verify others too. For this, i will leave the Filter unset and only set subfilter appropriately.
Now, when implementing the signature creation and verification callbacks i found it very difficult, and in some cases am stuck, while getting required information from the provided arguments of the callbacks. For instance, from this structure "PSSigValidateDialogParams" i want to extract information such as:
- signature's verification status
- signer's certificate
- reason location, etc.
But so far i can only get the verification status as:
ASInt32 sigValDigest = ASCabGetInt( sigValCab,  PROP_SigVal_Digest,  kDSSigValUnknown   );
ASInt32 sigValTrustFlags = ASCabGetInt( sigValCab,  PROP_SigVal_TrustFlags,  kDSSigValUnknown   );
ASInt32 sigValId = ASCabGetInt( sigValCab,  PROP_SigVal_Id,  kDSSigValUnknown );
And i dont even completely understand what each of these mean. And i cannot get the rest of the info from the structure as well, as i cant find any discription about them in documentation. I did find a "Digital signature API Reference" document for acrobat 6, but none for acrobat 9. And even in acrobat 6, there is no description for most of the functions and structure, just the prototype.
Please help me get the above information from the PSSigValidateDialogParams, or atleast point me towards the documentation of the digital signature api reference for acrobat 9. Thanks

Hi,
Go to: http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/API_References/Acrobat_API_Refer ence/Digital_Signatures/PubSec.html#kPSSigTrustUntrusted
and search for  DSValidState
enum DSValidState {  DSSigBlank = 0,
  DSSigUnknown,
  DSSigInvalid,
  DSSigValid,
  DSSigDoubleChecked,
  DSSigValidStateEnumSize
and here: http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/API_References/Acrobat_API_Refer ence/Digital_Signatures/PubSec.html#kPSSigTrustAll
enum DSSigValState {  kDSSigValUnknown = 0,
  kDSSigValUnknownTrouble,
  kDSSigValUnknownBytesNotReady,
  kDSSigValInvalidTrouble,
  kDSSigValUnused,
  kDSSigValJustSigned,
  kDSSigValFalse,
  kDSSigValTrue,
  kDSSigValEnumSize
Regards,
mwak

Similar Messages

  • Adding a digital Signature in Acrobat X Pro

    A recent update seems to have altered the digital signature. Before there was no problem and I used the signature I created in Acrobat 9 after upgrading to X Pro. But yesterday (after the update) I was asked for a password for the first time. Eventually I deleted the ID and tried to create a new on but cannot. I follow the steps  - a new ID, then a new PKCS#12 file; I fil lin the details requested then on the next page it asks for a file location and password. I accept the default location and type in a password but after the enter I get a message that the passwords do not match.
    How do I sole this or am I doing something wrong?

    Do you enter the password twice? People have reported that the second password field isn't visible when using a low resolution screen.

  • Digital Signature crashes Acrobat 9 Pro

    An error occurs when trying to Sign any PDF document, even when opening a very simple, one word (Times New Roman text only) PDF document. After opening the PDF in Acrobat Pro (WinXP Pro SP3), selecting Sign, Sign Document, Acrobat allows proper placement of the signature box, and accepts the password for the selected Signature ID. When <Sign> is then selected, Acrobat offers to save the document, and when the save location (any location) is selected, Acrobat returns the error below.
    Adobe Acrobat 9.3 has encountered a problem and needs to close. We are sorry for the inconvenience.
    Error Signature
    AppName: acrobat.exe AppVer: 9.3.2.163 ModName: acrobat.dll
    ModVer: 9.3.2.163 Offset: 00135fb9
    The same source PDF document can be modified, or password protected, and then saved without a problem. Only when a digital signature is applied does the error occur. Acrobat has successfully Signed and saved documents on this PC previously, but starting experiencing this error about week ago. I have uninstalled Acrobat, reinstalled ver. 9.0 and applied the two updates to 9.3.2, and have generated new Digital Signatures, all with the same resulting error when signing a document. The new, signed PDF document is actually created, and a Digital Signature is found in the document, but is invalid, reporting:
    Error during signature verification.
    Signature contains incorrect, unrecognized, corrupted or suspicious data.
    Support Information: SigDict /Contents illegal data
    I have tried the troubleshooting steps in http://kb2.adobe.com/cps/403/kb403613.html, but without any progress; the error continues to remain. Any advice on how to resolve this will be greatly appreciated.  Thanks.

    Hi Mike,
    After the Save As operation was done, did you see the signature appearance displayed in the signed signature field before you closed the doc? And if did see the signature appearance, did you happen to notice if there was a green check mark displayed in the blue message bar at the top of the file?
    Thanks,
    Steve

  • Acrobat 9,10 failing to validate digital signature while Acrobat 8 validating it.

    I am facing an issue while validating a digital signature. I applied a certified signature with “Annotation, form fill-in, and digital signatures” but
    when I apply Redaction “find and permanently remove” on a digitally signed document, Adobe Acrobat 9 and 10 complains that signature is Invalid But Adobe 8 is validating it. I have analyzed  that Adobe Acrobat applying Redaction in append mode and original content of signature  remains unchanged after Redaction.
    Can someone let me know what should be the actual behavior?
    Why Adobe Acrobat 9 and 10 failing to verify the signature even Adobe Acrobat keep enable Redaction which means it is allow to apply in a certified signed document with “Annotation, form fill-in, and digital signatures” option.
    Prompt responses are greatly appreciated!!

    When you sign, you should see where you can select the signature appearance name from a dropdown in the dialog.

  • Problems getting multiple digital signatures in Acrobat Reader form

    I have a Word document that I converted to a form in Acrobat 9 Pro. I added two separate digital signature fields, one for a conference presenter and the other for the conference planner to sign. There are also a number of text fields where presenters give bio information. I saved the document using the Extend functionality so that a user who only has Acrobat Reader would be able to fill in the form, sign/save it, and then send it on to the conference planner. The first part is working fine. However, once the first user signs/saves the document, the extended functionality goes away. When the conference planner receives the document, it is essentially locked. She cannot sign and save.
    Is what I'm trying to do possible? I feel like this would be fairly commonplace, but I may be going about it the wrong way. Thank you for any pointers.
    -Brian 

    Hi Steve,
    I have met similar problem. Using Adobe 9.4 I have prepared document with three signature fileds. I did signature in one of the field and then did extension to Reader. When I checked the propierties of document it occured that signing was not allowed. I couldn't sign it second time (not saying of Reader's user).
    Is there missing any plug-in or something is wrong with a configuration (mentioned "Nothing has happened when signed" was set up)?
    Wlodek

  • Multiple Digital Signatures in Acrobat 8.1

    Hello to all,  I am trying to have two people place two (2) digital signatures  (using the method: Advance Menu Item | Sign & Certify | Place Signatures) on a PDF document.
    There are no problems placing the first signature, but when the second person adds theirs, the first signature ends up having a yellow exlamation mark over the green check mark with the statement: "The revision of the documnet was covered by this signature has not been altered; however there have been subsequent changes to the doucment.".
    I must have both signatures showing "green check marks", otherwise my document can be rejected when I submit it.  I have version 8.1 of Acrobat and need a solution fast as I need to submit this document tomorrow.
    Thanks in advance for any help provided.

    I believe this behavior was changed in Acrobat 9.

  • Problem with digital signatures in Acrobat 8

    Is it true that the ability to directly create a digital signature field is available in Acrobat 7 & 9 but not in 8?
    I have Acrobat Standard 8.0.0 and want to create blank signature fields before I certify a document, but can't find a way to do this directly. I can add a signature then delete it to create a blank field, but this is a very slow way of doing it.
    I have read Forum articles saying choose Tools > Forms > Digital Signature Tool to create a blank field, but I have no Forms item in my Tools menu. Am I missing something, or do I need to upgrade to Acrobat 9 (or downgrade to 7!)?

    Hi Brian,
    It's not that version 8 per se cannot add a signature field, it's that you cannot create or edit form fields in the Standard version. If you had Acrobat 8 Professional, or you buy Acrobat 9 Pro, then you would have the capability to add and edit form fields (a signature fields is just a special purpose form field).
    Steve

  • Can't create a digital signature with acrobat 8

    We have acrobat 8.  My husband has a digital signature but when I try to electronically sign, his digital signature pops up and does not give me the option to create my own.  How can I create my own digital signature on this software?

    I don't have Acrobat 8, but in Acrobat 7 & 9 it's under "Advanced > Security Settings", which prings up a window where you can add a digital ID.

  • Digital Signature using acrobat x

    I've made a form and included a field for a digital signature.  I saved it as user enabled but it still won't let someone using reader only sign the document.   I need help with this.

    Seriously?  Wow.  Ok.  Thanks.  This is the product that was purchased for me through work so I'm stuck I guess.

  • Digital signatures in Acrobat activex control

    Hi, can anyone help me please.
    I'm embedding the acrobat reader activex control inside a winforms application (C#).
    I can load a document and it does display on the winform application.
    Now, in the PDF document, there is a signature field, so when you click on the signature field it is suppose to pop up a window that acquires the signature from a signature pad (I've got a topaz and wacom signature pad connected to the pc).
    Instead a different signature window is displaying, where you select from a list of certificates to be inserted.
    Now, first of all is it possible when using the activex control to obtain signatures from external devices like my signature pads? I just can't seem to get this to work.
    Regards
    Gerhard

    It is Adobe Reader X, yes it does work with Reader in standalone mode, no web browser also the same thing, doesn't pop up the window to select the signature pad to get the signature from.

  • File size increases dramatically after digital signature with Acrobat X

    I signed a PDF file using Acrobat X.
    File size of unsigned document: 200 k
    File size of signed document: 3200 k (more than ten times bigger)
    Any idea?
    BR
    Harald

    Finally I found the solution.
    The file size increase is a result of the embedded information used for long-term signature validation.
    If you do not need this feature, you can turn it off:
    Preferences > Security > Advanced Preferences > Creation tab
    disable "Include Signature’s Revocation"
    Help page: http://help.adobe.com/en_US/acrobat/X/pro/using/WS934c23d7cc8877da1172e0811fde233c98-8000. html
    BR
    Harald

  • How to Delete the Digital signature in Acrobat 8.1.0 ?

    Hi
    Now  I need to delete the signature which I made last year
    But the software tell me that it can only be deleted when the signature found by adobe reader or higher edition acorbat
    So what should do ?
    My OS is Windwos Professional SP3
    Need your help very much !
    Thanks !

    First of all,really gald to see your reply
    Oh, I need to delete the signature certificate
    what should I do?

  • Digital Signatures in Acrobat 5?

    I have acquired a certificate (p12 file from TrustCenter thruough my employer). I am able to sign/certify documents in Acrobat 8 Pro. Most of our users, however, are still using Acrobat 5 Pro and would like the ability to sign PDF's. Is there a way to do it natively or via a 3rd party plug-in?
    Two items:
    1.     Upgrading everyone to Acrobat 8 or 9 is not an option.
    2.     Creating PDF files in my Acrobat 8 and enabling the features in Acrobat reader is also not an option since I am the only one with a fairly recent version of Acrobat.
    Thank you
    Corey

    As far as I know, you are out of luck on that one.

  • How do I remove a digital signature from Adobe Acrobat Pro.  I have set it up wrongly.

    I created a digital signature but I wanted to change the signature and it also was not password protected. So I deleted the signature but cannot delete the certificate to set it up again.
    Mac OS X (Operating System)
    So I am unable to delete the digital signature in Acrobat Xi pro.
    I did the following: Adobe | Preferences | Signatures | Creation and Appearance Preferences and deleted the signature. But Adobe | Preferences | Signatures | Digittal ID and Trusted Certificate Settings, does not want to delete.
    Tank you.

    It's not clear to me what you're trying to accomplish. If you get rid of your digital ID you will still be prompted to create/add one when you need to sign a form, which you say you still need to do? Do you really just want to e-sign (hand-drawn signature, or stamp) instead of digitally sign? Do the forms you're using have digital signature fields?

  • Acrobat Address Book methods in Digital Signature API

    Can anyone point me to code samples using the Acrobat Address Book methods in the Digital Signature API (AABFindCertsByName, AABGetCertTrust for example)?

    I don't remember seeing any, sorry.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 8 Dec 2011 16:32:46 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Acrobat Address Book methods in Digital Signature API
    Acrobat Address Book methods in Digital Signature API
    created by jmmorgan11<http://forums.adobe.com/people/jmmorgan11> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4072845#4072845

Maybe you are looking for

  • Crystal reports has encountered a problem and needs to close

    Hi all. We have a dev machine XP sp3 with all critical updates applied.  It has Crystal reports 11 and visual studio 2008 on it (both have all updates applied).  We seem to have this problem consistently in crystal reports.  If we open a new blank re

  • Plug-in Acrobat Professional for Internet Explorer?

    Hi I've go t Adobe Acrobat Reader Professional 7.0. I need to sign PDF documents in a IE window, but only display the Adobe Acrobar Reader Menu. There´s any chance to open PDF document but show me the sign toolbar and sign it. Thanks in advance. Juan

  • Design a report for mainframes data.

    Hello All, I was given a requirement to design a report using BI Publisher to burst emails with attachments, where the input file is coming from Mainframes ( fixed positioning text file which also includes the context of the attachments). The record

  • Wifi-menu not working.

    Everytime I try and connect to wifi, but i used the arch iso just to see if i can get wifi-menu working and it worked. Soo idk... $sudo wifi-menu Scanning for networks.... failed No networks found http://i.imgur.com/uLbKd9b.png

  • KDE applications not working

    Whenever I try to start a KDE application( I use XFCE ), I get an error saying that the DCOPServer could not be started and dynamic linking is not working. I dont know if it affects all the applications, but the following do not work for sure. Could