RE: Please Help: Crypto library with Visual C++

2001-09-10 Thread Jordan C N Chong
Title: ??: Please Help: Crypto library with Visual C++



thousand thanks for your help :D

it 
helps a lot and it works fine now...

Now, 
pls. one more thing,

I 
tried to decode a Base64 encoded string into 
the 
string is (for example) 
:KljL0/zpzt8Y/UtenpqyMPt3JjQTFV5uofM349JXCY1z2i08XKzTW7LlpgnPDLh48Trbq6b/TErJ3UwFvbo8TOf8l4Xnp9yI6RtTWJlVZzJ5+AnY7lKLThSq8fgpVqwnJGVjfIHev6AI9qKHT+8vhN9tTacdU6WkZ6oYiOTb0jE=

I am 
not sure how

Do you 
know where I could some example codes, or perhaps some references on this 
stuff?
very 
struggling indeed :)

Thanks 
again for everything.

Best 
regards,Jordan Cheun Ngen, 
ChongINF-4067 Universiteit TwentePostbus 2177500 AE EnschedeThe 
NetherlandsDistributed and Embedded Systems 
(DIES)Office Phone: +31 53 
4894655Web site: http://www.cs.utwente.nl/~chongEmail Add.: 
[EMAIL PROTECTED]

  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of YONG.YUESent: Monday, September 10, 2001 11:17 
  AMTo: '[EMAIL PROTECTED]'Subject: ??: Please 
  Help: Crypto library with Visual C++
  i think all necessary files for your application is as 
  follows: 
  openssl-0.9.6a/out32dll/ : ssleay32.dll  
  libeay32.dll  
   
   ssleay32.lib  
  libeay32.rls 
  openssl-0.9.6a/inc32/openssl - this directory contains all 
  head files needed 
  you can do this by two means first : 
  you copy the inc32/openssl to the vc include directory such as 
  D:\Program Files\Microsoft Visual 
  Studio\VC98\INCLUDE\openssl ... vc++ can find this 
  head file automaticly. this one seems much more easy 
  ..haha 
  second ..you make a directory called include parallel to your 
  project diectory.. copy openssl head files to this 
  directory .. then in your project setting: c++ 
  /preprocessor /additonal include directories ... add : ..\include 
  then all ok .. have a good time 
  
   
  
  -ÔʼÓʼþ- ·¢¼þÈË: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]´ú±í 
  Jordan C N Chong ·¢ËÍʱ¼ä: 2001Äê9ÔÂ10ÈÕ 15:43 
  ÊÕ¼þÈË: openss-user Ö÷Ìâ: Please 
  Help: Crypto library with Visual C++ 
  Dear All, 
   Thousand thanks for 
  your help. I really appreciate that. Your help really means a lot to me... 
   Now, the problem is 
  about the VC setting, 
   I am not sure how 
  to set the directory settings for the project 
   For example, I 
  copied all the files from the directory "crypto" in the "openssl-x-x" to another directory, and then rename it to "openssl". 
  I include the header file of envelope "evp/evp.h". But 
  when I compile the file, the compiler complains it 
  couldn't find the file "openssl/opensslconf.h" (which 
  exists in the "crypto" directory). 
   I hope you could 
  understand my problem. So... I am really confused on how to set up the directory. I don't want to modify all the header files. 
  Is there alternative ways? Please help. Thousand 
  thanks. Wish you all the best. 
  Best regards,  Jordan Cheun Ngen, Chong INF-4067 Universiteit 
  Twente Postbus 217 7500 AE 
  Enschede The Netherlands 
  Distributed and Embedded Systems (DIES)  Office Phone: +31 53 4894655 Web site: http://www.cs.utwente.nl/~chong Email Add.: [EMAIL PROTECTED]  
  __ 
  OpenSSL 
  Project 
  http://www.openssl.org User Support 
  Mailing 
  List 
  [EMAIL PROTECTED] Automated List 
  Manager 
  [EMAIL PROTECTED] 


RE: Please Help: Crypto library with Visual C++

2001-09-10 Thread Jordan C N Chong
Title: ??: Please Help: Crypto library with Visual C++



Dear 
Yong Yue

I am 
sorry to bother you again. The description is clear enough on the URL you gave 
me.
However, I looked at the BIO explanation on http://www.columbia.edu/~ariel/ssleay/bio.html
I am 
not sure how to read in some data from a file to the BIO 
filter/sink/source

Is 
there any example for this purpose?

I am 
really really terribly sorry to bother you. Thanks for your help. Wish you all 
the best.

Best 
regards,Jordan Cheun Ngen, 
ChongINF-4067 Universiteit TwentePostbus 2177500 AE EnschedeThe 
NetherlandsDistributed and Embedded Systems 
(DIES)Office Phone: +31 53 
4894655Web site: http://www.cs.utwente.nl/~chongEmail Add.: 
[EMAIL PROTECTED]

  -Original Message-From: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of YONG.YUESent: Monday, September 10, 2001 12:19 
  PMTo: '[EMAIL PROTECTED]'Subject: ??: Please 
  Help: Crypto library with Visual C++
  u can 
  follow this link: http://www.openssl.org/docs/crypto/BIO_f_base64.html#
  
