DeveloperSide.NET Forums
February 26, 2020, 07:13:15 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Using OpenSSL for Sign/Verify/Enc/Dec of files  (Read 13137 times)
0 Members and 1 Guest are viewing this topic.
ErikR
Member
*
Posts: 1


View Profile
« on: November 02, 2005, 09:38:49 PM »

Hello,

I put my goal up front:
I would like to link openSSL (ie. the cryptolib) to to my application to make my application Sign and Verify files (and encrypt/decrypt).
Platform is Windows and VS.NET.

So far I have (by means of OpenSSL.exe) created an CA-cert and a user's cert.
I have compiled the file sign.c (in .../crypto/pkcs7/) to sign a file. The asn1-parse assured me of the correctness of the signed file.
But how could I use verify.c (in the same directory) to do a verification?
The problem seems to be how to set up a cert-store?
Is a cert-store f.i. just a file with trusted CA-s?
Has anybody done this or does anyone have any hints on this problem?

I also have been looking for more documentation on the (pkcs7-) routines.
Is there an url for more doc?

Regards, Erik


By the way:
I am really amazed of this site. I downloaded the software and followed the guidelines. It compiled straight through - no complaints, and OpenSSL.exe ran and did what it should. Congratulations!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!