Does LiveCycle Digital Signatures support unicode pkcs #12 file?

I used Adobe Acrobat and OpenSSL to generated a unicode pkcs#12 file. Import to the Windows are all correct. But when I used for LiveCycle Digital Signatures, after signed, the one use Acrobat generated pkcs12 file signed only can show ASCII character,and other one used OpenSSL pkcs12 file to signed,signature character changed to  irrecognizable.

These are two unicode pkcs #12 files. one created by openssl, another one created by Acrobat.
I used this code to sign to the PDF file.
        try    {
            // This example will upload an XDP file to the LiveCycle Repository
            ServiceClientFactory myFactory = ServiceClientFactory.createInstance(LCCommonUtil.getConnectionProps());
            // Create a SignatureServiceClient object
            SignatureServiceClient signClient = new SignatureServiceClient(myFactory);
            // Specify a PDF document to sign
            FileInputStream fileInputStream = new FileInputStream(
                    "C:\\Applications\\pdfForms\\TestDigitalSign\\ConferenceReg_flatten_sf_added.pdf");
            Document credDoc = new Document(fileInputStream);
            // Specify the name of the signature field
            String fieldName = "SignatureField1";
            // Create a Credential object
            Credential myCred = Credential.getInstance("BLC_CHINA"); // LC Server: Local Credentials
             System.out.println("******"+myCred.getSpiName());
            // Specify the reason to sign the document
            String reason = "The document was reviewed";
            // Specify the location of the signer
            String location = "New York HQ";
            // Specify contact information
            String contactInfo = "Tony Blue";
            // Create a PDFSignatureAppearanceOptions object and show date information
            PDFSignatureAppearanceOptionSpec appear = new PDFSignatureAppearanceOptionSpec();
            appear.setShowDate(true);
            appear.setShowReason(true);
            // Set revocation checking to false
            java.lang.Boolean revCheck = new Boolean(false);
            // Create objects to pass to the sign method
            OCSPOptionSpec ocspSpec = new OCSPOptionSpec();
            CRLOptionSpec crlSpec = new CRLOptionSpec();
            TSPOptionSpec tspSpec = new TSPOptionSpec();
            // Sign the PDF document
            Document signedDoc = signClient.sign(
                credDoc,
                fieldName,
                myCred,
                HashAlgorithm.SHA1,
                reason,
                location,
                contactInfo,
                appear,
                revCheck,
                ocspSpec,
                crlSpec,
                tspSpec);
            // Save the signed PDF document
            File outFile = new File("C:\\ConferenceReg_flatten_signed.pdf");
            signedDoc.copyToFile(outFile);
        catch (Exception ee) {
            ee.printStackTrace();

Similar Messages

  • How to add the new Signature Filter to LiveCycle Digital Signatures?

    I have been wrote my own plugin for Adobe Reader.
    This plugin creates signatures by cryptoalgorithm "GOST R 34.10-2001" instead of RSA used in Reader and Livecycle.
    As a result, I can't validate signatures created by my plugin in the LiveCycle Digital Signatures. In the log file of JBoss are written next:
    "Unsupported signature filter detected: GostSignaturePlugin".
    My question is how to install a support of my signature filter in to the LiveCycle Digital Signatures?
    Is it possible to install my existing plugin for adobe reader into LiveSycle, or I must to write new plugin for LiveSycle?

    Hello Jose,
    Try making an entry in tables SMOFFILTAB and SMOFFILFLD.
    This might help!
    Best Regards,
    Shanthala Kudva.

  • Does SAP Business One support unicode  especially Chinese language

    Hi Experts
    please let me know the options
    Does SAP Business One support unicode  especially Chinese language
    Thanks & Regards
    Krish

    Hi Krish,
    You can check on SBO portal,
    Thanks
    Sachin

  • Does Adobe Digital Editions support media queries?

    Does Adobe Digital Editions support EPUBs with media queries?

    Thanks Jim,
    Is it possible to use more than one CSS by using conditional query in XHTML like this:
      <link href="a.css" media="all and (min-width: 768px) and (max-width: 1024px)" rel="stylesheet" type="text/css" />
      <link href="b.css" media="all and (min-width:1025px)" rel="stylesheet" type="text/css" />
    ADE will recognize the "media" parameters?

  • Does photoshop elements 13 support nikon d610 raw files?

    Does Photoshop elements 13 support Nikon d610 raw files?

    Hi lhanswer,
    Yes, Nikon D610 is supported in PSE 13
    Camera Raw plug-in | Supported cameras
    http://kb2.adobe.com/cps/408/kb408941.html
    Regards,
    Sandeep

  • How to add digital Signature Field in cfdocument pdf files?

    Hi,
    We are generating pdf files using cfdocument to populate values and wondering how we can add digital signature field in those pdf files. Any help or comments would be deeply appreciated.
    Thanks,
    hismail786

    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

  • How does the LiveCycle Digital Signatures work?

    Hi,
    I´m new working with liveCycle, and I would like to know how it works at technical level.
    I have read documentation but I can not understand the procedure to generate the digital signature
    I appreciate someone explain a bit about it or send a link to a page with detailed information.
    Thank´s!

    Your question is pretty broad...
    What are you trying to achieve with your workflow?  For example, do you want to...
    Generate Digital Certificates (self-signed or otherwise)
    Have end users digitally sign PDF document or forms (with Acrobat Pro or Reader)
    Have the PDF document or forms digitally signed on the server side
    Validate the digital signature on the client
    Validate the digital signature on the server side
    I have attached a document that should help as well.
    Regards
    Steve

  • XML Digital Signature and sun PKCS#11

    Hi,
    I am trying to use xmldsig/xmlsec from Java Web Services Developer's Pack to do signing of XML documents. My goal is to use the keys from the card via sunpkcs11 to perform this signature.
    At this stage, i'm able to get the correct key from the card via sun pkcs 11 (J2SE 5) and able to sign some data with it.
    However, when i try to sign a xml document via xmldsig, i get the error which i believe to occur while trying to read the private key from the card as a string, which results in a "not a byte[]" exception.
    At this stage, are there any ways to configure the xmldsig/xmlsec to use the pkcs11 provider?
    I understand that the current implementation of XML Digital signature is using apache XML libraries. Is the source code for the wsdp downloadable from SUN?
    If not, will it be possible to make use of the open-source apache XML jars, set it up for pkcs11 and use it instead?
    Finally, has anyone done what I'm trying to do? Will be glad to know
    Thank u in advance,
    Louis

    Hello
    Did you resolve yout problem, because i have the same when i try to sign message
    String testData = "Hello World";
    p11KeyStore = KeyStore.getInstance("PKCS11");
    p11KeyStore.load(null, new char[] {'1', '2', '3', '4'});
    sig = Signature.getInstance("SHA1withRSA");
    sig.initSign( (PrivateKey) p11KeyStore.getKey(myAlias, null));
    sig.update(testData.getBytes());
    signatureBytes = sig.sign()
    This code fails and i get java.lang.RuntimeException: Not a byte[]
         at sun.security.pkcs11.wrapper.CK_ATTRIBUTE.getBigInteger(CK_ATTRIBUTE.java:168)
         at sun.security.pkcs11.P11Key$P11RSAPrivateKey.fetchValues(P11Key.java:419)

  • Does Photoshop elements 13 support Nikon D750 raw files

    I have PhotoshopElements 11, which I am gradually getting to grips with. Recently I purchased the Nikon D750and found to my dismay that PhotoshopElemants 11 does not suppost the NEF files and in order to process my images had to convert these  files to dng. format using the 8.7 dng converter. Somewhat vexing since this is a departure from my usual processing method. (with my Nikon D7100 I could open the Raw Files in the ARC contained within PSE 11. I don't know whether there is an update for PSE11 which I need to down load (can't find one ) which will enable me to return to my hitherto practice or I need to purchase PSE13. Clearly I need to establish whether PSE13 supports Nikon D750 Raw Files.
    Please help!!!!!

    Why not get PSE13 now from this link and test it for free for 30 days. Validate with your 24 digit serial number when you buy from your favourite retailer. No uninstalling or re-installing is required - click here for PSE downloads

  • Why does a digital signature with a CA certificate not validate in adobe reader

    My client has adobe reader and can not validate a digitally signed document which has a CA certificate which normally appears in the adobe root store.  it comes up that one of the signatures have problems when he signs.  when i email him a document that i sign it validates the signature.  his signature validates on my side.

    Did you find any solution for this problem?
    i'm trying to implement something similar but i don't know how.
    thanks in advance!

  • Does LiveCycle Designer ES2 support developer plugins?

    Do the Designer products themselves support writing custom plugins through some SDK or API? Similar in nature to writing a custom plugin for Photoshop, allowing a custom user interface that can fully interact with the current document? I see a lot of information on the Internet about the ability the ability to do plugins and other custom functions for LiveCycle but not LiveCycle designer.
    Any information on this would be appreciated.

    Hi,
    Not sure if I got you post right, but I suspect that there are several plugins available for the enterprise suite of LiveCycle (for example www.avoka.com). However I am not aware of specific plugins for Designer that affect the UI for the users.
    John Brinkman has a blog on the new ability for developers to set up macros for Designer. However this is a new feature and not fully supported. In addition you would need LC Designer ES2 (v 9). See http://blogs.adobe.com/formfeed/2010/01/designer_es2_macros.html
    Windjack Solutions www.windjack.com have several plugins for Acrobat. Some of these can be used to create custom buttons and dialogs. These are developed in Acrobat, but the javascript can then be used directly in LC Designer. These give your users a custom look and feel. AcroDialogs is a particular favourite.
    Good luck,
    Niall

  • Does JDBC/ODBC bridge support Unicode ?

    I'm importing data from an Access database and Unicoded characters dont shop up correctly, but as '?'.
    I assume that this is due to the ODBC driver, but just to rule other options out: Can the JDBC/ODBC bridge cause this ??

    http://forum.java.sun.com/thread.jsp?forum=48&thread=88681

  • Does measuremen​t studio support unicode in a visual C++ applicatio​n

    When I define _UNICODE in the preprocessor, the linker complains about default libs conflict with other libs.

    No, the Measurement Studio libraries are not currently provided in a unicode version.
    Best Regards,
    Chris Matthews
    National Instruments

  • Digital Signature & Encryption of an output file

    Hi to all,
    I have the following requirement:
    I need to digitally sign and encrypt a file generated by SAP. The receiver needs that the digital sign has been made with SHA1withRSA algorithms and the envelope with PKCS#7.
    I read many articles about it, but still have a lot of doubts on what really I'm needing to perform the requirement. I already read all the threads in SDN.
    My client gave me a .cer file.
    I try to run the program SSF01, but i don't know how i have to use it.
    My questions are:
    1.- Do any have an example of the utilization of function's modules (function group SSFG)?
    2.- How do i have to use the .cer file? Do I have to run transaction STRUST?
    3.- Who must give me the public and private key?
    Many thanks to all, any help or comment will be apreciated.
    Regards,
    Andrew83.
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on Nov 16, 2010 10:29 AM

    Taking up the requirement again (I had to resolved some production issues), I return to perform the test programs to get encrypted and digitally signed.
    I'll comment you the news, so finally I'll can give thanks to whom corresponds. I would be glad, if i could mark this thread as "Answered" at the end.
    Regards,
    News:
    OK, now I'm stuck. I'll give you a list of all the things (files, keys, certificates...) I have, and what I need to do.
    Version of SAP 4.7 with SAP_BASIS and SAP_ABA Release 620.
    Requirement:
    1.- Sign an output file for payments with SHA1withRSA.
    2.- Envelope with PKCS#7.
    3.- This must be done in background mode, so the user doesn't interact with the signing. So I need to perform this in the application server. The problematic of including this on an exit, it's not a big deal, so i only wanted to create some test programs in the first place. 
    The customer gave to me in order to perform this, the followings files:
    1.- File "AAAA.cer" from the receiver, in order to envelope the output file. This I think is the public key of the receiver.
    2.- Files "BBBB.crt", "BBBB.key" and "CCCC.pem" from the customer,
    in order to sign the output file. This seems to be the private key of the customer.
    Now, the questions I have are:
    1.- Is there anything missing to perform the encrypt and the file signing?
    2.- Do I have to use STRUST,  and How? I have already used it, but i think that in the wrong way. Do I have to create 2 PSE files, one for the signing and another for the encrypting?
    3.- I read the help.sap, and found in some cases that the SAPSECULIB only works for signing, and not for encrypting. To Encrypt, do I need to install SAP Cryptographic Library?
    4.- I cannot run report SSF01 succesfully.
    5.- Do I Have to create a SSF Profile?
    I'll really appreciate your help. I have been working with abap, since 2005, but this is driving me crazy.
    Merry christmas for everyone who read my threads!
    Regards,
    Andrew83.
    Edited by: Andrew83 on Dec 21, 2010 10:12 PM
    Edited by: Andrew83 on Dec 21, 2010 10:21 PM

  • Does iOS 7 not support playback of .amr files anymore?

    I used to be able to playback .amr files a friend would text me with iOS 6. Is this file extention not supported for playback with the new operating system?

    I actually found a link to download the missing components that you listed. i installed the package and it now shows under hard drive / library / quicktime but the HD files will still not play in Quicktime.
    could this be because i do not have FCP?
    I do not need to edit with the clips - merely to be able to playback to review.
    thanks sara

Maybe you are looking for