You are thinking on this line:
echo "$xmlsec_app encrypt $xmlsec_params $params2 --output $tmpfile $file.tmpl" >> $logfile

But what are the parameters? I dont know much about shellscripting, but is this a kind of recursion?
xmlsec_params="$xmlsec_params --crypto $crypto"

Do I need a template file if I only want to encrypt single element?

What is a xmlsec command to encrypt only one element in a xml file?




From: Aleksey Sanin <[EMAIL PROTECTED]>
To: Mike Fudd <[EMAIL PROTECTED]>
CC: [email protected]
Subject: Re: [xmlsec] How doese node-encryption work:
Date: Thu, 21 Dec 2006 07:54:33 -0800

It doese not work because the template doese not match to the file I want to encrypt.

What do you mean??? Template for encryption has nothing to do with the
file to encrypt. For examples, look into xmlsec/test/testEnc.sh file.
There quite a few tests that run xmlsec utility.

Aleksey

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/

_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to