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

How do I calculate the shaHash for an xsd connection?

Avatar

Avatar
Level 1
bobgenghis
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
bobgenghis
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
bobgenghis
Level 1

06-07-2016

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>

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar
Level 1
Stephan_D_Costa
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
Stephan_D_Costa
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
View profile
Stephan_D_Costa
Level 1

21-05-2019

Did you ever find a solution for this?