Please forgive me if I have sent the mail twice. I want to make sure the mail can reach you.
 
Thank you.

Note: forwarded message attached.


Yahoo! FareChase - Search multiple travel sites in one click.
--- Begin Message ---
Dear Aleksey,
 
I can compiled the sign1.c and verify.c under VC++ 6 after it took me few day to understand the xmlsec environment :-))
 
I have few questions here:
 
1. sign1.c shows how to sign xml data under the <Data>. Can xmlsec sign an external file and produce a xml digital signing file something like this :
 
 <Reference URI="#FileToSign" Type="http://www.w3.org/2000/09/xmldsig#Object">
and
<Object Id="FileToSign">
- <XMLDSIG xmlns="">
- <FileInfo>
  <Name>abc.txt</Name>
  <Modified>25/10/2005 8:05:35 AM</Modified>
  <MD5Hash>9defb5811b4d0e4eac267de0250c07aa</MD5Hash>
  </FileInfo>
 
I can do some customization on the program if it is possible.
 
2. May I know which API function can produce the <MD5Hash> value ?
 
3. I have certificate in p12 format. Can xmlsec function takes p12 file? or I need to use openssl to convert it to *.pem ? 
 
4. I read the mail list and found the configure.jc need to take place in compilation, but why I didn't include it also can run the program to sign and verify the file ?
 
 I need to confirm all these before I go further.
 
Thanks in advance to your help.
 
Cheers,
Andy Lau
 
 
 
 


Yahoo! FareChase - Search multiple travel sites in one click.
--- End Message ---
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to