schannel: add CA cache support for files and memory blobs

- Support CA bundle and blob caching.

Cache timeout is 24 hours or can be set via CURLOPT_CA_CACHE_TIMEOUT.

Closes https://github.com/curl/curl/pull/12261
This commit is contained in:
Andrew Kurushin 2023-11-03 18:25:00 +03:00 committed by Jay Satiro
parent ad6fc6414d
commit 1af46f2f93
4 changed files with 204 additions and 26 deletions

View file

@ -68,8 +68,8 @@ if(curl) {
.SH AVAILABILITY
This option was added in curl 7.87.0.
Currently the only SSL backend to implement this certificate store caching
functionality is the OpenSSL (and forks) backend.
This option is supported by OpenSSL and its forks (since 7.87.0) and Schannel
(since 8.5.0).
.SH RETURN VALUE
Returns CURLE_OK
.SH "SEE ALSO"