summaryrefslogtreecommitdiff
path: root/platform/include
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2019-10-23 10:29:30 +0800
committerluwenpeng <[email protected]>2019-12-24 13:46:55 +0800
commit3a68352964d5ccda73a2d028811a093ffe34e630 (patch)
tree9190616eb2cff52c88dd9abd9fe6e5a24f6c7c80 /platform/include
parentfe7fc6fa9cbfeabf2b6b5127255dd8981a775143 (diff)
#177 在用户访问的过程中,获取未见到过、可信的中间证书
Diffstat (limited to 'platform/include')
-rw-r--r--platform/include/internal/ssl_fetch_cert.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/platform/include/internal/ssl_fetch_cert.h b/platform/include/internal/ssl_fetch_cert.h
new file mode 100644
index 0000000..750582e
--- /dev/null
+++ b/platform/include/internal/ssl_fetch_cert.h
@@ -0,0 +1,11 @@
+//
+// Created by lwp on 2019/10/16.
+//
+
+#ifndef TFE_SSL_FETCH_CERT_H
+#define TFE_SSL_FETCH_CERT_H
+
+void ssl_fetch_cert_url_by_aia(X509 *cert);
+void ssl_fetch_trusted_cert_from_chain(STACK_OF(X509) * cert_chain, X509_STORE *trusted_store);
+
+#endif //TFE_SSL_FETCH_CERT_H \ No newline at end of file