RE: Newbie question on java samples.

2012-12-04 Thread Charles Brown
Thanks I got it. Charles. Date: Tue, 4 Dec 2012 12:35:02 + Subject: Re: Newbie question on java samples. From: cohei...@apache.org To: dev@santuario.apache.org It's signing both. The following signs the parent Element using the Enveloped signature transform: transforms.addTran

Re: Newbie question on java samples.

2012-12-04 Thread Colm O hEigeartaigh
It's signing both. The following signs the parent Element using the Enveloped signature transform: transforms.addTransform(Transforms.TRANSFORM_C14N_WITH_COMMENTS); //Add the above Document/Reference sig.addDocument("", transforms, Constants.ALGO_ID_DIGEST_SHA1); The following signs some exter

RE: Newbie question on java samples.

2012-12-01 Thread Charles Brown
@santuario.apache.org Subject: RE: Newbie question on java samples. Date: Fri, 30 Nov 2012 22:20:36 +0530 Thanks for reply. One document is already created using dom tree in the code ( from line 76 to 104 ). Are we signing this document which created in code or external documents? Thanks Charles. Date

RE: Newbie question on java samples.

2012-11-30 Thread Charles Brown
Thanks for reply. One document is already created using dom tree in the code ( from line 76 to 104 ). Are we signing this document which created in code or external documents? Thanks Charles. Date: Wed, 28 Nov 2012 13:51:36 + Subject: Re: Newbie question on java samples. From: cohei

Re: Newbie question on java samples.

2012-11-28 Thread Colm O hEigeartaigh
I'm not sure what the cause of your confusion is exactly. In the sample code when it is calling "sig.addDocument(URI)" it is signing the XML document available at that URI. The Javaworld tutorial you linked to does not sign any external resource. I'm not sure what to recommend in terms of helping