GRPC C++
1.30.0
|
TLS credential reload arguments, wraps grpc_tls_credential_reload_arg. More...
#include <tls_credentials_options.h>
TLS credential reload arguments, wraps grpc_tls_credential_reload_arg.
It is used for experimental purposes for now and it is subject to change.
The credential reload arg contains all the info necessary to schedule/cancel a credential reload request. The callback function must be called after finishing the schedule operation. See the description of the grpc_tls_credential_reload_arg struct in grpc_security.h for more details.
grpc_impl::experimental::TlsCredentialReloadArg::TlsCredentialReloadArg | ( | grpc_tls_credential_reload_arg * | arg | ) |
TlsCredentialReloadArg does not take ownership of the C arg that is passed to the constructor.
One must remember to free any memory allocated to the C arg after using the setter functions below.
grpc_impl::experimental::TlsCredentialReloadArg::~TlsCredentialReloadArg | ( | ) |
void grpc_impl::experimental::TlsCredentialReloadArg::add_pem_key_cert_pair | ( | const TlsKeyMaterialsConfig::PemKeyCertPair & | pem_key_cert_pair | ) |
void* grpc_impl::experimental::TlsCredentialReloadArg::cb_user_data | ( | ) | const |
Getters for member fields.
grpc::string grpc_impl::experimental::TlsCredentialReloadArg::error_details | ( | ) | const |
bool grpc_impl::experimental::TlsCredentialReloadArg::is_pem_key_cert_pair_list_empty | ( | ) | const |
void grpc_impl::experimental::TlsCredentialReloadArg::OnCredentialReloadDoneCallback | ( | ) |
Calls the C arg's callback function.
void grpc_impl::experimental::TlsCredentialReloadArg::set_cb_user_data | ( | void * | cb_user_data | ) |
Setters for member fields.
Ownership of the arguments will not be transferred.
void grpc_impl::experimental::TlsCredentialReloadArg::set_error_details | ( | const grpc::string & | error_details | ) |
void grpc_impl::experimental::TlsCredentialReloadArg::set_key_materials | ( | const grpc::string & | pem_root_certs, |
std::vector< TlsKeyMaterialsConfig::PemKeyCertPair > | pem_key_cert_pair_list | ||
) |
void grpc_impl::experimental::TlsCredentialReloadArg::set_key_materials_config | ( | const std::shared_ptr< TlsKeyMaterialsConfig > & | key_materials_config | ) |
void grpc_impl::experimental::TlsCredentialReloadArg::set_pem_root_certs | ( | const grpc::string & | pem_root_certs | ) |
void grpc_impl::experimental::TlsCredentialReloadArg::set_status | ( | grpc_ssl_certificate_config_reload_status | status | ) |
grpc_ssl_certificate_config_reload_status grpc_impl::experimental::TlsCredentialReloadArg::status | ( | ) | const |