Signing a PDF file

Hi all.
I want to sign a pdf file.
1.- u2019ve generated the PSE file in my system and Iu2019ve validated it. Iu2019ve inserted my certificate in the pse file.
2.- Iu2019ve created a program how converts a spool to PDF format (FM CONVERT_OTFSPOOLJOB_2_PDF ).
3- I use the FM SSF_GET_PARAMETER to get my pse parameters.
4.- I use the FM SSF_KRN_SIGN_BY_AS to sign the pdf data. This FM generates a signed data in binary type.
5.- I Verify the signed data with FM SSF_KRN_VERIFY. The validation is good.
6.- I generate the pdf and download it with FM GUI_DOWNLOAD. I use the binary signed data ( Generated in FM    SSF_KRN_SIGN_BY_AS ) in this FM.
The problem is with the pdf generated. I can open it and I can read it without problems but I donu2019t see the sign in this document.
The pdf document signed is with un 1Kb more than the pdf not signed ( there are more information ) but the sign not appears .
I'm using SAPCRYPTOLIB and my SAP version is 4.7
Can you help me , please??? What is my error ??
Thanks a lot.
Ismael
Edited by: Navarro Galindo on Jul 9, 2009 11:50 AM
Edited by: Navarro Galindo on Jul 9, 2009 1:03 PM

hi,
Please go through thess snote  for 4.7
SSF installation
Note 86927 corresponds to 4.7 version .
Please check the SAP Note-889361.
It might help you
http://threebit.net/mail-archive/itext-questions/msg07248.html
Benakaraja
??P
Edited by: benaka rajes on Jul 9, 2009 5:03 PM
Edited by: benaka rajes on Jul 9, 2009 5:15 PM

