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

Similar Messages

  • Safenet ikey 2032 token driver installation on MACs OS

    Hello Experts,
    i just wan to ask if there's any possibilities if i want to install safenet ikey 2032 on macs OS??? If yes, is there any links, forums, documents you could provide me as a reference on this matter? plz advise. Thanx in advance...

    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 automate digital signing PDF Files in batch

    I am trying to find a way to automate as much as possible the placing of a digital signature on a set of PDF documents.  We have Adobe Acrobat Pro 8.1 and the machine has MS Office 2003 with Vista Business.  Here's a scenario:  A set of documents exist in a TO-BE-SIGNED folder, each unsigned.  The user uses MS Access 2003 form with a button with VBA code to open and show the first document in the folder.  The AcroExch.App, AcroExch.AVDoc, and AcroApp.Show APIs are used to do this.  I found code on the internet to do that.  Rather than having my client now have to go through all the manual steps to place a digital signature on the document, I want to streamline it to a single click if possible.  Right now he has to click Advanced > Sign and Certify > Place Signature > then click and drag > then enter his password > then click sign > then save and close the doc.  Can all this be automated?  An added bonus would be automatically saving or moving the signed doc to a different folder when it is signed.
    I have created a stamp that allows me to add a stamp with just two clicks.  Can such be done to add a digital signature?  Is it possible to add a button to the toolbar to do this?  Can it be done in Access VBA using some Acrobat API calls?  Another feature I want to include is moving quickly from one document to the next in the TO-BE-SIGNED folder.  Like the arrow buttons take you from page to page, can a button be added to the Acrobat toolbar to take you from doc to doc in a particular folder?  Or can that be done using VBA and some Acrobat API calls?  To maintain the security of the password protection and yet cut down on clicks and keystrokes, I would like to input the password just once at the beginning of the session and have it remembered or applied to all the docs that get signed as long as that session is open.
    I've found some software that purports to do much of the above, but they are all very expensive and assume a big business with big bucks.  If anyone knows of inexpensive software that will REALLY do this, I'm open to that as well, though I'd like to control the process myself if possible.  I consider myself a beginner with Acrobat and using API calls and would appreciate any help anyone can give.  Is the above clear and even possible?
    PS:  I'm new to this site and using SDK.  I posted this under Security (thinking digital signatures) and was asked to post it here, which I'm glad to do.
    Thanks much!

    Our workflow is such that on infrequent occasions, we have a digitally signed PDF file and the doctor wants to append a scanned note to it.  In the past, we could do this, but not now.  In the past, when we added the scanned doc, we received a message saying that the doc is already signed and asking if we want to overrwrite the doc.  If we respond Yes, then Acrobat would allow it and the signature would indicate that the original part of the document was not modified, but that something had been changed--namely, a doc had been appended.  The signature indicated that something had changed since it was added, but it still allowed the append.  The signature would have an exclamation point in a yellow triangle indicating the doc had been updated since signed.  For our purposes, that was okay because we know what the change is based on the original doc and we know what is appended.  Now, however, we cannot append at all.  The only thing that is different that I know of is that the doc was signed with software that is not Adobe Acrobat, even though the other software uses an Adobe Acrobat self-created digital signature.
        I hope I've explained that clearly enough.
    Thanks for your help.

  • 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).

  • Where should the Green Tick get displayed in digitally signed pdf files in whom the Signature has been validated ?

    I have Windows 7 & Adobe 11 installed on my P.C (Apart from other Software) . Recently I downloaded Digitally Signed .pdf files & validated the Signature with Trust Certificates . However , the Green Tick Mark is coming on the left-hand side of a blue panel situated in-between the menu bar & the document . Shouldn't it be coming at the bottom right side of the document (Just above the name of the signatory) ? Is there anyway I can get the green tick to display at the bottom right side of the document or is this just the way the green tick gets displayed in current versions of adobe reader ?
    This is the way it gets displayed on the top - left portion of the screen :
    However , it does not get displayed in the below manner :

    First of all, you need an app on the iPad that can read those files that you want to transfer. Adobe Reader and iBooks are two free apps that will read PDF files. Adobe Reader is much more robust than iBooks as it offers so many more features like renaming files, creating folders, annotating, highlights, etc.
    Download Adobe Reader in the App Store. Then read this about file sharing with iTunes.
    iOS: About File Sharing - Support - Apple
    There are other ways to get files to the iPad, like email, DropBox and some other apps that let you mount your iPad like a flash drive.
    This should be helpful as well.
    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad

  • How to append to a signed PDF file

    We have Adobe Acrobat 8.1 Professional on PCs running Vista.
    In the past, we could append a scanned document to a PDF document that has already been signed using a self-created Adobe digital signature.  Now we have docs with a digital signature from a Certificate Authority.  I can no longer append a scanned doc to the signed PDF file.  Is there a way to do this?  Previously, we selected Create PDF > From Scanner > selected Append > and clicked Scan.  The scanned paper file would be added to the existing signed PDF document.  Now, however, we get the message "File can't be appended" when we select Append and navigate to the file signed with a digital signature from a Certificate Authority.  One more factor, the documents we get are now signed with PDF signing software other than Adobe Acrobat.  I tried scanning the doc to a file and then combining and Adobe Acrobat would not allow that either because of the digital signature.  Does anyone know how to do the append procedure now?
    Thanks!

    Click on the "arrow out of box" icon on the menu when you're viewing your PDF document (2nd button from right). then click "E-mail document".

  • Signing PDF files with a stylus, on an i-Pad

    I'm trying to find a way (one that's easy enough for my end users) to get a PDF file into an i-Pad, (a form or application for example) take it to a client, have them sign it on the i-Pad with a stylus, and then be able to print it out back at the office or email it from the i-pad (WITH THE SIGNATURE VISIBLE). Can this be done? How? Which apps are needed??
    Any and all help or suggestions is greatly appreciated!

    First, I have also tried Goodreader. I only paid $.99 for it, but was not satisfied, mainly because it was rather hard to use and certainly extremely ugly and un-iPad-like. After looking around for a while, I settled on PDF Expert by Readdle (currently $9.99) and am very satisfied with my purchase. It can store any type of file in a very easy-to-use file system, opens images, movies, and text files, and has a great two-way Dropbox sync. Also, if you enable the built-in file sharing on your Mac, you can view and download every file in your Mac's home folder. The main point of it, however, is as a PDF Reader. Annotation, text boxes, signatures, and even are perfectly done and feel natural.
    And no, I don't have any affiliation with Readdle either. I just love their app.
    For what you're trying to do, it's quite simple (this is if, as I'm thinking, you have an iPad with a stylus (I would recommend the Pogo Sketch if you don't have one) and you will give it to clients for them to sign). Either use iTunes File Sharing, Dropbox, or email to get the files into PDF Expert. Then open the file and tap the signature icon in the toolbar (in-between the pencil icon and the 'A' icon). It opens up a whole new pane for your client to sign in- they can even select how thick and what color they want the signature in. Tap Save. Then, in the space where you want the signature to appear, tap and hold until a selection menu appears. Tap 'Signature' and it appears, ready for you to drag into the exact place you want it.
    Then, just tap the export icon and 'email', and send it away. Practically any good PDF reader will be able to see the signature. (including Adobe Reader and Apple Preview)
    Hope that helps! It's completely worth the $9.99.
    Liam

  • How to Sign the Electronic Signautes on the Signed PDF File?

    I have an emergent problem, the meeting will use the file with the digital signature, but this file did the signature before, I found I couldn't use the signed function, could anyone help me deal with it? I use the Adobe Acrobat X Pro

    Are you trying to sign with EchoSign a PDF previously signed with a Digital Signature? AFAIK EchoSign currently cannot sign PDFs previously signed with digital (certificate-based) signatures. This may change in the future.

  • 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);
        }

  • Is there a way we can use Acrobat Standard to assign a password for opening of signed PDF file once it has been downloaded from DocuSign?

    Prior to implementing DocuSign, we used to scan manually signed document to a PDF file and then store the PDF file in a HR file share.  We would then use Adobe Writer Standard to assign a read/write password to the PDF file.  We now use DocuSign to have documents electronically signed and download the DocuSign PDF in our HR folders.  However Adobe Acrobat Writer does not allow us to assign a password.  It pops up a dialog box saying ""you cannot change security on this document because the document is signed or certified".  We want to continue being able to store the PDF in our HR file share with passwords to restrict who can view off the share.  Is there a way we can assign a password to the PDF file once it has been downloaded from DocuSign?

    Thanks Bernd.  We can't assign passwords before signature process starts as people will not be able to open the PDF without knowing the password.  I think we will change our process and simply leave the electronically signed PDF in DocuSign and then "print" the PDF to our local file share for internal HR purposes.  thanks again.

  • How to sign PDF files using Adobe Reader or Acrobat 11

    This tutorial, explores the various things to consider when using different signing techniques in Acrobat XI or Adobe Reader XI. How to use an image like your scanned signature when you sign a document will also be covered.

    Open the PDF file with File > Open... in Adobe Reader and print it with File > Print

  • Digitaly Signing PDF file not working

    I am on SAP R/3 4.7.
    I am using the class IF_DS_SIGN to sign a PDF document.
    I am new to using this class.
    I sign the document using the sign method and read the signed document back using method GET_STEPS_WITH_DOC .
    When I write the document out again it is not signed.
    Could you advise on correct usage of this class to sign PDf documents?
    Thanks
    Chris

    I have used this note to use this class but when I get the document back using from the parameter EX_SIGN_STEP-EX_DOC_BIN from the method GET_STEPS_WITH_DOC it is still the same as the one I passed in.
    If i get the signature back from the parameter EX_SIGN_STEP-SIGN_SIGNED_DOC from the method GET_STEPS_WITH_DOC and append it to the document then the document size increases.
    If I read the with Adobe it is not showing as digitally signed.
    Chris

  • Signing PDF files with my signature?

    How do I sign a PDF document with my actual signature?

    Hi,
    You can add signatures in your pdf by following the steps below:
    1) Open the pdf.
    2) Tap on the pdf to bring the top bar.
    3) Tap on 4th icon i.e.e comments icon from left.
    4) Tap on the right most "ink pen" like icon
    5) Tap in pdf where you want to place your signature
    6) Sign in the box that comes up.
    7) Tap Save
    You will see your signature gets added inside your pdf. Let me know if that helps.
    -mayank

  • Filling in and signing pdf files

    Making an uncontested will.

    Two things:
    1) In the signature properties you specify which fields you wish to lock with each signature.
    2) The signature will appear as invalid unless it's certified, when you certify you can specify what changes like form field entry is allowed to remain a valid document

  • 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

