Cardinality problem with DocumentHashType object schema definition

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • csprd02
    • Affects Version/s: V1_WD01
    • Component/s: Core
    • None
    • Hide

      Introduce a new container element (e.g. 'DigestInfos') to hold the set of digest infos:

      <xs:complexType name="DocumentHashType">
      <xs:complexContent>
      <xs:extension base="dss:DocumentBaseType">
      <xs:sequence>
      <xs:element ref="ds:Transforms" minOccurs="0"/>
      <xs:element name="DigestInfos" type="dss:DigestInfoType" minOccurs="1"
      maxOccurs="unbounded"/>
      </xs:sequence>
      <xs:attribute name="WhichReference" type="xs:integer" use="optional"/>
      </xs:extension>
      </xs:complexContent>
      </xs:complexType>

      <xs:complexType name="DigestInfoType">
      <xs:sequence>
      <xs:element ref="ds:DigestMethod"/>
      <xs:element ref="ds:DigestValue"/>
      </xs:sequence>
      </xs:complexType>

      Show
      Introduce a new container element (e.g. 'DigestInfos') to hold the set of digest infos: <xs:complexType name="DocumentHashType"> <xs:complexContent> <xs:extension base="dss:DocumentBaseType"> <xs:sequence> <xs:element ref="ds:Transforms" minOccurs="0"/> <xs:element name="DigestInfos" type="dss:DigestInfoType" minOccurs="1" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="WhichReference" type="xs:integer" use="optional"/> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="DigestInfoType"> <xs:sequence> <xs:element ref="ds:DigestMethod"/> <xs:element ref="ds:DigestValue"/> </xs:sequence> </xs:complexType>

      The DocumentHashType derives from DocumentBaseTyope and therefore contains an 'ID' attribute of the typ 'xs:Id'.
      Due to privacy reasons document may be hashed on client side without prior knowledge which hash algorithm is required. In other use cases several different hashes of the document are required for different signatures or timestamps.

      The current just allows one hash algorithm and value to be associated with one document.

            Assignee:
            Andreas Kuehne (Inactive)
            Reporter:
            Andreas Kuehne (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: