My ques is -- Is it possible to digitally sign a hash value of a file directly instead of file.
I have to digitally sign a xml file in web environment through e-token. So I have to download the file from server to client and then get certificate from e-token usb at client machine and sign the file and upload it on server.
But the problem is, if size of the file is too huge, then it will take too much time to download at client side (depend upon internet speed) and some leakage in the security of the file too.
So instead of sending file to client machine, send only file hash value (internally hash value of files are signed not files as general flow of digitally signature process).
Or is there any other alternatives solution ?