santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45586] Signature verification fails, C14N transform returns null
Date Tue, 16 Sep 2008 12:46:05 GMT changed:

           What    |Removed                     |Added
             Status|ASSIGNED                    |NEEDINFO

--- Comment #4 from  2008-09-16 05:46:05 PST ---
(In reply to comment #3)
> As suggested, I am dumping the pre-digested input just before signing. 

This isn't the pre-digested input. The signature is still inside
the assertion which means the enveloped transform has not been processed yet.

> I did
> debug the signing code as well. Actually during signing itself, while applying
> the all the transforms, in my case which is
> followed by ex-C14N, it returns null. Thus digest seems to be computed for null
> content. 

This is expected behavior. The code is optimized for performance,
such that the bytes are canonicalized and then digested in a streaming manner.
The byte array is not available to be returned, thus null is returned.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message