Hi Karlovsly
Thanks for the prompt reply . Let me try it out and get back to you.
Kind regards,
Shivli
On Thursday, February 15, 2024 at 2:26:43 PM UTC+5:30 Karlovsky Alexey
wrote:
> It's a strange task, because for xml there is a XMLDSIG standard for
> signing XML documents. I recommend tryi
It's a strange task, because for xml there is a XMLDSIG standard for
signing XML documents. I recommend trying
https://github.com/russellhaering/goxmldsig for this.
If XMLDSig is not suitable and you definitely want to create a digital
signature of an xml - you should think about xml normalization
I have the task of generating the digital signature of an xml, enveloping
it in a PKCS7 packet and attaching it to the xml . I decided to
use https://pkg.go.dev/go.mozilla.org/pkcs7 , and was able to generate the
sign but it is not matching with the expected output . It seems to me that
xml has