Am 19.11.2012 15:45, schrieb John Zavgren:

So, what is a list of easy-to-follow code examples? Here are some
suggestions:
1.) read private key and a message from a file: encrypt message with
private key, write encrypted buffer to (another) file.
2.) read cert and private key, read file, compute signature, etc.
3.) read file, read signature, read ca certs, validate signature.
4.) Example 3 + check CRL.
5.) Example 3 + check with OCSP responder.
???
I'm sure there are a LOT of CA related examples that would help, because
I find the creation of a CA to be one of the more painful exercises.

Well, many of these things are covered at least partially by the OpenSSL book from Viega et al. The book is somewhat outdated/incomplete but still my first reference when i have to implement a new cryptography related task with OpenSSL.

Best regards,
Richard

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to