Signer - PGPsdk Detached signing sample

Version: 1.0

Written by: Vinne Moscaritolo

Signer is a CodeWarrior C sample that demonstrates how to use the PGPsdk to sign and later verify discontiguous blocks of data. when run, it will post the PGP signing dialog prompting the user to select a key and enter the approp passphrase.. it will then display the key fingerprint and calculate the signature.

Later, it will re-calculate the hash for the data, scan the key database for the appropriate key and then do a low level verify.

This sample only does signing and verification, and NO encryption, thus it does not violate ITAR or any export control laws. It does however use the PGPsdk, which you will have to obtain from PGP from thier PGPsdk website.


 
Signed by "The President's Humidor"
FP: [20]    2EE1 968E F180 05B4 BFAA DED0 628C 236F 
            AF6E F310 
Sig:[44]    009E 37D6 C7F6 9FB4 B9BE 813F 0E13 E142 
            B568 DD08 6FB5 00A0 91F1 0D89 1563 7E55 
            49BB 7269 095A EA8A 10FB C23D 
Verified

Cool, download It.


Back to my homepage

Comments (vinnie@vmeng.com)