[xmlsec] xml signing binary files

Miklos Vajna vmiklos at vmiklos.hu
Sun Apr 28 12:58:18 PDT 2019


Hi,

Did you try to remove all this:

        <Transforms>
          <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
        </Transforms>

from sign1-tmpl.xml and just set the URI of the Reference to your binary
file? That works for me for a random PNG input I tried.

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <http://www.aleksey.com/pipermail/xmlsec/attachments/20190428/ef810a8f/attachment.sig>


More information about the xmlsec mailing list