[
https://issues.apache.org/jira/browse/CAMEL-13009?focusedWorklogId=175831&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-175831
]
ASF GitHub Bot logged work on CAMEL-13009:
------------------------------------------
Author: ASF GitHub Bot
Created on: 16/Dec/18 16:23
Start Date: 16/Dec/18 16:23
Worklog Time Spent: 10m
Work Description: Forinil opened a new pull request #2677: CAMEL-13009:
DigestMethod and DigestValue elements created either in …
URL: https://github.com/apache/camel/pull/2677
…XAdES or DS namespace depending on XAdES version required
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 175831)
Time Spent: 10m
Remaining Estimate: 0h
> Error in generated XAdES 1.1.1 signature
> -----------------------------------------
>
> Key: CAMEL-13009
> URL: https://issues.apache.org/jira/browse/CAMEL-13009
> Project: Camel
> Issue Type: Bug
> Components: camel-xmlsecurity
> Affects Versions: 2.23.0
> Reporter: Konrad Jan Botor
> Priority: Minor
> Labels: XAdES
> Fix For: Future
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> XAdES XSD file defines, among the others, type
> {code:xml}
> DigestAlgAndValueType
> {code}
> In XAdES 1.1.1 this is defined as:
> {code:xml}
> <xsd:complexType name="DigestAlgAndValueType">
> <xsd:sequence>
> <xsd:element name="DigestMethod" type="ds:DigestMethodType"/>
> <xsd:element name="DigestValue" type="ds:DigestValueType"/>
> </xsd:sequence>
> </xsd:complexType>
> {code}
> and in later versions as:
> {code:xml}
> <xsd:complexType name="DigestAlgAndValueType">
> <xsd:sequence>
> <xsd:element ref="ds:DigestMethod"/>
> <xsd:element ref="ds:DigestValue"/>
> </xsd:sequence>
> </xsd:complexType>
> {code}
> 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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)