Earlier questions bubbled up https://pkg.go.dev/github.com/fullsailor/pkcs7?utm_source=godoc#SignedData (https://github.com/smallstep/pkcs7)
For the XML canonicalization, you may try https://pkg.go.dev/github.com/lafriks/go-xmldsig/v2#Canonicalizer Shivli Srivastava a következőt írta (2024. április 2., kedd, 15:43:54 UTC+2): > I have to replicate the Java code for signing xml in Go. The java code > uses org.bouncycastle.cms.CMSSignedData from BouncyCastle for signing and > org.apache.xml.serialize.XMLSerializer for Serializing the input xml . > > The signing process should be exactly same as the signature otherwise > would be different and I cannot afford that . Any help will be appreciated > > > Regards > Shivli > -- 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/b6334304-207a-4c5d-a770-9dc5beed4f12n%40googlegroups.com.