Thanks I got it.
Charles.
Date: Tue, 4 Dec 2012 12:35:02 +0000
Subject: Re: Newbie question on java samples.
From: [email protected]
To: [email protected]
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 external documents:
sig.addDocument("http://www.w3.org/TR/xml-stylesheet");
sig.addDocument("http://www.nue.et-inf.uni-siegen.de/index.html");
Colm.
On Fri, Nov 30, 2012 at 4:50 PM, Charles Brown <[email protected]> wrote:
CreateSignature.java
--
Colm O hEigeartaigh
Talend Community Coder
http://coders.talend.com