Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

Sign XML data

Jan_Babicky
Level 3
Level 3

Hello,

I will need to design process that as output will have a XML package with data (some text and also base64 contents) and I need to digitaly sign this XML package. Is that possible with the LiveCycle and if so, what is the procedure?

I did some research on the digital signatures components and none of them has this feature. I have learned that Java has some classes that do handle this, however I do not have a clue if this is applicable in LC.

Thanks for any thoughts,

Jan

4 Replies
SForrest96
Level 9
Level 9

Jan

It is possible to sign the xml data using XML DigSig.  You need to add a submit button to your form, as part of the submit button properties you will see a check box labeled "Sign Submission"  If you enable this option the users will be prompted to sign the XML that is bing submitted from the form.

You can choose to sign the XML data only, or the entire XDP package (which could include the PDF in base 64 encoded format).  You get to these options from the "Settings..." button located beside the Sign Submission property.

Regards

Steve

Jan_Babicky
Level 3
Level 3

Hi Steeve,

I would like to do it in a short-lived process (without user interaction), is that possible? I can imagine that I can use the render servise to render PDF form and sign that data that I input there, but it would transform the resulting XML package as It can variate a lot. The shema is pretty big with bunch ov elements.

The process works that I get that XML as input to LC and than I need to sign it and send it over WSDL to different process outside of LC.

Jan

SForrest96
Level 9
Level 9

Jan

At this point there is no way that I am aware of to sign xml automatically using LiveCycle.  LiveCycle Digital Signatures ES2 can be used to automate the signing of PDF documents themselves, using (PDF) digital signatures, but not XML DigSig.

LiveCycle Digital Signatures ES2 can also be used to automate the validation of both PDF and XML digital signatures.

Regards

Steve

Scott_Brodersen
Level 8
Level 8

If you know how to use the Java classes, then you can probably use them in the Execute Script service. This service enables you to execute Java code in a process, and provides access to process data so that you can manipulate it.

http://livedocs.adobe.com/livecycle/8.2/wb_help/000581.html

You could also create a custom component that uses the :

http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/help/000934.html

scott