Sample code for 30+ languages & platforms
Lua

XML Digital Signatures Examples for Lua