XML Digital Signature on server side using spring-ws

DavidH

New Member
Could anyone show we how to use xml dsig on server side using spring-ws. Here is how should it work:1) Clients sends unsigned message to the server, i.e. \[code\]<orderRequest xmlns=\"http://webservice.com/ws/movieService\"><movieName>hereIsMovieName</movieName><date>hereIsWhenMovieIsPlayed</date></orderRequest>";\[/code\]2) Server signs received message using his private key and sends back soap response with digital signature and message hash3) Client decrypts message using public and checks if message is from the trusted server. Then client compares message hash attached to the response and his own hash computed from delivered message.I have no idea how to do that...
 
Back
Top