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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

How do I calculate the shaHash for an xsd connection?

Avatar

Not applicable

How do I calculate the shaHash for an xsd connection to match the one saved in livecycle designer es4?

This shaHash looks like a base64 sha1 hash, but it does not match the file's sha1 hash (calculated with tools on the web or in c#), nor does it match the hash of the document's root

It looks like either a salt is used, or the xml is changed by livecycle before the hash is calculated.

<connectionSet xmlns="http://www.xfa.org/schema/xfa-connection-set/2.8/">

   <xsdConnection name="DataConnection" dataDescription="Document">

      <uri>..\Correspondence.xsd</uri>

      <rootElement>Document</rootElement>

      <?templateDesigner fileDigest shaHash="dMPda1HmsbZtjFmzcTl7XaWa4tE="?></xsdConnection>

</connectionSet>

1 Reply

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now