X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fman3%2FSSL_CTX_add_extra_chain_cert.pod;h=b1554446ee0fa4dac6c3d9d9472b00c988373003;hp=e2783de9c770795a440113026da32fce49d41404;hb=7674e92324648b59786d86d8e9014bbaed4e6d07;hpb=99d63d4662e16afbeff49f29b48f1c87d5558ed0 diff --git a/doc/man3/SSL_CTX_add_extra_chain_cert.pod b/doc/man3/SSL_CTX_add_extra_chain_cert.pod index e2783de9c7..b1554446ee 100644 --- a/doc/man3/SSL_CTX_add_extra_chain_cert.pod +++ b/doc/man3/SSL_CTX_add_extra_chain_cert.pod @@ -2,14 +2,19 @@ =head1 NAME -SSL_CTX_add_extra_chain_cert, SSL_CTX_clear_extra_chain_certs - add or clear -extra chain certificates +SSL_CTX_add_extra_chain_cert, +SSL_CTX_get_extra_chain_certs, +SSL_CTX_get_extra_chain_certs_only, +SSL_CTX_clear_extra_chain_certs +- add, get or clear extra chain certificates =head1 SYNOPSIS #include long SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *x509); + long SSL_CTX_get_extra_chain_certs(SSL_CTX *ctx, STACK_OF(X509) **sk); + long SSL_CTX_get_extra_chain_certs_only(SSL_CTX *ctx, STACK_OF(X509) **sk); long SSL_CTX_clear_extra_chain_certs(SSL_CTX *ctx); =head1 DESCRIPTION @@ -18,6 +23,15 @@ SSL_CTX_add_extra_chain_cert() adds the certificate B to the extra chain certificates associated with B. Several certificates can be added one after another. +SSL_CTX_get_extra_chain_certs() retrieves the extra chain certificates +associated with B, or the chain associated with the current certificate +of B if the extra chain is empty. +The returned stack should not be freed by the caller. + +SSL_CTX_get_extra_chain_certs_only() retrieves the extra chain certificates +associated with B. +The returned stack should not be freed by the caller. + SSL_CTX_clear_extra_chain_certs() clears all extra chain certificates associated with B. @@ -53,7 +67,7 @@ reason for failure. =head1 SEE ALSO -L, +L, L, L, L @@ -70,9 +84,9 @@ L =head1 COPYRIGHT -Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved. +Copyright 2000-2018 The OpenSSL Project Authors. All Rights Reserved. -Licensed under the OpenSSL license (the "License"). You may not use +Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at L.