Similar Messages

  • It's possible to sign a PDF file with ABAP????

    Hi all.
    I'm trying to sign PDF file with SAPCRYPTOLIB. I'm 4.7 sap version.
    It's possible to do this?????....
    My question is because I've done all steps to sign a pdf, without errors, and the pdf generated is not signed.
    Can anybody to say me if it's possible to sign a pdf file with ABAP???
    thanks a lot.
    ISmael

    Here: [SAP Interactive Forms by Adobe|SAP Interactive Forms by Adobe;
    Also, please read the forum rules of engagement, it explains to use the forums.

  • Signing a pdf file causes crash

    H,
    I've been having some problems with Adobe Acrobat 9 Pro for Windows when signing a pdf file, on Vista, related to a module called Stackhash, and I have no idea what it is. Has anyone had problems like this?
    Acrobat crashing and showing a Stackhash module error?
    Problem signature:
    Problem Event Name: BEX
    Application Name: Acrobat.exe
    Application Version: 9.0.0.332
    Application Timestamp: 4850eb76
    Fault Module Name: StackHash_14d4
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Offset: 003d26f0
    Exception Code: c0000005
    Exception Data: 00000008
    OS Version: 6.0.6001.2.1.0.256.1
    Locale ID: 2070
    Additional Information 1: 14d4
    Additional Information 2: 2a7b5ef4c25ea58312be431075792351
    Additional Information 3: 5bab
    Additional Information 4: af86099b26530a26023283fbc0e690ec

    Hi there,
    I am having the same problems trying to sign in Acrobat 9 as well.  My pc is running on Vista also.  But I'm using and ePad with IntegriSign software.  The program crashes and closes every time I drag and create a signature box.  The software works fine in other programs such as Word but not Acrobat 9.  I hope someone will be able to help me figure out how to fix it.  Thanks!
    Winnie

  • Digitally sign multiple pdf files

    How to digitally sign multiple pdf files with adobe acrobat XI?

    Are you trying to apply certificate-based encryption or add a signature to a PDF form field?
    The first one is easy with Acrobat Pro; just create a new Action with the encryption task set to your requirements, then run the Action against a folder of files.

  • How to sign a pdf file and save it directly back to sharepoint site?

    Hello,
    I own a Sharepoint site for testing. It is installed in my computer with Sharepoint 2010 (WSS). What I want to do is to find a way to achieve a signing function for pdf file type on sharepoint.
    By refer to this site below, the site has been able to recognize pdf file type and open it and edit it directly on the sharepoint site.
    http://www.portalsolutions.net/Blog/Lists/Posts/Post.aspx?ID=40
    I can edit the pdf file by checking out and then the modification will be save directly back to the pdf file in the shared document library when I am done. Now the problem is, I cannot save the pdf directly back to sharepoint after I inserted a digital signature
    to the pdf file.
    Everytime I inserted a digital signature to the pdf file, a "save as..." window would pop up and asked me to save the signed pdf file as another file in my local computer, so the changes were not applied to the original pdf file on the shared document library
    of my sharepoint site. I have to upload the local signed version back to the site and replace the old one manually.
    Any suggestion? Thank you.
    Mengxin Wu

     
    Hi,
    According to my analysis, for Digital Signatures: Adobe has changed the behavior around digital signatures and SharePoint-hosted PDF files. Now, when digitally signing a SharePoint-hosted PDF file, it will be saved directly to SharePoint if that PDF file
    is already checked out. If not, the user will be prompted to check it out. When digitally signing a SharePoint-hosted PDF file in Acrobat X, Version 10.0, the user would be prompted to save that file locally and would then need to upload it separately to SharePoint
    as a new version.
    I suggest that you use Acrobat X, then check the result. For more information about Acrobat X, please refer to
    http://blogs.adobe.com/pdfitmatters/2011/06/whats-new-in-acrobat-x-version-10-1.html
    In addition, you can also consider the following third-party tool:
    http://www.arx.com/digital-signature/sharepoint
    Thanks,
    Rock Wang

  • Can't sign a pdf file

    I've received a pdf file as an email attachment which I've been asked to sign and return.  There are five fields to be filled in (which appear simply as an underline) but none of them can be typed on.  The file opens in Adobe Acrobat Reader 9.

    Hi,
    Does anyone have the solution to this issue? I'm having the same problem using Reader 11.0.8.
    Thanks.

  • SSFTEST(SSF01) to test a PSE. Sign a pdf file.

    Hi all
    My SAP Version is 6.20 and my kernel version 6.20 too.
    Iu2019ve created a pse file and signed by CA ( SAP test ). With SAPCRYPTOLIB.
    Now, Iu2019m using program SSF01 ( SSFTEST) to sign a pdf document with my pse.
    The program executes good and not display any error. Generates the signed pdf file bat
    When I open the signed pdf file, the sign not appears.
    Can anybody say me the reason???...I do something wrong generating and signing my pse file??
    Thanks a lot
    Ismael

    Hi Ismael,
    Did you solved this issue? We are having same problem.
    Thank you in advance.
    Regards.
    urtzi.

  • Is it possible to sign a PDF file, make some changes, and add another signature?

    For example, if you create a test plan, sign off on it, fill it in electronically, and need to sign the "filled in version" too? It would be good to be able to create a document that gets signed off, that then can be added to, and then the addition also signed. I'm not sure if I'm making myself clear. We could use the certify feature, maybe, but we need to have multiple people sign-off on a file the first time before it's used. Then we want someone to use the info/add comments/maybe complete a form (we haven't worked that out) and have them sign that they completed it.
    Thank you.

    Yes you can with restrictions. You need to create your original PDF in such a way that you may make certain changes after it is signed. The easiest way to do it is to certify the original PDF with certain permissions. Acrobat Pro UI provides certain combinations of such permissions. Adobe LiveCycle provides more granular combinations of permissions but this is an expensive solution. Try first what Acrobat Pro UI gives you and see if it gets you want you need. You may apply as many modifications and signatures to the document as long as they conform to the certification permissions. The last signer can also lock his signature which disallows further modifications and signing.

  • Can't sign interactive PDF files

    Hi there! I've been having a problem where, given an interactive PDF form to fill out (in this case, job applications), Adobe Reader will recognize the signature field (when I mouse over it, it says "Unsigned signature field (Click to sign)"), but when I click to sign it, nothing happens. When I type, nothing is entered into the signature field. If I click the field too many times, Adobe Reader crashes.
    I have had this problem with several different forms from different employers, though I  did come across one interactive PDF I could sign successfully (but only one, I think). I can usually fill in the rest of the interactive fields with no issues.
    In the files with the broken signature fields, when I open the "Sign" pane, everything under "Fill & Sign" is greyed out; everything's functional in the file with the working signature field.
    Also, the broken signature fields are blue like the rest of the interactive fields, but also has a red bar/arrow in the upper left hand corner, with text that I think says "your name" (it's very small). The working signature field is also blue, but is outlined in red.
    I've also had a problem in one file where inputting "From" and "To" dates (for employment periods, school periods, etc) into one section inputs those dates into further sections. In other words, I put in the month/year when I started college and when I finished college, and those dates also appeared in the fields further down the application where it wanted the month/year I started and finished an employment period.
    I have the latest version of Adobe Reader.
    How can I fix this? It's making the already stressful activity of job hunting even more stressful. Thanks!

    Bump? Is that a thing that we do here? I really need a solution.

  • How to remove password-encryption in a signed PDF file?

    I can open a password-encryption and digitally signed PDF file using Acrobat X Standard but cannot remove the password protection.
    Can anyone help me remove the password encryption?  The Acrobat only allows to set passsord encryption before adding digital signature to a PDF file.  Can I sign a PDF file and then encrypt it with password?  Thanks.

    Removing the security, if it is possible, would destroy the signature.
    Encrypting a signed PDF would destroy the signature.
    This is because signatures validate the file exactly as it is, and changes to the file break the signature by design. Setting security is a change to the PDF (a big change).

  • Help token (SafeNet) IKEY 2032 sign pdf files

    Hi . i'm trying to sign one pdf file with token safeNet IKEY 2032 but when i use SUN PK-CS11 i got the following error: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_MECHANISM_INVALID
    and when i use the iTEXT i can sign but when i open the pdf on acrobat reader i got the following error:
    Error during signature verification.
    Error encountered while validating:
    Error encountered while BER decoding:
    can anyone tell me what im doing wrong?
    tks
    sorry my english

    java access ikey via native lib, so you should double check in config file
    example code:
    java.security.Provider oProvider = new sun.security.pkcs11.SunPKCS11(pkcs11.cfg);
    Security.addProvider(oProvider);
    double check file pkcs11.cfg and make sure in your application declare corect lib for ikey

  • How to digitally sign pdf file

    Hi,
    I am working on Java and Digital Signature and new to this field. I want to sign a pdf file using smart card. I have tried signing xml files and it's now running fine. The signature is attached with the xml file. Similarly I want to sign a pdf file and the signature should be attached with it.
    Please help me to do that.
    Thanks in advance.

    Thnx.
    Any way I could manage the matter.
    I hope my code may help people working on same.
    So the code is here
    static String fname = "D:\\file.pdf";
    static String fnameS = "D:\\file_signed.pdf";
    //The main method
    public static void main(String[] args) {
            try {
                this.signPdf() ;           
            } catch (Exception e) {
                System.out.println(e);
    //The signer method
    public static final boolean signPdf()
                throws IOException, DocumentException, Exception {
            String fileKey = "D:\\MyCertificate.pfx";
            String fileKeyPassword = "password";
            try {
                KeyStore ks = KeyStore.getInstance("pkcs12");
                ks.load(new FileInputStream(fileKey), fileKeyPassword.toCharArray());
                String alias = (String) ks.aliases().nextElement();
                PrivateKey key = (PrivateKey) ks.getKey(alias, fileKeyPassword.toCharArray());
                Certificate[] chain = ks.getCertificateChain(alias);
                PdfReader pdfReader = new PdfReader((new File(fname)).getAbsolutePath());
                File outputFile = new File(fnameS);
                PdfStamper pdfStamper;
                pdfStamper = PdfStamper.createSignature(pdfReader, null, '\0', outputFile);
                PdfSignatureAppearance sap = pdfStamper.getSignatureAppearance();
                //sap.setCrypto(key, chain, null, PdfSignatureAppearance.SELF_SIGNED);
                sap.setCrypto(key, chain, null, PdfSignatureAppearance.VERISIGN_SIGNED);
                sap.setReason("Security");
                sap.setLocation("Kolkata, India");
                sap.setSignDate(Calendar.getInstance());
                sap.setVisibleSignature(new Rectangle(10, 10, 50, 30), pdfReader.getNumberOfPages(), "Subhadip Pramanik");
                pdfStamper.setFormFlattening(true);
                pdfStamper.close();
                return true;
            } catch (Exception key) {
                throw new Exception(key);
        }

  • PDF files opens in Adobe Reader  9 but not Adobe Acrobat Pro 9

    After one of my users digitally signs a PDF file, and saves it, he cannot open it again.
    He gets either a reference memory error or a Font Capture error.
    I can open the same PDF file with Adobe Reader 9 and Adobe Acrobat Pro 8.
    If  I take the same file to a system with Adobe Acrobat Pro 9 - same error on the same file.
    Happens to my administrator account as well.
    Acrobat Pro 9 version: 9.4.1
    Adobe Reader version: 9.4.1
    Acrobat Pro 8 version: 8.2.5
    Windows XP SP3
    IE 7
    Acrobat Pro 9 has been completely uninstalled, the system rebooted, and the software reinstalled.
    Customer's profile has been rebuilt.
    The error message in the event log are:
    Event Type: Information
    Event Source: Application Popup
    Event Category: None
    Event ID: 26
    Date:  1/31/2011
    Time:  12:56:02 PM
    User:  N/A
    Computer: XXXXXXX
    Description:
    Application popup: Font Capture: Acrobat.exe - Application Error : The instruction at "0x037c33c9" referenced memory at "0x00000010". The memory could not be "read".
    or
    Event Type: Information
    Event Source: Application Popup
    Event Category: None
    Event ID: 26
    Date:  1/31/2011
    Time:  1:13:06 PM
    User:  N/A
    Computer: XXXXXXX
    Description:
    Application popup: Adobe Acrobat Pro: Acrobat.exe - Application Error : The instruction at "0x037c33c9" referenced memory at "0x00000010". The memory could not be "read".

    So the option was already checked when opened the document. I went ahead and unchecked, closed, reopened just to test and it's still not displaying correctly.
    In response to Bill@VT. The image is on top of a white background so I can't tell if there is space there or not, it's just all white.
    She showed me another document that's doing something similar today. This time the pdf was done with a green background and now the background shows as white. It was created the same way with Indesign and it shows fine in Reader and the Windows preview pane just not Acrobat. I'm trying to get the user to find the installation media so I can remove and reinstall, but I'm not sure if she will be able to find it.

  • How can I keep the links between pages in a PDF file after the file has been saved?

    My accounting department has just starting using Adobe Acrobat XI Standard to make our account reconciliations.  I like that we can create links between one page and the next, so that we can show our supervisor where the account balances tie to the supporting documentation.  But I have noticed the links disappear after my supervisor reviews and signs the PDF file.  Is there a way we can keep the links after it is signed?  Please note that we are not using EchoSign, just the “place signature” function in Acrobat.

    When a document is signed, the signer has the option of locking the document. The links won't be active if the document is locked, so to avoid this, instruct the signer not to lock when signing.

  • Creating a visible signature on multiple pages when digitally signing a PDF

    When I digitally sign a PDF file, is there a way to make the visible signature appear on every page of the PDF at once, instead of just the current page?  Specifically, I'd like to place a scan of a professional engineer's seal on every sheet of a PDF containing MEP drawings, in one step, as I digitally sign the file with Adobe Acrobat.  I've done some research and haven't found any relevant information for this particular question, so maybe it's not possible?  I'd like to know for sure, one way or the other.
    Thanks much.
    Robert

    The appearance of a signature is something of no importance at all, so just stamp the pages first, then sign withou an appearance.

Maybe you are looking for

  • Satellite L550: Game Civilization 3 run slow after upgrade to Win 7

    My laptop came with Vista pre-installed, and i ordered the "free" windows 7 upgrade. I play a game called civilization 3, wich i installed with Vista and it worked fine. Now i upgraded Vista to Windows 7 and the game still works fine, but the graphic

  • Trendline on Line Chart

    Could anyone tell me how can i mark a trendline on Line chart in WEBI. I don't find any way of marking a trendline on Line chart Thanks for any response

  • Exchange server 2010 backup fails

    My exchange server backup keep failing the exchange server 2010 two node dag netbackup 7.6 I have contacted Symantec support. They believed it's Exchange server problem as "Vssadin list writers" show Microsoft Exchange writer Retryable error Any help

  • Component monitoring 403 fornidden error

    Hi , In the runtime workbench when i try to send a test message from component monitoring with my user account i get a 403 forbidden error . But when i use other user credentials it goes through and other users doesn't have this problem. So i suspect

  • Delete button for some photos in the moments tab is disabled

    Several of my photos after the ios8 update are unable to be deleted. I select them but the trash button is disabled. If I open them individually the trash button is not there in the bottom right. Please help. very annoying.