You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (JIRA)" <ji...@apache.org> on 2018/12/17 07:56:00 UTC

[jira] [Assigned] (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 ]

Andrea Cosentino reassigned CAMEL-13009:
----------------------------------------

    Assignee: Andrea Cosentino

> 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
>            Assignee: Andrea Cosentino
>            Priority: Minor
>              Labels: XAdES
>             Fix For: 3.0.0, 2.24.0, 2.23.1
>
>          Time Spent: 20m
>  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)