15.3. Encryption Examples

The following examples are based on a hypothetical medical patient record:

<MedInfo xmlns='http://x.example/medinfo'>
  <Identification>
    <Name>John Q. Doe, Jr<Name/>
    <Address>...</Address><SSN>000-00-0000</SSN>
  </Identification>
  <Medical>...</Medical>
  <Financial>
    <Insurance>...</Insurance>
    <Billing>...History...</Billing>
    <Payment>
      <Type>CreditCard</Type>
      <Number>0000 1111 2222 3333</Number>
      <Expires>04/02</Expires>
    </Payment>
  </Financial>
</MedInfo>

This XML contains information characterized by different levels of sensitivity and to which different people probably have different access permissions. For example, a person's name and address is usually considered less sensitive than his or her financial information, which ...

Get Secure XML: The New Syntax for Signatures and Encryption now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.