Subject: [KEYPROV] XML to ASN.1 for attributes

From: Sean Turner <[email-masked]>
Date: Thu, 30 Jul 2009 10:26:28 +0200

As PSKC is basically done, I'm going to convert the XML 
elements/attributes to ASN.1.  I've got one question: should the 
elements with child elements be one attribute or separate attributes? 
For example, DeviceInfo is as follows:

<DeviceInfo>
   <Manufacturer>Manufacturer</Manufacturer>
   <SerialNo>987654321</SerialNo>
   <UserId>DC=example-bank,DC=net</UserId>

We could either have one attribute:

DeviceInfo ::= SEQUENCE {
   manufactuer Manufactuer,
   serialNo    SerialNo,
   userId      UserId }

or three separate attributes:

  Manufactuer, SerialNo, and UserId.

Which way do people want it?

spt