Searched refs:encoded_header (Results 1 – 4 of 4) sorted by relevance
75 std::string encoded_header; in SerializeCacheEntryToBufferSlices() local76 if (!header.AppendToString(&encoded_header)) { in SerializeCacheEntryToBufferSlices()79 ::grpc::Slice slice(encoded_header); in SerializeCacheEntryToBufferSlices()136 std::string encoded_header; in SerializeCacheEntryToBufferSlices() local137 if (!header.AppendToString(&encoded_header)) { in SerializeCacheEntryToBufferSlices()141 return std::vector<::grpc::Slice>{::grpc::Slice(encoded_header)}; in SerializeCacheEntryToBufferSlices()
212 string encoded_claim, encoded_header; in GetTokenFromServiceAccountJson() local213 TF_RETURN_IF_ERROR(EncodeJwtHeader(private_key_id, &encoded_header)); in GetTokenFromServiceAccountJson()216 const string to_sign = encoded_header + "." + encoded_claim; in GetTokenFromServiceAccountJson()
147 encoded_header, encoded_payload, signature = token.split(b".")148 signed_section = encoded_header + b"." + encoded_payload152 header = _decode_jwt_segment(encoded_header)
4395 encoded_header = quoprimime.header_encode(header)4397 encoded_header = quoprimime.header_encode(header, charset)4398 self.assertEqual(encoded_header, expected_encoded_header)4418 def _test_header_decode(self, encoded_header, expected_decoded_header): argument4419 decoded_header = quoprimime.header_decode(encoded_header)