XML Encryption

Short description: W3C specification for XML element encryption

XML Encryption (XML-Enc) is a specification governed by a World Wide Web Consortium (W3C) recommendation, that defines how to encrypt the contents of an XML element.

## Contents

* 1 Specification
* 2 References
* 2.1 Citations
* 2.2 Sources
* 3 External links

## Specification

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.[1]

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 (TLS), which is used to send encrypted messages (including XML content, both encrypted and otherwise) over the internet.

(Jager Somorovsky) reported that this specification has severe security concerns. In response to this,[2] the specification of XML Encryption 1.1 published in 2013 included a Galois/Counter Mode block cypher algorithm.[3][clarification needed]

## References

### Citations

1. ↑ XMLENC 1.0, section 2.
2. ↑ Jager, Paterson & Somorovsky (2013).
3. ↑ Kupser et al. (2015).

### Sources

* Imamura, T.; Dillaway, B.; Simon, E. (10 December 2002). "XML Encryption Syntax and Processing". W3C. https://www.w3.org/TR/2002/REC-xmlenc-core-20021210.
* Imamura, T.; Dillaway, B.; Simon, E.; Yiu, K.; Nyström, M. (11 April 2013). "XML Encryption Syntax and Processing Version 1.1". W3C. https://www.w3.org/TR/2013/REC-xmlenc-core1-20130411.
* Jager, T.; Somorovsky, J. (19 October 2011). "How to break XML encryption". Proceedings of the 18th ACM conference on Computer and communications security. New York: Association for Computing Machinery. pp. 413–422. doi:10.1145/2046707.2046756. ISBN 978-1-4503-0948-6.
* Hirsch, F., ed (11 April 2013). "Functional Explanation of Changes in XML Encryption 1.1". W3C. https://www.w3.org/TR/2013/NOTE-xmlenc-core1-explain-20130411.
* Somorovsky, J.; Schwenk, J. (June 2012). "Technical Analysis of Countermeasures against Attack on XML Encryption – or – Just Another Motivation for Authenticated Encryption". 2012 IEEE Eighth World Congress on Services. IEEE. doi:10.1109/SERVICES.2012.6. ISBN 978-1-4673-3053-4. https://www.w3.org/2008/xmlsec/papers/xmlEncCountermeasuresW3C.pdf.
* Jager, T.; Paterson, K. G.; Somorovsky, J. (24 April 2013). "One Bad Apple: Backwards Compatibility Attacks on State-of-the-Art Cryptography". NDSS Symposium 2013. https://www.ndss-symposium.org/ndss2013/ndss-2013-programme/one-bad-apple-backwards-compatibility-attacks-state-art-cryptography/.
* Kupser, D.; Mainka, C.; Schwenk, J.; Somorovsky, J. (August 2015). "How to Break XML Encryption – Automatically". 9th USENIX Workshop on Offensive Technologies (WOOT '15). https://www.usenix.org/conference/woot15/workshop-program/presentation/kupser.

## 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

* v
* t
* e

World Wide Web Consortium (W3C)

Products and
standards|

| Recommendations|

* ActivityPub
* ARIA
* Canonical XML
* CDF
* CSS
* DOM
* Geolocation API
* HTML (HTML5)
* ITS
* JSON-LD
* Linked Data Notifications
* MathML
* Micropub
* OWL
* PLS
* RDF
* RDF Schema
* SISR
* SKOS
* SMIL
* SOAP
* SRGS
* SRI
* SSML
* SVG
* SCXML
* SHACL
* SPARQL
* Timed text
* VoiceXML
* Web storage
* WSDL
* Webmention
* WebSub
* XForms
* XHTML
* XHTML+RDFa
* XInclude
* XLink
* XML
* XML Base
* XML Encryption
* XML Events
* XML Information Set
* XML namespace
* XML Schema
* XML Signature
* XOP
* XPath
* XPath 2.0
* XPointer
* XProc
* XQuery
* XSL
* XSL-FO
* XSLT (elements)

|

Notes|

* IndieAuth
* JF2
* Post Type Discovery
* XAdES
* XHTML+SMIL
* XUP

Working drafts|

* CCXML
* CURIE
* EME
* InkML
* MSE
* RIF
* SMIL Timesheets
* sXBL
* XFDL
* XFrames
* XBL
* XMLHttpRequest

Guidelines|

* Web Content Accessibility Guidelines

Initiative|

* Multimodal Interaction Activity (MMI)
* Markup Validation Service
* Web Accessibility Initiative
* WebPlatform

Deprecated|

* C-HTML
* HDML
* JSSS
* PGML
* VML
* XHTML+MathML+SVG

Obsoleted|

* P3P

Organizations|

* Advisory Committee (AC)
* World Wide Web Foundation

Elected groups|

* Advisory Board (AB)

Working groups|

* CSS
* Geolocation
* Social Web
* SVG
* Web Hypertext Application Technology (WHATWG)
* Web Platform

Community groups|

* Web Incubator Community Group (WICG)

Closed groups|

* Device Description (DDWG)
* HTML

Software|

* CERN httpd
* Libwww

Browsers|

* Line Mode (1990–)
* Arena (1993–98)
* Agora (1994–97)
* Argo (1994–97)
* Amaya (browser/editor, 1996–2012)

Conferences|

* International World Wide Web Conference (IW3C)
* Steering Committee (IW3C2)
* First conference ("WWW1", 1994)

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/XML Encryption. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=XML_Encryption&oldid=3987000"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template