Re: [xmlsec] Question about keypairs

2006-02-02 Thread Aleksey Sanin
Not sure I understand your question exactly... but probably you should look at the crypt library (openssl, nss, mscrypto, ...) for the functionality you need. Aleksey ___ xmlsec mailing list xmlsec@aleksey.com

RE: [xmlsec] Question about keypairs

2006-02-02 Thread Jürgen Heiss
Well this is what I try to do, but I seem to doesn't work ;o( keyPair = xmlSecKeyGenerate(xmlSecKeyDataRsaId, 1024, xmlSecKeyDataTypePrivate); -Original Message- From: Aleksey Sanin [mailto:[EMAIL PROTECTED] Sent: Donnerstag, 02. Februar 2006 16:43 To: Jürgen Heiss Cc:

Re: [xmlsec] Question about keypairs

2006-02-02 Thread Aleksey Sanin
Well this is what I try to do, but I seem to doesn't work ;o( keyPair = xmlSecKeyGenerate(xmlSecKeyDataRsaId, 1024, xmlSecKeyDataTypePrivate); Can you clarify what do you mean by doesn't work, please? Aleksey ___ xmlsec mailing list

Re: [xmlsec] Question about keypairs

2006-02-02 Thread Aleksey Sanin
Jürgen Heiss wrote: Sorry it was wrong to tell its didn't work. I mean I don't know how to get the keypair. Finally I want to write the keypair into one file like mykey.pem. Do you understand? xmlsec does not provide this functionality. Use the crypto library for this. Aleksey

RE: [xmlsec] Question about keypairs

2006-02-02 Thread Jürgen Heiss
Hi, I tryed to compile the xmlsec static, it compiles fine, but when I try to link I get the following errors: Do you have some ideas, our can I download the static library from somewhere? Thanks in advance, Jürgen Linking errors Microsoft (R) Program Maintenance Utility Version 7.10.3077

Re: [xmlsec] Question about keypairs

2006-02-02 Thread Aleksey Sanin
libxml2_a.lib(xmlIO.obj) : error LNK2019: unresolved external symbol _gzopen referenced in function _xmlGzfileOpen_real ... You need to link with libgz libxml2_a.lib(encoding.obj) : error LNK2019: unresolved external symbol _libiconv referenced in function _xmlIconvWrapper ... You need to

RE: [xmlsec] Question about keypairs

2006-02-02 Thread Jürgen Heiss
Hi again, Well if I build a non-static version everything works fine, this happen just if I try to build static version. The library iconv_a.lib I link, but its still doesn't work. -Original Message- From: Aleksey Sanin [mailto:[EMAIL PROTECTED] Sent: Freitag, 03. Februar 2006 08:40