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 to be canonicalized before signing . Do we have any reference how to do it in golang ?
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/eeeb47db-8bca-4883-8cf5-342c55e4f836n%40googlegroups.com.