Why do you want to ask 7 series of questions to ur user? ....
Digital signature is an electronic signature that applied over an eletronic content to prove that the content is not changed since it is signed.
Actually...W3C website has got lot of interesting link on this
http://www.w3.org/Signature/ , check the source/code/toolkits section. To know what exactly in about xml digital signature , try to run the examples that come with apache xml security package or
check this examples