Appendix C. Attaching and securing binary data in SOAP
In chapters 6 and 7, you saw how to encrypt and sign a message or parts of a message. The techniques you learned there allow you to encrypt and sign any data that is part of the SOAP message. As you recall from chapter 2, XML does not allow binary data. What if you want to send binary data with SOAP? And how do you encrypt and sign such data? We will answer these questions in this appendix.
XML does not allow arbitrary bytes (more precisely, octets, as the size of a byte isn’t guaranteed to be 8 bits on some rarely encountered platforms) to be included in element content. Only characters defined by the Unicode character set (excluding a few) are allowed using a character encoding scheme ...
Get SOA Security now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.