Thanks a lot. It worked.

On Fri, Jun 1, 2012 at 7:06 PM, Colm O hEigeartaigh <[email protected]>wrote:

>
> You could use the following XMLSignature constructor instead:
>
> public XMLSignature(
>         Document doc,
>         String baseURI,
>         String signatureMethodURI,
>         String canonicalizationMethodURI
>     )
>
> Colm.
>
>
> On Thu, May 31, 2012 at 9:47 AM, Pushpalanka Jayawardhana <
> [email protected]> wrote:
>
>> 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
>>
>>
>>
>
>
> --
> Colm O hEigeartaigh
>
> Talend Community Coder
> http://coders.talend.com
>
>


-- 
Pushpalanka Jayawardhana

Reply via email to