You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Konrad Jan Botor (JIRA)" <ji...@apache.org> on 2018/12/16 20:08:00 UTC
[jira] [Reopened] (CAMEL-13009) Error in generated XAdES 1.1.1
signature
[ https://issues.apache.org/jira/browse/CAMEL-13009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Jan Botor reopened CAMEL-13009:
--------------------------------------
> 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)