W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2000

Proposal: SPKIData for <KeyInfo>

From: Carl Ellison <cme@jf.intel.com>
Date: Mon, 17 Apr 2000 16:52:25 -0700
Message-Id: <3.0.3.32.20000417165225.00b14940@ibeam.jf.intel.com>
To: w3c-ietf-xmldsig@w3.org
Cc: Carl Ellison <cme@jf.intel.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I would like to propose one modification to the XML DSIG spec -- namely the 
addition of SPKIData to the KeyInfo definition:

<!ELEMENT KeyInfo ((KeyName | KeyValue | RetrievalMethod |
	X509Data | PGPData | SPKIData | MgmtData)*) >

<!ELEMENT SPKIData (#PCDATA) >

The reason for this is to let the parser know that the (#PCDATA) is 
actually an S-expression encoded version of a public key (either raw or 
contained within a certificate).  All further information about that format 
and contents can be derived rapidly from the #PCDATA contents, so no other 
information is needed.  However, others may find it desirable to permit an 
attribute on this element to indicate the kind of encoding:

1.	"advanced" (readable) S-expressions
2.	canonical (binary), under base64 encoding
3.	some future encoding (perhaps a native XML one, if one is decided upon)

All we need right now, for our work, is the second of these, so we don't 
need any attribute to tell them apart.  We can also distinguish between (1) 
and (2) with the same parser, so that is not an issue for us.

Therefore, I would leave my proposal just as I stated in the beginning -- 
one new element option and no attributes.

 - Carl

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.0.2

iQA/AwUBOPujuMxqBGb+WvJAEQIL8wCfd66EPbf2Qad1Lef7uG7gIalw+z4AnRGk
JPh5K2oxjXmQxq0FKSFMHs0K
=OxFu
-----END PGP SIGNATURE-----


+--------------------------------------------------------+
|Carl Ellison      Intel             E: cme@jf.intel.com |
|2111 NE 25th Ave  M/S JF3-212       T: +1-503-264-2900  |
|Hillsboro OR 97124                  F: +1-503-264-6225  |
|PGP Key ID: 0xFE5AF240              C: +1-503-819-6618  |
|  1FDB 2770 08D7 8540 E157  AAB4 CC6A 0466 FE5A F240    |
+--------------------------------------------------------+
Received on Monday, 17 April 2000 19:52:33 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:09 GMT