PDA

View Full Version : Crypto Library Samples or examples?



windyweather
January 30th, 2008, 07:30 PM
I would like to build a signed file verifier for settings files for a program.

General outline would be to:

Create pub key pair.
Utility to Sign settings file [probably XML] using private key.
have a public key built into program.
When program reads the file, it verifies the signature to make sure it's authentic.


Looks like Crypto Library has what I need, but

I don't see Crypto Lib functions to create the certificates. Do I use OpenSSL functions to create X.509 certificates?
Does CryptoLib consume X.509 certs?
Can someone point me to samples of code that uses Crypto Lib to sign documents?


Thanks much,
Windy