santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45586] Signature verification fails, C14N transform returns null
Date Tue, 16 Sep 2008 12:46:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45586


sean.mullan@sun.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEEDINFO




--- Comment #4 from sean.mullan@sun.com  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
> http://www.w3.org/2000/09/xmldsig#enveloped-signature 
> 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message