Maybe you are looking for

  • Can dreamweaver (CS3) play the middleware between flash AIR as 3.0 and MSSQL

    I have developed a Flash AIR AS3 form, 7 input text fields, one submit button. I know that Flash can't communicate with a server unless a PHP script is in the middle. Sadly, I am on microsoft sql server 2008 not mySQL. Does anybody out there, know of

  • Filters unresponsive in PS CS4 (mac / snow leopard )

    After making sure layer needing adjustment is highlighted i do the following: ' FILTER' >NOISE>REDUCE NOISE> MOVE sliders with preview selected TO 'REDUCE COLOR NOISE' or 'PRESERVE SHARPNESS' and I get NOTHING...NO APPARENT CHANGE. What am I doing wr

  • Is it possible to set screen saver preferences?

    Friends, My screensaver has what I hope is a fixable quirk.  I have directed it to use pictures from my Aperture library for the screensaver, and it displays a slidewhow with the Ken Burns affect.  For some of the images the screen saver zooms into t

  • Get message "Driver is enabled, but has not been start

    I have a Soundblaster Audigy, which has been OK for quite some time. My PC runs XP. Recently it has stopped working. Now I get a message in the properties box of the driver saying "Driver is enabled, but has not been started". I have tried everthing

  • Lion asking for password when I drag an item to trash after and update

    I have a Macbook Pro, I upgraded to Lion 3 weeks ago.  Yesterday it had an update that took about 1.5 hours.  Now, when I drag something in the trash, it asks for my computer password.  I don't want to give that to the other person sharing this compu