RE: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Edward Shallow
You do not see it with the sign ? Do you think it could be the environment around xmlsec ? Might this not leak on a freshly installed XP machine ? Has the CVS been updated with this patch ? Is it in the daily snapshot ? I will have to wait for Igor to recompile and re-post. Ed -Original

Re: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Aleksey Sanin
You do not see it with the sign ? I do see memory growth with both sign and verify... but I don't see anything in Purify. Do you think it could be the environment around xmlsec ? I highly doubt that. Might this not leak on a freshly installed XP machine ? Same. It *might* depend on Servi

Re: [xmlsec] How to get Certificate from signed xml file

2006-05-02 Thread Aleksey Sanin
If you are writing a program in C then you have access to the signature certificates through xmlSecDsigCtx data structure. Check the documentation for more details. Aleksey ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/lis

Re: [xmlsec] How to get Certificate from signed xml file

2006-05-02 Thread Aleksey Sanin
You can get to signature key, from key you can get access to "KeyData" objects. Then you need to iterate through the list and find one for certificate (note, this part is crypto specific!). Then you can get a handle no native "crypto" certificate (e.g. for OpenSSL it will be X509*). Aleksey Jür

[xmlsec] How to get Certificate from signed xml file

2006-05-02 Thread Jürgen Heiss
Hi, How I can get the certificate from a signed xml file and save this vertificate as a file on my local machine? Thanks for any help ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec

Re: [xmlsec] How to get Certificate from signed xml file

2006-05-02 Thread Aleksey Sanin
Well i find my certificate, but how to export now? I believe you found the key, not certificate. Look at KeyData objects in this key. Aleksey ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec

RE: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Edward Shallow
Hi Aleksey, This is why I avoid this like the plague ... As you directed I setup bin, include, and lib sub-dirs of xmlsec_prefix and copied dependent dirs in from Igor's site I installed nmake and Visual Studio C++ 2003 (cl.exe) and updated the ENVIRONMENT variables I slightly edited mycfg.bat

Re: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Aleksey Sanin
C:\XMLSec\xmlsec1-1.2.9\win32>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. makefile(571) : fatal error U1088: invalid separator '::' on inference rule Stop. The nmake you run is *very* old (version 1.50 from 1994). It

RE: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Edward Shallow
The link to the Visual Studio C++ 2003 Toolkit (free) provided to me by Dmitry (thanks) contains ***NO*** nmake.exe I had a tough time finding this old one. Any suggestions ? Ed -Original Message- From: Aleksey Sanin [mailto:[EMAIL PROTECTED] Sent: May 2, 2006 9:51 PM To: [EMAIL PROTECT

Re: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Aleksey Sanin
I had a tough time finding this old one. Any suggestions ? http://www.microsoft.com/msdownload/platformsdk/sdkupdate/ Aleksey ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec

RE: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Edward Shallow
PostScript: I am downloading the Platform SDK. That should do it. I'll ket you know. Ed -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Edward Shallow Sent: May 2, 2006 10:47 PM To: 'Aleksey Sanin' Cc: xmlsec@aleksey.com; [EMAIL PROTECTED] Subject: RE:

RE: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Edward Shallow
Almost there. Can't find msvcrt.lib Not in MSSDK or VC6 ??? Ed . . . enveloped.c errors.c io.c keyinfo.c keys.c keysdata.c keysmngr.c list.c membuf.c nodeset.c parser.c soap.c strings.c templates.c Generating Code... Compiling... transforms.c x509.c xkms.c xmldsig.c xmlenc.c xmlsec.c xmltree.c x

Re: [xmlsec] FW: Free/Destroy versus Memory Leak

2006-05-02 Thread Aleksey Sanin
Edward Shallow wrote: Almost there. Can't find msvcrt.lib Not in MSSDK or VC6 ??? Ed This is MS runtime library... Yet another MS download: http://wiki.tcl.tk/11431 Aleksey ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailm

RE: [xmlsec] How to get Certificate from signed xml file

2006-05-02 Thread Jürgen Heiss
Hi Aleksey, Well now I got my Certificate from signed xml ;o) Using the following code. key = dsigCtx.signKey; size = xmlSecPtrListGetSize(key->dataList); sdata = (*((dsigCtx).signKey)).dataList; for(pos = 0; pos < size; ++pos) { tmp = (xmlSecKeyDataPtr)xm

Re: [xmlsec] How to get Certificate from signed xml file

2006-05-02 Thread Aleksey Sanin
But I still don't find a way the export this certificate to my local machine for example c:\mycert.cer. http://www.aleksey.com/xmlsec/api/xmlsec-openssl-x509.html#XMLSECOPENSSLKEYDATAX509GETCERT Aleksey ___ xmlsec mailing list xmlsec@aleksey.com ht