I am looking for way, how to sign XML document I have currently in Assets. I need to sign it, and then, when I download it over HTTP, I need to verify its signature. Is there some simple way how to do this?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no simple way for XML signing on Android. The usual code for XML signing that works on regular Java does not work on Android because of differences in padding initialization.
After weeks of trying and testing I have managed to do manual XML signing on android.
See the answer on this question XML SOAP Signing on Android