santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pushpalanka Jayawardhana <pushpalankaj...@gmail.com>
Subject Changing default canonicalization algorithm
Date Thu, 31 May 2012 08:47:34 GMT
Hi all,

I am using Santuario-Java 1.5.2 version.
I generated a signature with following code, but having trouble shaping it
to the requirements. I am still getting familiar with these and so grateful
for any help.


   - *XMLSignature sig = new XMLSignature(doc,
   BaseURI, XMLSignature.ALGO_ID_SIGNATURE_RSA_SHA256); *

*
*
I could see CanonicalizationMethodURI of 'sig' is
http://www.w3.org/TR/2001/REC-xml-c14n-20010315.
How can I change this to a later version like
http://www.w3.org/2006/12/xml-c14n11?

Thanks and Best Regards,
-- 
Pushpalanka Jayawardhana | http://pushpalankajaya.blogspot.com

Twitter: http://twitter.com/Pushpalanka | Slideshare:
http://www.slideshare.net/Pushpalanka

Mime
View raw message