Re: [go-nuts] how to verify a signed xml

2016-11-09 Thread andrey mirtchovski
XML signing is such a mess that the only way to support it fully, in my opinion, is to use the "definitive" canonical implementation from the non-go world: libxml and xmlsec. i have had good success with https://github.com/treetopllc/xml I've only added one function to it that serves my purpose, c

[go-nuts] how to verify a signed xml

2016-11-09 Thread qq5459489
i know there is pem base64 x509 rsa in go library ,but how to use them to verify a signed xml like this var xmlstr = Bytes("http://schemas.microsoft.com/windows/2012/store/receipt\";>http://www.w3.org/2000/09/xmldsig#\";>http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"; />http://www.w3.org/2001