GRPC Core
9.0.0
|
#include <grpc/support/port_platform.h>
#include "src/core/lib/security/credentials/tls/spiffe_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/spiffe_security_connector.h"
Macros | |
#define | GRPC_CREDENTIALS_TYPE_SPIFFE "Spiffe" |
Functions | |
grpc_channel_credentials * | grpc_tls_spiffe_credentials_create (grpc_tls_credentials_options *options) |
— SPIFFE channel/server credentials — More... | |
grpc_server_credentials * | grpc_tls_spiffe_server_credentials_create (grpc_tls_credentials_options *options) |
This method creates a TLS server credential object. More... | |
#define GRPC_CREDENTIALS_TYPE_SPIFFE "Spiffe" |
grpc_channel_credentials* grpc_tls_spiffe_credentials_create | ( | grpc_tls_credentials_options * | options | ) |
— SPIFFE channel/server credentials —
This method creates a TLS SPIFFE channel credential object. It takes ownership of the options parameter.
It returns the created credential object.
It is used for experimental purpose for now and subject to change.
grpc_server_credentials* grpc_tls_spiffe_server_credentials_create | ( | grpc_tls_credentials_options * | options | ) |
This method creates a TLS server credential object.
It takes ownership of the options parameter.
It returns the created credential object.
It is used for experimental purpose for now and subject to change.