]> git.ipfire.org Git - thirdparty/openssl.git/blame - doc/man3/SSL_CTX_set_ctlog_list_file.pod
Implement EVP_MAC_do_all_ex()
[thirdparty/openssl.git] / doc / man3 / SSL_CTX_set_ctlog_list_file.pod
CommitLineData
238d692c
RP
1=pod
2
3=head1 NAME
4
5SSL_CTX_set_default_ctlog_list_file, SSL_CTX_set_ctlog_list_file -
6load a Certificate Transparency log list from a file
7
8=head1 SYNOPSIS
9
10 #include <openssl/ssl.h>
11
12 int SSL_CTX_set_default_ctlog_list_file(SSL_CTX *ctx);
13 int SSL_CTX_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
14
15=head1 DESCRIPTION
16
17SSL_CTX_set_default_ctlog_list_file() loads a list of Certificate Transparency
18(CT) logs from the default file location, "ct_log_list.cnf", found in the
19directory where OpenSSL is installed.
20
56f3f714
RP
21SSL_CTX_set_ctlog_list_file() loads a list of CT logs from a specific path.
22See L<CTLOG_STORE_new(3)> for the file format.
238d692c
RP
23
24=head1 NOTES
25
26These functions will not clear the existing CT log list - it will be appended
df443918 27to. To replace the existing list, use L<SSL_CTX_set0_ctlog_store> first.
238d692c 28
238d692c
RP
29If an error occurs whilst parsing a particular log entry in the file, that log
30entry will be skipped.
31
32=head1 RETURN VALUES
33
34SSL_CTX_set_default_ctlog_list_file() and SSL_CTX_set_ctlog_list_file()
35return 1 if the log list is successfully loaded, and 0 if an error occurs. In
36the case of an error, the log list may have been partially loaded.
37
38=head1 SEE ALSO
39
b97fdb57 40L<ssl(7)>,
56f3f714
RP
41L<SSL_CTX_set_ct_validation_callback(3)>,
42L<CTLOG_STORE_new(3)>
238d692c 43
e2f92610
RS
44=head1 COPYRIGHT
45
46Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
47
4746f25a 48Licensed under the Apache License 2.0 (the "License"). You may not use
e2f92610
RS
49this file except in compliance with the License. You can obtain a copy
50in the file LICENSE in the source distribution or at
51L<https://www.openssl.org/source/license.html>.
52
53=cut