#include <grpc/support/port_platform.h>#include <stdbool.h>#include "src/core/tsi/transport_security_grpc.h"

Go to the source code of this file.
Functions | |
| tsi_result | alts_zero_copy_grpc_protector_create (const uint8_t *key, size_t key_size, bool is_rekey, bool is_client, bool is_integrity_only, bool enable_extra_copy, size_t *max_protected_frame_size, tsi_zero_copy_grpc_protector **protector) |
| tsi_result alts_zero_copy_grpc_protector_create | ( | const uint8_t * | key, |
| size_t | key_size, | ||
| bool | is_rekey, | ||
| bool | is_client, | ||
| bool | is_integrity_only, | ||
| bool | enable_extra_copy, | ||
| size_t * | max_protected_frame_size, | ||
| tsi_zero_copy_grpc_protector ** | protector | ||
| ) |
This method creates an ALTS zero-copy grpc protector.
This method returns TSI_OK on success or a specific error code otherwise.
Definition at line 260 of file alts_zero_copy_grpc_protector.cc.