Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-13009

Error in generated XAdES 1.1.1 signature

    XMLWordPrintableJSON

    Details

    • Estimated Complexity:
      Novice

      Description

      XAdES XSD file defines, among the others, type 

      DigestAlgAndValueType
      

      In XAdES 1.1.1 this is defined as:

      <xsd:complexType name="DigestAlgAndValueType">
        <xsd:sequence>
          <xsd:element name="DigestMethod" type="ds:DigestMethodType"/>
          <xsd:element name="DigestValue" type="ds:DigestValueType"/>
        </xsd:sequence>
      </xsd:complexType>
      

      and in later versions as:

      <xsd:complexType name="DigestAlgAndValueType">
        <xsd:sequence>
          <xsd:element ref="ds:DigestMethod"/>
          <xsd:element ref="ds:DigestValue"/>
        </xsd:sequence>
      </xsd:complexType>
      

      Apache Camel always generates elements of this type according to the second definition, regardless of selected namespace. This may cause XAdES 1.1.1 signature validation to fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                acosentino Andrea Cosentino
                Reporter:
                Forinil Konrad Jan Botor
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m