How to sign an XML document in a specific Tag with DocuSign SAPI Local

189 Views Asked by At

The repository I'm using: Sign-XML. In the moment I can only sign a XML document in the most external Tag. I need to know how to sign a XML file in a specific Tag. You can see an example bellow:

<Tag1>
   <Tag2>
      <Signature>...</Signature>
   </Tag2>
</Tag1>
1

There are 1 best solutions below

0
Nika Sh On

As you cannot create an empty signature field in XML you need to use the SAPISignatureFieldCreateSign function for creating and signing the XML file.

I'm not sure you can sign inside a specific tag,SAPI Local supports attaching a digital signature to XML.