Functions
alts_grpc_privacy_integrity_record_protocol.h File Reference
#include <grpc/support/port_platform.h>
#include <stdbool.h>
#include "src/core/tsi/alts/crypt/gsec.h"
#include "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h"
Include dependency graph for alts_grpc_privacy_integrity_record_protocol.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

tsi_result alts_grpc_privacy_integrity_record_protocol_create (gsec_aead_crypter *crypter, size_t overflow_size, bool is_client, bool is_protect, alts_grpc_record_protocol **rp)
 

Function Documentation

◆ alts_grpc_privacy_integrity_record_protocol_create()

tsi_result alts_grpc_privacy_integrity_record_protocol_create ( gsec_aead_crypter crypter,
size_t  overflow_size,
bool  is_client,
bool  is_protect,
alts_grpc_record_protocol **  rp 
)

This method creates a privacy-integrity alts_grpc_record_protocol instance, given a gsec_aead_crypter instance and a flag indicating if the created instance will be used at the client or server side. The ownership of gsec_aead_crypter instance is transferred to this new object.

This method returns TSI_OK in case of success or a specific error code in case of failure.

Definition at line 123 of file alts_grpc_privacy_integrity_record_protocol.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:02