Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: GnuPG: users

verify signature between two files

 

 

GnuPG users RSS feed   Index | Next | Previous | View Threaded


ph at sevencs

Oct 23, 2009, 3:45 AM

Post #1 of 1 (458 views)
Permalink
verify signature between two files

Hello!

I am developing an application that needs to verify the signature between two files.
One File (*.asc) contains the PGP PUBLIC KEY, the other one contains the PGP SIGNATURE (*.asc or *.sig).
I have downloaded, installed and build libgpg-error1.7, libgcrypt-1.4.4, gnupg-1.4.10 and gpg_MadeEasy_1.1.8.

I have included the libpgpme-11.dll in my c++ project in MS Visual Studio 2005.

My question is:
Is there a method in the libpgpme-11.dll (or perhaps in any other dll) that I can call in my source code and give the method two parameters wich contains the path of the two files and wich can verify the signature between the two files?

For example:
// verify signature between PUBLIC_KEY file and PGP SIGNATURE file
verify_Signature( path of PUBLIC_KEY file, path of PGP SIGNATURE file );

Please let me know if there is a method as described above and where I can find it (if possible with little example).
If there is no such method available, please can you give me some information how I can solve this issue and where I can get more information about the described problem.

Many thanks and
best regards

knud

Knud Pehrs
Software-Development
SevenCs GmbH
Ruhrstrasse 90, D-22761 Hamburg
Tel. +49-(0)40 851 72 40
Fax. +49-(0)40 851 72 479
www.sevencs.com

Handelsregister: Amtsgericht Hamburg HRB 102941
Geschäftsführer: John Humphrey


_______________________________________________
Gnupg-users mailing list
Gnupg-users [at] gnupg
http://lists.gnupg.org/mailman/listinfo/gnupg-users

GnuPG users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.