Questions tagged [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.

The W3C XML Encryption standard specifies a process for encrypting data and representing the result in XML. The data may be arbitrary data (including an XML document), an XML element, or XML element content. The result of encrypting data is an XML Encryption EncryptedData element which contains (via one of its children's content) or identifies (via a URI reference) the cipher data.

When encrypting an XML element or element content the EncryptedData element replaces the element or content (respectively) in the encrypted version of the XML document.

When encrypting arbitrary data (including entire XML documents), the EncryptedData element may become the root of a new XML document or become a child element in an application-chosen XML document.

(source and further reading: http://www.w3.org/TR/xmlenc-core/)

20 questions
0
votes
1 answer

Advantage of Encrypted XML message over HTTPS messages on C#

I am designing an XML over https message communication in my application. My PM thinks doing x509.2 encryption to XML and transport message over https will be better secured. I was wondering, as message is being transferred over HTTPS, it is…
HaBo
  • 13,999
  • 36
  • 114
  • 206
0
votes
1 answer

C#.NET Encrypt XML on one machine and Decrypt on other machine

I need to do a GET/PUT/DELETE/POST message on httpwebrequest. my request body contains XML. I need to encrypt the content in body XML and decrypt back on the client/receiver side. I see there are multiple ways to encrypt the XML. one of it is here…
HaBo
  • 13,999
  • 36
  • 114
  • 206
-1
votes
1 answer

generate xml manifest from media specifically audio

I am trying to implement DRM and EME in my my dashjs music streaming app but then I realized that to use dashjs I need to have a manifest xml file to handle segmentation ..etc so does any one know how to generate manifest automatically or even…
bedo dan
  • 9
  • 1
  • 3
-1
votes
1 answer

XML Schema and XML Encryption

Consider the XSD below borrowed from Wikipedia. Let's say I want to OPTIONALLY allow to encrypt any of the elements OR the whole address. How do I adapt the XSD using xmlenc-core1?
steros
  • 1,794
  • 2
  • 26
  • 60
-1
votes
1 answer

XML Encryption and Decryption only JDK 6 without any third party API

I want to now can I encrypt and decrypt an XML document using JDK 6 api. I do not want use any third party api like apache Santuario. The whole intention is that if an XML file is encrypted and delivered to a system which has been developed in…
1
2