Files
GopherGate/target/doc/openssl_probe/index.html
2026-02-26 12:00:21 -05:00

5 lines
5.0 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `openssl_probe` crate."><title>openssl_probe - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../static.files/rustdoc-ca0dd0c4.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="openssl_probe" data-themes="" data-resource-suffix="" data-rustdoc-version="1.93.1 (01f6ddf75 2026-02-11) (Arch Linux rust 1:1.93.1-1)" data-channel="1.93.1" data-search-js="search-9e2438ea.js" data-stringdex-js="stringdex-a3946164.js" data-settings-js="settings-c38705f0.js" ><script src="../static.files/storage-e2aeef58.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-a410ff4d.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-044be391.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Crate openssl_probe</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../openssl_probe/index.html">openssl_<wbr>probe</a><span class="version">0.2.1</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section id="rustdoc-toc"><h3><a href="#structs">Crate Items</a></h3><ul class="block"><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><h1>Crate <span>openssl_<wbr>probe</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../src/openssl_probe/lib.rs.html#1-225">Source</a> </span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.ProbeResult.html" title="struct openssl_probe::ProbeResult">Probe<wbr>Result</a></dt></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.ENV_CERT_DIR.html" title="constant openssl_probe::ENV_CERT_DIR">ENV_<wbr>CERT_<wbr>DIR</a></dt><dd>The OpenSSL environment variable to configure what certificates directory to use.</dd><dt><a class="constant" href="constant.ENV_CERT_FILE.html" title="constant openssl_probe::ENV_CERT_FILE">ENV_<wbr>CERT_<wbr>FILE</a></dt><dd>The OpenSSL environment variable to configure what certificate file to use.</dd></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.candidate_cert_dirs.html" title="fn openssl_probe::candidate_cert_dirs">candidate_<wbr>cert_<wbr>dirs</a></dt><dd>Probe the system for the directory in which CA certificates should likely be
found.</dd><dt><a class="fn" href="fn.has_ssl_cert_env_vars.html" title="fn openssl_probe::has_ssl_cert_env_vars">has_<wbr>ssl_<wbr>cert_<wbr>env_<wbr>vars</a></dt><dd>Check whether the OpenSSL <code>SSL_CERT_FILE</code> and/or <code>SSL_CERT_DIR</code> environment variable is
configured in this process with an existing file or directory.</dd><dt><a class="fn" href="fn.probe.html" title="fn openssl_probe::probe">probe</a></dt><dd>Probe the current system for the “cert file” and “cert dir” variables that
OpenSSL typically requires.</dd><dt><a class="fn" href="fn.try_init_openssl_env_vars.html" title="fn openssl_probe::try_init_openssl_env_vars">try_<wbr>init_<wbr>openssl_<wbr>env_<wbr>vars</a><sup title="unsafe function"></sup></dt><dd>Probe for SSL certificates on the system, then configure the SSL certificate <code>SSL_CERT_FILE</code>
and <code>SSL_CERT_DIR</code> environment variables in this process for OpenSSL to use.</dd></dl></section></div></main></body></html>