xml encryption and signing
Posted on 2003-02-27
I need to do a encryption and signing of a xml payload, using x509 certificates. This xml payload would contain only the user's DN or userID which would be retrieved from a http response header, and the time to live and timestamp. Everything should happen in the client side.
could anyone please help me out in how to create the xml payload document, and how to get the certificate from the user's certificate store to sign and encrypt the document.
A little bit of code snippet would be really helpful, and the procedure that needs to be followed to create the DTD and link the DTD to the xml document.
expecting a quick reply from you experts.