Searched refs:_from_bytes (Results 1 – 12 of 12) sorted by relevance
70 self.assertEqual(_helpers._from_bytes(value), value)75 self.assertEqual(_helpers._from_bytes(value), decoded_value)80 _helpers._from_bytes(value)
85 public_key = _helpers._from_bytes(self._load_public_key_bytes())99 public_cert = _helpers._from_bytes(self._load_public_cert_bytes())143 key_bytes = _helpers._from_bytes(self._load_pkcs1_key_bytes())157 six.StringIO(_helpers._from_bytes(key_bytes)),170 key_bytes = _helpers._from_bytes(self._load_pkcs8_key_bytes())
201 src = _helpers._from_bytes(src)
300 json_data_as_unicode = _helpers._from_bytes(json_data)625 data = json.loads(_helpers._from_bytes(json_data))798 content = _helpers._from_bytes(content)869 d = json.loads(_helpers._from_bytes(content))908 content = _helpers._from_bytes(content)974 data = json.loads(_helpers._from_bytes(json_data))1142 data = json.loads(_helpers._from_bytes(json_data))1577 certs = json.loads(_helpers._from_bytes(content))1604 _helpers._from_bytes(_helpers._urlsafe_b64decode(segments[1])))1621 content = _helpers._from_bytes(content)[all …]
74 def _from_bytes(value): function
166 key = _helpers._from_bytes(key) # pem expects str in Py3
237 payload_dict = json.loads(_helpers._from_bytes(payload_bytes))
437 json_data = json.loads(_helpers._from_bytes(json_data))
27 from oauth2client._helpers import _from_bytes39 self.pickle_str = _from_bytes(
65 decoded = _helpers._from_bytes(content)
180 encoded_credential = _helpers._from_bytes(base64.b64encode(
159 resp_buffer += _helpers._from_bytes(