I am trying to verify receipt from Windows Store using Ruby. I'am using the xmldsig gem as follows: ``` certificate = OpenSSL::X509::Certificate.new(cert) signed_document = Xmldsig::SignedDocument.new(xml) signed_document.validate(certificate) ``` but it fails using the data taken from [MS example](http://code.msdn.microsoft.com/wpapps/In-app-purchase-receipt-c3e0bce4) (which is working in C#). I've also asked for help on [SO](http://stackoverflow.com/questions/20429964/verify-iap-receipt-from-windows-store-using-ruby), if you would like to contribute to the discussion there.