-原始邮件-发件人: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED]]代表 Jordan C N 
Chong发送时间: 2001年9月10日 18:04收件人: 
[EMAIL PROTECTED]主题: RE: Please Help: Crypto library with 
Visual C++
thousand thanks for your help 
:D

it 
helps a lot and it works fine now...

Now, pls. one more thing,

I 
tried to decode a Base64 encoded string into 
the string is (for example) 
:KljL0/zpzt8Y/UtenpqyMPt3JjQTFV5uofM349JXCY1z2i08XKzTW7LlpgnPDLh48Trbq6b/TErJ3UwFvbo8TOf8l4Xnp9yI6RtTWJlVZzJ5+AnY7lKLThSq8fgpVqwnJGVjfIHev6AI9qKHT+8vhN9tTacdU6WkZ6oYiOTb0jE=

I 
am not sure how

Do 
you know where I could some example codes, or perhaps some references on 
this stuff?
very struggling indeed :)

Thanks again for everything.

Best 
regards,Jordan Cheun 
Ngen, ChongINF-4067 Universiteit TwentePostbus 2177500 AE 
EnschedeThe NetherlandsDistributed and Embedded Systems 
(DIES)Office Phone: +31 
53 4894655Web site: http://www.cs.utwente.nl/~chongEmail Add.: 
[EMAIL PROTECTED]

  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of 
  YONG.YUESent: Monday, September 10, 2001 11:17 
  AMTo: '[EMAIL PROTECTED]'Subject: ??: Please 
  Help: Crypto library with Visual C++
  i think all necessary files for your application is as 
  follows: 
  openssl-0.9.6a/out32dll/ : ssleay32.dll  
  libeay32.dll  
   
   ssleay32.lib  
  libeay32.rls 
  openssl-0.9.6a/inc32/openssl - this directory contains all 
  head files needed 
  you can do this by two means first 
  : you copy the inc32/openssl to the vc include directory such as 
  D:\Program Files\Microsoft Visual 
  Studio\VC98\INCLUDE\openssl ... vc++ can find this 
  head file automaticly. this one seems much more 
  easy ..haha 
  second ..you make a directory called include parallel to 
  your project diectory.. copy openssl head files to 
  this directory .. then in your project 
  setting: c++ /preprocessor /additonal include directories ... add : 
  ..\include 
  then all ok .. have a good 
  time 
   
  
  -ÔʼÓʼþ- ·¢¼þÈË: 
  [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]´ú±í 
  Jordan C N Chong ·¢ËÍʱ¼ä: 2001Äê9ÔÂ10ÈÕ 
  15:43 ÊÕ¼þÈË: openss-user Ö÷Ìâ: Please Help: Crypto library with Visual C++ 
  Dear All, 
   Thousand thanks 
  for your help. I really appreciate that. Your help really means a lot to me... 
   Now, the 
  problem is about the VC setting, 
   I am not sure 
  how to set the directory settings for the project 
   For example, I 
  copied all the files from the directory "crypto" in the "openssl-x-x" to another directory, and then rename it to 
  "openssl". I include the header file of envelope 
  "evp/evp.h". But when I compile the file, the 
  compiler complains it couldn't find the file "openssl/opensslconf.h" (which exists in the "crypto" 
  directory). 
   I hope you 
  could understand my problem. So... I am really confused on how 
  to set up the directory. I don't want to modify all the 
  header files. Is there alternative ways? Please 
  help. Thousand thanks. Wish you all the best. 
  Best regards,  Jordan Cheun Ngen, Chong INF-4067 
  Universiteit Twente Postbus 217 7500 AE Enschede The Netherlands 

  Distributed and Embedded Systems (DIES) 

RE: Please Help: Crypto

2001-09-05 Thread Jordan C N Chong

Dear Dirk,

 Have a look at http://www.iconsinc.com/~agray/ossldev/nt and pick the
 workspace for the version of OpenSSL you want to use (you'll still need to
 download the src tarball of OpenSSLvx.y.z).

 CU,
 Dirk

Thanks for your reply. I don't understand here.

All I wish to do is to use the OpenSSL cryptography library... but not
OpenSSL.. Although I have already installed the OpenSSL with Apache server
on my machine...
1. to do enc/decryption
2. signature generation and verification
3. certificate management

However I wish to know whether there is a specific direction on achieving
that... like:
1. how to use the provided OpenSSL crypto API?
2. any settings on VC++ 6.0 for that?
3. any library (.LIB) needed?
etc.

Please help.

Thanks.

__
OpenSSL Project http://www.openssl.org
User Support Mailing List[EMAIL PROTECTED]
Automated List Manager   [EMAIL PROTECTED]