Jump to content

XML Encryption

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 147.87.130.66 (talk) at 09:51, 22 May 2007. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

XML Encryption is a specification that defines how to encrypt the content of an XML element. It's recommended by the W3C.

XML Encryption encompasses the encryption of any kind of data, including the encryption of XML. What makes it XML Encryption is that 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 KeyInfo element. It 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.

KeyInfo is optional: it can be attached in the message, or be delivered through a secure channel