#include <grpc/support/port_platform.h>#include "src/core/lib/security/credentials/tls/grpc_tls_certificate_distributor.h"#include <algorithm>#include <vector>#include <grpc/grpc_security.h>#include <grpc/support/log.h>
Go to the source code of this file.
Functions | |
| void | grpc_tls_identity_pairs_add_pair (grpc_tls_identity_pairs *pairs, const char *private_key, const char *cert_chain) |
| grpc_tls_identity_pairs * | grpc_tls_identity_pairs_create () |
| void | grpc_tls_identity_pairs_destroy (grpc_tls_identity_pairs *pairs) |
| void grpc_tls_identity_pairs_add_pair | ( | grpc_tls_identity_pairs * | pairs, |
| const char * | private_key, | ||
| const char * | cert_chain | ||
| ) |
EXPERIMENTAL API - Subject to change
Adds a identity private key and a identity certificate chain to grpc_tls_identity_pairs. This function will make an internal copy of |private_key| and |cert_chain|.
Definition at line 336 of file grpc_tls_certificate_distributor.cc.
| grpc_tls_identity_pairs* grpc_tls_identity_pairs_create | ( | ) |
– Wrapper APIs declared in grpc_security.h –
Definition at line 332 of file grpc_tls_certificate_distributor.cc.
| void grpc_tls_identity_pairs_destroy | ( | grpc_tls_identity_pairs * | pairs | ) |
EXPERIMENTAL API - Subject to change
Destroys a grpc_tls_identity_pairs object. If this object is passed to a provider initiation function, the ownership is transferred so this function doesn't need to be called. Otherwise the creator of the grpc_tls_identity_pairs object is responsible for its destruction.
Definition at line 345 of file grpc_tls_certificate_distributor.cc.