santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Miroslav Nachev" <>
Subject Re: Invalid Reference Signature when I try to refer some XMLObject element
Date Wed, 31 Jan 2007 21:43:11 GMT
For XML Signature I use JDK6. For XML Encription I use Apache XML Security
1.4. If this will solve my problem I will use Apache XML Security for both.

On 1/31/07, Sean Mullan <> wrote:
> Miroslav Nachev wrote:
> > I will try your suggestions tomorrow, but I am not sure that this is the
> > problem. Before to quit from the office I found that the digest value
> > for this reference is different calculated for Signing and Validation.
> >
> > The stack trace from Exception is missing because any exception is not
> > thrown. The boolean value "false" is returned for whole signature. Then
> > I check each time individually and see that the problem is in this
> > reference again without exception. Only "false" value is returned.
> >
> > Because of the above I think that the digest algorithm for Signing and
> > Validation is different. And because the only difference are both
> > Namespaces in one element, I think that this is the real problem.
> Try enabling logging support and inspect what is being digested when
> signing and when validating. You should be able to precisely narrow down
> the problem (it is probably namespace related). I assume you are using
> JSR 105 from our previous correspondences. See this blog for more info
> on enabling the logging:
> --Sean

View raw message