<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
It sounds like you have not added OpenSSL libraries to the project or
that <br>
you compile with different calling conventions. Check the Makefile.w32
in <br>
examples/ folder for correct libraries and flags.<br>
<br>
Aleksey<br>
<br>
Jan-Olof Andersson wrote:<br>
<blockquote type="cite"
cite="midNPENKJNAFAOGCAEDEPEAOEEIDCAA.jan-olof.andersson@blcc.biz">
<title></title>
<meta http-equiv="Content-Type" content="text/html; ">
<meta content="MSHTML 6.00.2800.1226" name="GENERATOR">
<div><font face="Arial" color="#0000ff" size="2"><span
class="427165213-26092003">Hi Aleksey,</span></font></div>
<div> </div>
<div> </div>
<div><font face="Arial" color="#0000ff" size="2"><span
class="427165213-26092003">I am compiling the latest versin for Win32.
</span></font></div>
<div> </div>
<div><font face="Arial" color="#0000ff" size="2"><span
class="427165213-26092003">I have problem with the Openssl. It seems
to be missing some archives or there is an archive with the wrong
version.</span></font></div>
<div> </div>
<div><font face="Arial" color="#0000ff" size="2"><span
class="427165213-26092003">Anybody who can give me an hint?</span></font></div>
<div> </div>
<div><font face="Arial" color="#0000ff" size="2"><span
class="427165213-26092003">Best regards</span></font></div>
<div> </div>
<div> </div>
<div><font face="Arial" color="#0000ff" size="2"><span
class="427165213-26092003">/NODEFAULTLIB:library<br>
app.obj : error LNK2001: unresolved external symbol
_OPENSSL_add_all_algorithms_<br>
noconf<br>
app.obj : error LNK2001: unresolved external symbol
_CRYPTO_cleanup_all_ex_data<br>
ciphers.obj : error LNK2001: unresolved external symbol _EVP_aes_256_cbc<br>
ciphers.obj : error LNK2001: unresolved external symbol _EVP_aes_192_cbc<br>
ciphers.obj : error LNK2001: unresolved external symbol _EVP_aes_128_cbc<br>
ciphers.obj : error LNK2001: unresolved external symbol
_EVP_CIPHER_CTX_set_padd<br>
ing<br>
kw_des.obj : error LNK2001: unresolved external symbol
_EVP_CIPHER_CTX_set_paddi<br>
ng<br>
digests.obj : error LNK2001: unresolved external symbol _EVP_MD_CTX_init<br>
signatures.obj : error LNK2001: unresolved external symbol
_EVP_MD_CTX_init<br>
digests.obj : error LNK2001: unresolved external symbol
_EVP_MD_CTX_cleanup<br>
signatures.obj : error LNK2001: unresolved external symbol
_EVP_MD_CTX_cleanup<br>
hmac.obj : error LNK2001: unresolved external symbol _HMAC_CTX_init<br>
hmac.obj : error LNK2001: unresolved external symbol _HMAC_CTX_cleanup<br>
kw_aes.obj : error LNK2001: unresolved external symbol _AES_encrypt<br>
kw_aes.obj : error LNK2001: unresolved external symbol
_AES_set_encrypt_key<br>
kw_aes.obj : error LNK2001: unresolved external symbol _AES_decrypt<br>
kw_aes.obj : error LNK2001: unresolved external symbol
_AES_set_decrypt_key<br>
x509.obj : error LNK2001: unresolved external symbol _ASN1_TIME_check<br>
libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol
__imp__Re<br>
<a href="mailto:gQueryValueExA@24">gQueryValueExA@24</a><br>
binaries\libxmlsec-openssl.dll : fatal error LNK1120: 16 unresolved
externals<br>
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'</span></font></div>
<blockquote dir="ltr" style="margin-right: 0px;">
<div class="OutlookMessageHeader" dir="ltr" align="left"><font
face="Tahoma" size="2">-----Original Message-----<br>
<b>From:</b> <a class="moz-txt-link-abbreviated" href="mailto:xmlsec-admin@aleksey.com">xmlsec-admin@aleksey.com</a>
[<a class="moz-txt-link-freetext" href="mailto:xmlsec-admin@aleksey.com">mailto:xmlsec-admin@aleksey.com</a>]<b>On Behalf Of </b>Aleksey Sanin<br>
<b>Sent:</b> den 26 september 2003 03:02<br>
<b>To:</b> Johannes Kjos<br>
<b>Cc:</b> '<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>'<br>
<b>Subject:</b> Re: SV: [xmlsec] Using a content ID for URI<br>
<br>
</font></div>
Well, probably the best option for you would be option #2: use special
URL protocol<br>
in URI attributes like "cid:<attachment id>" and create custom
protocol handlers<br>
for "cid". Take a look at LibXML2 IO tutorial:<br>
<br>
<a class="moz-txt-link-freetext"
href="http://xmlsoft.org/xmlio.html">http://xmlsoft.org/xmlio.html</a><br>
<br>
and xmlsec API reference:<br>
<br>
<a class="moz-txt-link-freetext"
href="http://www.aleksey.com/xmlsec/api/xmlsec-io.html">http://www.aleksey.com/xmlsec/api/xmlsec-io.html</a><br>
<br>
And do not forget to register your protocol handlers in both xmlsec and
libxml2.<br>
<br>
Aleksey<br>
<br>
<br>
Johannes Kjos wrote:<br>
<blockquote
cite="midDD392039E892594289474E1F7234FF190AB38254@hermes.sds.no"
type="cite">
<pre wrap="">Ok, I will try to explain once more :)
My secapp is a toolkit to support XMLDsig signing MIME message, there are
two or more mime parts and the first part is SOAP (<header> and <body>), the
other mime parts are attachments. These attachments are signed and the
<Signature> is placed inside the SOAP <header>. My secapp only relates and
thereby returns the SOAP message to the calling application which deals with
the mime packing and so on. So, when signing an attachment, the calling
application has to give my secapp a cid and the filepath (it's all filebased
for a reason not to mention here) for the file to sign, insert the cid in
<SignedInfo> make a digest (and put it in <DigestValue>) of the file with
filepath, and then sign <SignedInfo>. The reason the cid is signed and not
the filepath is because my secapp don't deal with the attachment in the
mimemessage, the calling application does.
So when verifying the callig app will search through the attachments and
when it finds a cid it will give the filepath and the cid to my secapp (the
rest of the <References> in the <Signature> will be resolved by xmlsec in
normal manner). My secapp will make a list of these mappings and hopefully
in some way make the xmlsec to understand that the <SignatureValue> is a
signature over the current <SignedInfo> but the <DigestValue> of the
references with the cids is from the files with filepath given by the
mappings....I know this is working e.g. in the java lib IAIK...
I think this is a version of ebXML.
Best regards,
Johannes
-----Opprinnelig melding-----
Fra: Aleksey Sanin [<a class="moz-txt-link-freetext"
href="mailto:aleksey@aleksey.com">mailto:aleksey@aleksey.com</a>]
Sendt: 25. september 2003 17:41
Til: Johannes Kjos
Kopi: '<a class="moz-txt-link-abbreviated"
href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>'
Emne: Re: [xmlsec] Using a content ID for URI
No, it's actually not quite clear but I would try to guess :)
1) You would like to use "#ID" or any other XPointer expression in
URI attributes.
Yes, it is possible. Please read section 3.2 from FAQ
<a class="moz-txt-link-freetext"
href="http://www.aleksey.com/xmlsec/faq.html">http://www.aleksey.com/xmlsec/faq.html</a>
for the only known common issue about that.
2) You need to use custom protocols like URI=<a
class="moz-txt-link-rfc2396E" href="cid:something">"cid:something"</a>
Yes, it is possible. You would need to register custom protocol
handlers in both
LibXML2 and xmlsec. Search headers in both libraries for
"RegisterProtocol".
Protocol handlers in both libraries are exactly the same. LibXML2
handlers are used
for reading XML files (thus they can automatically do some smart
things like gzip/gunzip)
and xmlsec protocol handlers are used for reading binary files. Also
there is a tutorial'
page on LibXML2 web site <a class="moz-txt-link-freetext"
href="http://xmlsoft.org">http://xmlsoft.org</a> about writing IO callbacks.
Aleksey
Johannes Kjos wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello!
I'm using xmlsec 0.0.15! And using an upgrade makes a lot of work for me
because other project participants have made quit a lot of work in the
0.0.15 code.
My question is: Is it possible to make the xmlseclib to use a cid for URI
</pre>
</blockquote>
<pre wrap=""><!---->in
</pre>
<blockquote type="cite">
<pre wrap="">SignedInfo References? E.g.I want the calling app to search through a some
blocks of a message, inside them there is cids to be resolved for the cids
in the references (the signature is in a header element). The calling app
should send e.g. filepath and URI to my secapp and I will make xmlsec to
</pre>
</blockquote>
<pre wrap=""><!---->use
</pre>
<blockquote type="cite">
<pre wrap="">the file for digest but have the cid for that file in SignedInfo when
signing - and the other way when verifying.
Hope this is understandable...
Best regards,
Johannes
_______________________________________________
xmlsec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
<a class="moz-txt-link-freetext"
href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec</a>
</pre>
</blockquote>
<pre wrap=""><!---->_______________________________________________
xmlsec mailing list
<a class="moz-txt-link-abbreviated" href="mailto:xmlsec@aleksey.com">xmlsec@aleksey.com</a>
<a class="moz-txt-link-freetext"
href="http://www.aleksey.com/mailman/listinfo/xmlsec">http://www.aleksey.com/mailman/listinfo/xmlsec</a>
</pre>
</blockquote>
</blockquote>
</blockquote>
</body>
</html>