GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/security/credentials/xds/xds_credentials.h"
#include "src/core/ext/filters/client_channel/lb_policy/xds/xds_channel_args.h"
#include "src/core/ext/xds/xds_certificate_provider.h"
#include "src/core/lib/security/credentials/tls/grpc_tls_credentials_options.h"
#include "src/core/lib/security/credentials/tls/tls_credentials.h"
#include "src/core/lib/security/credentials/tls/tls_utils.h"
#include "src/core/lib/uri/uri_parser.h"
Namespaces | |
grpc_core | |
Round Robin Policy. | |
Functions | |
bool | grpc_core::TestOnlyXdsVerifySubjectAlternativeNames (const char *const *subject_alternative_names, size_t subject_alternative_names_size, const std::vector< StringMatcher > &matchers) |
grpc_channel_credentials * | grpc_xds_credentials_create (grpc_channel_credentials *fallback_credentials) |
EXPERIMENTAL API - Subject to change. More... | |
grpc_server_credentials * | grpc_xds_server_credentials_create (grpc_server_credentials *fallback_credentials) |
EXPERIMENTAL API - Subject to change. More... | |
Variables | |
const char | grpc_core::kCredentialsTypeXds [] = "Xds" |
grpc_channel_credentials* grpc_xds_credentials_create | ( | grpc_channel_credentials * | fallback_credentials | ) |
EXPERIMENTAL API - Subject to change.
This method creates an xDS channel credentials object.
Creating a channel with credentials of this type indicates that the channel should get credentials configuration from the xDS control plane.
fallback_credentials are used if the channel target does not have the 'xds:///' scheme or if the xDS control plane does not provide information on how to fetch credentials dynamically. Does NOT take ownership of the fallback_credentials. (Internally takes a ref to the object.)
grpc_server_credentials* grpc_xds_server_credentials_create | ( | grpc_server_credentials * | fallback_credentials | ) |
EXPERIMENTAL API - Subject to change.
This method creates an xDS server credentials object.
fallback_credentials are used if the xDS control plane does not provide information on how to fetch credentials dynamically.
Does NOT take ownership of the fallback_credentials. (Internally takes a ref to the object.)