santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Renato Tegon Forti" <>
Subject RES: Trying understanding (Xml NS question)
Date Tue, 02 Oct 2012 11:27:40 GMT
The way is I remove NS before check! Do you think that this will always



De: Cantor, Scott [] 
Enviada em: terça-feira, 2 de outubro de 2012 00:28
Para: <>
Assunto: Re: Trying understanding (Xml NS question)


On Oct 1, 2012, at 10:58 AM, "Renato Tegon Forti" <> wrote:


In this case the the signature checks fail!


If I remove the NS:

<> "


Like this:


The signature is validated OK!




Probably because you signed the reference and left it with the inclusive
c14n algorithm, in which namespaces are certainly going to affect the
signature. The signer did not include them, and now they're present so the
digest changes.


‘am trying understanding! What I must do to work with NS


You can't, not unless the signer changes the signed document and/or uses
exclusive c14n as a transform. 


-- Scott

View raw message