grpc
src
core
tsi
alts
frame_protector
alts_frame_protector.h
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2018 gRPC authors.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
#ifndef GRPC_CORE_TSI_ALTS_FRAME_PROTECTOR_ALTS_FRAME_PROTECTOR_H
20
#define GRPC_CORE_TSI_ALTS_FRAME_PROTECTOR_ALTS_FRAME_PROTECTOR_H
21
22
#include <
grpc/support/port_platform.h
>
23
24
#include <stdbool.h>
25
26
#include "
src/core/tsi/transport_security_interface.h
"
27
28
typedef
struct
alts_frame_protector
alts_frame_protector
;
29
50
tsi_result
alts_create_frame_protector
(
const
uint8_t
*
key
,
size_t
key_size,
51
bool
is_client,
bool
is_rekey,
52
size_t
*
max_protected_frame_size
,
53
tsi_frame_protector
**
self
);
54
55
#endif
/* GRPC_CORE_TSI_ALTS_FRAME_PROTECTOR_ALTS_FRAME_PROTECTOR_H */
uint8_t
unsigned char uint8_t
Definition:
stdint-msvc2008.h:78
alts_create_frame_protector
tsi_result alts_create_frame_protector(const uint8_t *key, size_t key_size, bool is_client, bool is_rekey, size_t *max_protected_frame_size, tsi_frame_protector **self)
Definition:
alts_frame_protector.cc:363
tsi_result
tsi_result
Definition:
transport_security_interface.h:31
transport_security_interface.h
alts_frame_protector::max_protected_frame_size
size_t max_protected_frame_size
Definition:
alts_frame_protector.cc:56
alts_frame_protector
Definition:
alts_frame_protector.cc:46
key
const char * key
Definition:
hpack_parser_table.cc:164
tsi_frame_protector
Definition:
transport_security.h:51
port_platform.h
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:40