Home
last modified time | relevance | path

Searched refs:grpc_base64_encode (Results 1 – 6 of 6) sorted by relevance

/external/grpc-grpc/test/core/slice/
Db64_test.cc47 grpc_base64_encode(hello, strlen(hello), url_safe, multiline); in test_simple_encode_decode_b64()
69 b64 = grpc_base64_encode(orig, sizeof(orig) - i, url_safe, multiline); in test_full_range_encode_decode_b64()
120 b64 = grpc_base64_encode(orig, sizeof(orig), url_safe, 0); in test_url_safe_unsafe_mismatch_failure()
126 b64 = grpc_base64_encode(orig, sizeof(orig), !url_safe, 0); in test_url_safe_unsafe_mismatch_failure()
136 b64 = grpc_base64_encode("", 0, 0, 0); in test_rfc4648_test_vectors()
140 b64 = grpc_base64_encode("f", 1, 0, 0); in test_rfc4648_test_vectors()
144 b64 = grpc_base64_encode("fo", 2, 0, 0); in test_rfc4648_test_vectors()
148 b64 = grpc_base64_encode("foo", 3, 0, 0); in test_rfc4648_test_vectors()
152 b64 = grpc_base64_encode("foob", 4, 0, 0); in test_rfc4648_test_vectors()
156 b64 = grpc_base64_encode("fooba", 5, 0, 0); in test_rfc4648_test_vectors()
[all …]
/external/grpc-grpc/src/core/lib/security/credentials/jwt/
Djson_token.cc175 result = grpc_base64_encode(json_str, strlen(json_str), 1, 0); in encoded_jwt_header()
214 result = grpc_base64_encode(json_str, strlen(json_str), 1, 0); in encoded_jwt_claim()
282 result = grpc_base64_encode(sig, sig_len, 1, 0); in compute_and_encode_signature()
/external/grpc-grpc/src/core/lib/slice/
Db64.h29 char* grpc_base64_encode(const void* data, size_t data_size, int url_safe,
Db64.cc59 char* grpc_base64_encode(const void* vdata, size_t data_size, int url_safe, in grpc_base64_encode() function
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dhttp_proxy.cc173 grpc_base64_encode(user_cred, strlen(user_cred), 0, 0); in proxy_mapper_map_name()
/external/grpc-grpc/test/core/security/
Djwt_verifier_test.cc530 bad_b64_sig = grpc_base64_encode(GRPC_SLICE_START_PTR(sig), in corrupt_jwt_sig()