algorithm parameters

One area of the spec I'd like to see discussion of is algorithm parameters.
Currently only the HMAC algorithm takes a parameter; section 7.3.1 of the
latest draft [1] shows the example:

  <SignatureAlg Algorithm="urn:ietf-org:hmac-sha1">
    <Parameter type="urn:ietf-org:hmac-outputlength">
      <Integer value="128"/>
    </Parameter>
  </SignatureAlg>

I'm not sure I wouldn't prefer

  <SignatureAlg Algorithm="urn:ietf-org:hmac-sha1">
    <Parameter type="urn:ietf-org:hmac-outputlength">128</Parameter>
  </SignatureAlg>

or even

  <SignatureAlg Algorithm="urn:ietf-org:hmac-sha1">
    <HmacOutputLength">128</HmacOutputLength>
  </SignatureAlg>

with the HmacOutputLength element defined in the dsig namespace.  The last
one is probably a non-starter (new element types for every algorithm?)...

Clearly I'm on the fence here... thoughts?

-Mark Bartel
JetForm

[1] http://www.w3.org/Signature/Drafts/WD-xmldsig-core-991008.html

Received on Friday, 8 October 1999 14:33:35 UTC