[ 
https://issues.apache.org/jira/browse/CAMEL-13009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konrad Jan Botor closed 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
>            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)

Reply via email to