GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/security/credentials/tls/tls_credentials.h"
#include <cstring>
#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/channel/channel_args.h"
#include "src/core/lib/security/security_connector/tls/tls_security_connector.h"
Macros | |
#define | GRPC_CREDENTIALS_TYPE_TLS "Tls" |
Functions | |
grpc_channel_credentials * | grpc_tls_credentials_create (grpc_tls_credentials_options *options) |
– Wrapper APIs declared in grpc_security.h – More... | |
grpc_server_credentials * | grpc_tls_server_credentials_create (grpc_tls_credentials_options *options) |
Creates a TLS server credential object based on the grpc_tls_credentials_options specified by callers. More... | |
#define GRPC_CREDENTIALS_TYPE_TLS "Tls" |
grpc_channel_credentials* grpc_tls_credentials_create | ( | grpc_tls_credentials_options * | options | ) |
– Wrapper APIs declared in grpc_security.h –
Creates a TLS channel credential object based on the grpc_tls_credentials_options specified by callers.
grpc_server_credentials* grpc_tls_server_credentials_create | ( | grpc_tls_credentials_options * | options | ) |
Creates a TLS server credential object based on the grpc_tls_credentials_options specified by callers.
The grpc_server_credentials will take the ownership of the |options|. It is used for experimental purpose for now and subject to change.