cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] CURLOPT_CERTINFO + CURLINFO_CERTINFO

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 Aug 2008 12:37:30 +0200 (CEST)

Hello friends!

Here's my current work in progress patch for the new CURLOPT_CERTINFO +
CURLINFO_CERTINFO feature set. It allows libcurl to collect an extensive set
of info for the certificate chain of a TLS/SSL server and an API for apps to
extract this info.

The patch includes documentation and an example source code.

Unfortunately, this functionality is currently only provided for libcurl built
aginst OpenSSL, but I'll welcome all help and feedback necessary to make it
work with GnuTLS and NSS as well. I want to address the other libs before
introducing the feature just to make sure that the data returned is identical
or at least similar, independently of the underlying lib.

Feedback, comments?

-- 
  / daniel.haxx.se

Received on 2008-08-07