O'Reilly logo

Secure XML: The New Syntax for Signatures and Encryption by Kitty Niles, Donald E. Eastlake

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required