[jboss-user] [JBoss Web Services] - Re: Manual verification of SignatureValue

Giovanni Castellari do-not-reply at jboss.com
Tue Dec 14 06:23:35 EST 2010

Giovanni Castellari [http://community.jboss.org/people/giogio] created the discussion

"Re: Manual verification of SignatureValue"

To view the discussion, visit: http://community.jboss.org/message/575863#575863

Solved, thanks to Thomas Pornin. 
I'm using the org.apache.xml.security.c14n.Canonicalizer for the canonicalization of the  http://download.oracle.com/javase/6/docs/api/javax/xml/crypto/dsig/SignedInfo.html SignedInfo element, but the resulting string needs to be further handled: 

- Remove all the leading spaces on each line; 
- Get an hexadecimal representation of the string above and make sure that all end-of-lines use a single LF (0A).

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101214/9db8786d/attachment.html 

More information about the jboss-user mailing list