https://issues.apache.org/bugzilla/show_bug.cgi?id=45586


[EMAIL PROTECTED] changed:

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




--- Comment #4 from [EMAIL PROTECTED]  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.

Reply via email to