Exploring XML Encryption, Part 1

Demonstrating the secure exchange of structured data

Return to article.

Listing 2. Encrypting the entire file
<?xml version='1.0' ?> 
<EncryptedData xmlns='http://www.w3.org/2001/04/xmlenc#'
		Type='http://www.isi.edu/in-notes/iana/assignments/media-types/text/xml'>
	<CipherData>
		<CipherValue>A23B45C56</CipherValue>
	</CipherData>
</EncryptedData>

Return to article.