Try to use xmlsec command line tool. Unfortunately,
compilation on Windows is not as simple as it should be.

Aleksey

On 6/22/2004 8:59 AM, Grahame Dawes wrote:
I was looking for a tool to encrypt the data in an xml file. Thought
such a tool must exist on the web so started searching.

At first I thought I could use xmlsec, then after much reading and
searching it seems I need

Encrypt2.

The xml file I have a simple a sequential file with records containing 3
fields of which I need to encrypt at least 1 in every record.

I was hoping to avoid having to create templates etc myself and was
hoping some utility could pass my file, add in the <xml> tags for
encoded, encrypted data assuming I specified a key.

I was looking for the ready built examples .exe’s to run as shown on
http://cvs.gnome.org/viewcvs/*checkout*/xmlsec/docs/api/xmlsec-examples.html

After much searching and not finding an encrypt2.exe to download I
copied the source and win32 downloads and started building.

I am sure I have my includes and library files correct. I could not find
a win32 makefile (still searching)

However I using Visual Studio 2003 VC++ and the linker is reporting

error LNK2020: unresolved token (0A00000F) __imp_xmlSecTypeEncElement

which dll should this be in?

I am trying to build it using openssl as my chosen encryption method.

Any ideas on how to compile encrypt2 would be useful.

Grahame

PS Hope I got the correct mailing list.



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

Reply via email to