You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Adam Bron <br...@gmx.net> on 2005/09/07 11:45:18 UTC

Encrypting XML Element Content (Elements)

Hello,

in the XML Encryption Syntax and Processing specification
http://www.w3.org/TR/xmlenc-core/#sec-eg-Element-Content
there should be possible to encrypt the content of an element
while preserving the top-level element tag. E.g.:

  <CreditCard Limit='5,000' Currency='USD'>
      <EncryptedData xmlns='http://www.w3.org/2001/04/xmlenc#'
       Type='http://www.w3.org/2001/04/xmlenc#Content'>
        <CipherData>
          <CipherValue>A23B45C56</CipherValue>
        </CipherData>
      </EncryptedData>
    </CreditCard>

Whereas with the <encriptionParts> mechanism, the whole specified element 
is encrypted. 

Is there a possibility with wss4j to encrypt only the content of a message?

Thanks in advance, Adam Bron


-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse f�r Mail, Message, More +++

---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org