Skip to Main Content
Hack Proofing Your Web Applications
book

Hack Proofing Your Web Applications

by Syngress
June 2001
Intermediate to advanced content levelIntermediate to advanced
512 pages
18h 49m
English
Syngress
Content preview from Hack Proofing Your Web Applications
Securing XML • Chapter 8 361
Figure 8.10 XML Document to Be Encrypted
<?xml version="1.0"?>
<customer>
<firstname>John</firstname>
<lastname>Doe</lastname>
<creditcard>
<number>4111111111111111</number>
<expmonth>12</expmonth>
<expyear>2000</expyear>
</creditcard>
</customer>
Now, let’s say we want to send this information to a partner, but we
want to encrypt the credit card information. Following the encryption
process laid out by the XML Encryption specification, the result is
shown in Figure 8.11.
Figure 8.11 XML Document After Encryption
<?xml version="1.0"?>
<customer>
<firstname>John</firstname>
<lastname>Doe</lastname>
<creditcard>
<xenc:EncryptedData
xmlns:xenc='http://www.w3.org/2000/11/temp-xmlenc' ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Developer's Guide to Web Application Security

Developer's Guide to Web Application Security

Michael Cross
The CERT® Oracle® Secure Coding Standard for Java™

The CERT® Oracle® Secure Coding Standard for Java™

Fred Long, Dhruv Mohindra, Robert C. Seacord, Dean F. Sutherland, David Svoboda
Troubleshooting CentOS

Troubleshooting CentOS

Jonathan Hobson

Publisher Resources

ISBN: 9781928994312