Blame doc/man3/SSL_CTX_set_ctlog_list_file.pod

Packit c4476c
=pod
Packit c4476c
Packit c4476c
=head1 NAME
Packit c4476c
Packit c4476c
SSL_CTX_set_default_ctlog_list_file, SSL_CTX_set_ctlog_list_file -
Packit c4476c
load a Certificate Transparency log list from a file
Packit c4476c
Packit c4476c
=head1 SYNOPSIS
Packit c4476c
Packit c4476c
 #include <openssl/ssl.h>
Packit c4476c
Packit c4476c
 int SSL_CTX_set_default_ctlog_list_file(SSL_CTX *ctx);
Packit c4476c
 int SSL_CTX_set_ctlog_list_file(SSL_CTX *ctx, const char *path);
Packit c4476c
Packit c4476c
=head1 DESCRIPTION
Packit c4476c
Packit c4476c
SSL_CTX_set_default_ctlog_list_file() loads a list of Certificate Transparency
Packit c4476c
(CT) logs from the default file location, "ct_log_list.cnf", found in the
Packit c4476c
directory where OpenSSL is installed.
Packit c4476c
Packit c4476c
SSL_CTX_set_ctlog_list_file() loads a list of CT logs from a specific path.
Packit c4476c
See L<CTLOG_STORE_new(3)> for the file format.
Packit c4476c
Packit c4476c
=head1 NOTES
Packit c4476c
Packit c4476c
These functions will not clear the existing CT log list - it will be appended
Packit c4476c
to. To replace the existing list, use L<SSL_CTX_set0_ctlog_store> first.
Packit c4476c
Packit c4476c
If an error occurs whilst parsing a particular log entry in the file, that log
Packit c4476c
entry will be skipped.
Packit c4476c
Packit c4476c
=head1 RETURN VALUES
Packit c4476c
Packit c4476c
SSL_CTX_set_default_ctlog_list_file() and SSL_CTX_set_ctlog_list_file()
Packit c4476c
return 1 if the log list is successfully loaded, and 0 if an error occurs. In
Packit c4476c
the case of an error, the log list may have been partially loaded.
Packit c4476c
Packit c4476c
=head1 SEE ALSO
Packit c4476c
Packit c4476c
L<ssl(7)>,
Packit c4476c
L<SSL_CTX_set_ct_validation_callback(3)>,
Packit c4476c
L<CTLOG_STORE_new(3)>
Packit c4476c
Packit c4476c
=head1 COPYRIGHT
Packit c4476c
Packit c4476c
Copyright 2016-2019 The OpenSSL Project Authors. All Rights Reserved.
Packit c4476c
Packit c4476c
Licensed under the OpenSSL license (the "License").  You may not use
Packit c4476c
this file except in compliance with the License.  You can obtain a copy
Packit c4476c
in the file LICENSE in the source distribution or at
Packit c4476c
L<https://www.openssl.org/source/license.html>.
Packit c4476c
Packit c4476c
=cut