I’m looking for some resources that allow me to understand how to use this library, particularly for signing XML. Most of what I found out there is Java related, and I would prefer to get documentation/FAQs/tutorials on the C++ library.
Share
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.
I had the same problem. The best information I could find was on the Apache website itself ( http://santuario.apache.org/c/programming.html ), the API docs and by looking at the code of the examples and tools (like templatesign) they provide.
This information combined with some experimenting was enough for me to sign and verify XML documents. Basically I just used templatesign and checksig as starting point.
The most problems I had was with C14N, so if there is something not working try dumping the raw data streams which Apache is using internally and check if it really signs/verifies what you expect.