xenc:Example


In the encrypted version of an XML instance, the <EncryptedData> element will appear in place of an encrypted element or its content.

Before: After Rodents are encrypted
<Animals>
<Cat/>
 <Rodents>
  <Rabbit/>
  <Mouse/>
 </Rodents>
 <Dog/>
<Animals>
<Animals>
<Cat/>
 <EncryptedData xmlns="">
   <CipherData>M3MXCV...
   </CipherData>
 </EncryptedData>
<Dog/>
<Animals>