XML Encryption
XML Encryption, also known as XML-Enc, is a specification, governed by a W3C recommendation, that defines how to encrypt the contents of an XML element.
Although XML Encryption can be used to encrypt any kind of data, it is nonetheless known as "XML Encryption" because an XML element (either an EncryptedData
or EncryptedKey
element) contains or refers to the cipher text, keying information, and algorithms.
Both XML Signature and XML Encryption use the KeyInfo
element, which appears as the child of a SignedInfo
, EncryptedData
, or EncryptedKey
element and provides information to a recipient about what keying material to use in validating a signature or decrypting encrypted data.
The KeyInfo
element is optional: it can be attached in the message, or be delivered through a secure channel.
XML Encryption is different from and unrelated to Transport Layer Security, which is used to send encrypted messages (including xml content, both encrypted and otherwise) over the internet.
It has been reported that this specification has severe security concerns.[1][2]
References
- ↑ "How To Break XML Encryption". Association for Computing Machinery. 19 October 2011. https://www.nds.rub.de/media/nds/veroeffentlichungen/2011/10/22/HowToBreakXMLenc.pdf.
- ↑ "RUB Researchers break W3C standard". Ruhr University Bochum. 19 October 2011. http://aktuell.ruhr-uni-bochum.de/pm2011/pm00330.html.en.
External links
- W3C info
- Apache Santuario - Apache XML Security Implementation for Java and C++
- XMLSec - XML Security Library for C
- An Introduction to XML Signature and XML Encryption with XMLSec
Original source: https://en.wikipedia.org/wiki/XML Encryption.
Read more |