GRPC C++  1.30.0
Data Structures | Public Member Functions
grpc_impl::experimental::TlsKeyMaterialsConfig Class Reference

TLS key materials config, wrapper for grpc_tls_key_materials_config. More...

#include <tls_credentials_options.h>

Data Structures

struct  PemKeyCertPair
 

Public Member Functions

const grpc::string pem_root_certs () const
 Getters for member fields. More...
 
const std::vector< PemKeyCertPair > & pem_key_cert_pair_list () const
 
int version () const
 
void set_pem_root_certs (const grpc::string &pem_root_certs)
 Setter for key materials that will be called by the user. More...
 
void add_pem_key_cert_pair (const PemKeyCertPair &pem_key_cert_pair)
 
void set_key_materials (const grpc::string &pem_root_certs, const std::vector< PemKeyCertPair > &pem_key_cert_pair_list)
 
void set_version (int version)
 

Detailed Description

TLS key materials config, wrapper for grpc_tls_key_materials_config.

It is used for experimental purposes for now and subject to change.

Member Function Documentation

◆ add_pem_key_cert_pair()

void grpc_impl::experimental::TlsKeyMaterialsConfig::add_pem_key_cert_pair ( const PemKeyCertPair pem_key_cert_pair)

◆ pem_key_cert_pair_list()

const std::vector<PemKeyCertPair>& grpc_impl::experimental::TlsKeyMaterialsConfig::pem_key_cert_pair_list ( ) const
inline

◆ pem_root_certs()

const grpc::string grpc_impl::experimental::TlsKeyMaterialsConfig::pem_root_certs ( ) const
inline

Getters for member fields.

◆ set_key_materials()

void grpc_impl::experimental::TlsKeyMaterialsConfig::set_key_materials ( const grpc::string pem_root_certs,
const std::vector< PemKeyCertPair > &  pem_key_cert_pair_list 
)

◆ set_pem_root_certs()

void grpc_impl::experimental::TlsKeyMaterialsConfig::set_pem_root_certs ( const grpc::string pem_root_certs)

Setter for key materials that will be called by the user.

Ownership of the arguments will not be transferred.

◆ set_version()

void grpc_impl::experimental::TlsKeyMaterialsConfig::set_version ( int  version)
inline

◆ version()

int grpc_impl::experimental::TlsKeyMaterialsConfig::version ( ) const
inline

The documentation for this class was generated from the following file: