config_get_binding_domain_tls_cert

March 26, 2020 Contributors

Name

config_get_binding_domain_tls_cert — Get TLS certification data

Synopsis

#include "ec_config.h"

| char * **config_get_tls_cert** ( | caller_scope, |   |
|   | binding, |   |
|   | domain); |   |

generic_module_infrastructure * <var class="pdparam">caller_scope</var>;
int <var class="pdparam">binding</var>;
const char * <var class="pdparam">domain</var>;

Description

Get the TLS certification data for the specified domain and binding configuration.

Note

The caller_scope argument is virtually always NULL; there is no reason for a consumer to make it anything else.

Parameters

caller_scope

A pointer to a generic_module_infrastructure struct.

binding

The binding identifier. See config_get_binding_id_from_name.

domain

The domain name.

Return Values

This function returns the TLS certification data.

Threading

It is legal to call this function in any thread.

See Also

“generic_module_infrastructure”, tls_certificate, config_get_binding_domain_tls_verify, config_get_binding_domain_tls_ca, config_get_binding_domain_tls_ciphers, config_get_binding_domain_tls_key and config_get_binding_domain_use_tls