mirror of
https://github.com/curl/curl.git
synced 2026-08-25 05:23:32 +03:00
CURLINFO_CERTINFO.3: better explain curl_certinfo struct
Closes https://github.com/curl/curl/pull/11666
This commit is contained in:
parent
24ad247107
commit
8843bef318
2 changed files with 27 additions and 14 deletions
|
|
@ -2824,13 +2824,14 @@ CURL_EXTERN void curl_slist_free_all(struct curl_slist *list);
|
|||
*/
|
||||
CURL_EXTERN time_t curl_getdate(const char *p, const time_t *unused);
|
||||
|
||||
/* info about the certificate chain, only for OpenSSL, GnuTLS, Schannel and
|
||||
NSS builds. Asked for with CURLOPT_CERTINFO / CURLINFO_CERTINFO */
|
||||
/* info about the certificate chain, for SSL backends that support it. Asked
|
||||
for with CURLOPT_CERTINFO / CURLINFO_CERTINFO */
|
||||
struct curl_certinfo {
|
||||
int num_of_certs; /* number of certificates with information */
|
||||
struct curl_slist **certinfo; /* for each index in this array, there's a
|
||||
linked list with textual information in the
|
||||
format "name: value" */
|
||||
linked list with textual information for a
|
||||
certificate in the format "name:content".
|
||||
eg "Subject:foo", "Issuer:bar", etc. */
|
||||
};
|
||||
|
||||
/* Information about the SSL library used and the respective internal SSL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue