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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to