summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libtls/man/tls_load_file.324
1 files changed, 11 insertions, 13 deletions
diff --git a/src/lib/libtls/man/tls_load_file.3 b/src/lib/libtls/man/tls_load_file.3
index d836a04723..e6956aeaa1 100644
--- a/src/lib/libtls/man/tls_load_file.3
+++ b/src/lib/libtls/man/tls_load_file.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_load_file.3,v 1.11 2018/11/29 14:24:23 tedu Exp $ 1.\" $OpenBSD: tls_load_file.3,v 1.12 2021/06/22 17:59:48 kn Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> 4.\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -17,7 +17,7 @@
17.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 17.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19.\" 19.\"
20.Dd $Mdocdate: November 29 2018 $ 20.Dd $Mdocdate: June 22 2021 $
21.Dt TLS_LOAD_FILE 3 21.Dt TLS_LOAD_FILE 3
22.Os 22.Os
23.Sh NAME 23.Sh NAME
@@ -217,8 +217,7 @@ call, ensuring that the memory contents is discarded.
217returns the path of the file that contains the default root certificates. 217returns the path of the file that contains the default root certificates.
218.Pp 218.Pp
219.Fn tls_config_set_ca_file 219.Fn tls_config_set_ca_file
220sets the filename used to load a file 220loads a file containing the root certificates.
221containing the root certificates.
222.Pp 221.Pp
223.Fn tls_config_set_ca_path 222.Fn tls_config_set_ca_path
224sets the path (directory) which should be searched for root 223sets the path (directory) which should be searched for root
@@ -228,41 +227,40 @@ certificates.
228sets the root certificates directly from memory. 227sets the root certificates directly from memory.
229.Pp 228.Pp
230.Fn tls_config_set_cert_file 229.Fn tls_config_set_cert_file
231sets file from which the public certificate will be read. 230loads a file containing the public certificate.
232.Pp 231.Pp
233.Fn tls_config_set_cert_mem 232.Fn tls_config_set_cert_mem
234sets the public certificate directly from memory. 233sets the public certificate directly from memory.
235.Pp 234.Pp
236.Fn tls_config_set_crl_file 235.Fn tls_config_set_crl_file
237sets the filename used to load a file containing the 236loads a file containing the Certificate Revocation List (CRL).
238Certificate Revocation List (CRL).
239.Pp 237.Pp
240.Fn tls_config_set_crl_mem 238.Fn tls_config_set_crl_mem
241sets the CRL directly from memory. 239sets the CRL directly from memory.
242.Pp 240.Pp
243.Fn tls_config_set_key_file 241.Fn tls_config_set_key_file
244sets the file from which the private key will be read. 242loads a file containing the private key.
245.Pp 243.Pp
246.Fn tls_config_set_key_mem 244.Fn tls_config_set_key_mem
247directly sets the private key from memory. 245directly sets the private key from memory.
248.Pp 246.Pp
249.Fn tls_config_set_ocsp_staple_file 247.Fn tls_config_set_ocsp_staple_file
250sets a DER-encoded OCSP response to be stapled during the TLS handshake from 248loads a file containing a DER-encoded OCSP response to be stapled
251the specified file. 249during the TLS handshake.
252.Pp 250.Pp
253.Fn tls_config_set_ocsp_staple_mem 251.Fn tls_config_set_ocsp_staple_mem
254sets a DER-encoded OCSP response to be stapled during the TLS handshake from 252sets a DER-encoded OCSP response to be stapled during the TLS handshake from
255memory. 253memory.
256.Pp 254.Pp
257.Fn tls_config_set_keypair_file 255.Fn tls_config_set_keypair_file
258sets the files from which the public certificate, and private key will be read. 256loads two files from which the public certificate, and private key will be read.
259.Pp 257.Pp
260.Fn tls_config_set_keypair_mem 258.Fn tls_config_set_keypair_mem
261directly sets the public certificate, and private key from memory. 259directly sets the public certificate, and private key from memory.
262.Pp 260.Pp
263.Fn tls_config_set_keypair_ocsp_file 261.Fn tls_config_set_keypair_ocsp_file
264sets the files from which the public certificate, private key, and DER-encoded 262loads three files containing the public certificate, private key,
265OCSP staple will be read. 263and DER-encoded OCSP staple.
266.Pp 264.Pp
267.Fn tls_config_set_keypair_ocsp_mem 265.Fn tls_config_set_keypair_ocsp_mem
268directly sets the public certificate, private key, and DER-encoded OCSP staple 266directly sets the public certificate, private key, and DER-encoded OCSP staple