Example application for signing, and encrypting / decrypting XML documents. You can download application from here.