diff options
Diffstat (limited to 'include/netsurf/ssl_certs.h')
-rw-r--r-- | include/netsurf/ssl_certs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/netsurf/ssl_certs.h b/include/netsurf/ssl_certs.h index e3e418848..05ff13161 100644 --- a/include/netsurf/ssl_certs.h +++ b/include/netsurf/ssl_certs.h @@ -119,6 +119,14 @@ nserror cert_chain_dup(const struct cert_chain *src, struct cert_chain **dst_out nserror cert_chain_from_query(struct nsurl *url, struct cert_chain **chain_out); /** + * create a fetch query string from a certificate chain + * + * + * \return NSERROR_OK on success or NSERROR_NOMEM on memory exhaustion + */ +nserror cert_chain_to_query(struct cert_chain *chain, struct nsurl **url_out); + +/** * free a certificate chain * * \param chain The certificate chain to free |