Home
last modified time | relevance | path

Searched refs:private_key_string (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudfront/
Ddistribution.py511 private_key_file=None, private_key_string=None): argument
568 private_key_string=private_key_string)
586 private_key_file=None, private_key_string=None): argument
609 signature = self._sign_string(policy, private_key_file, private_key_string)
650 def _sign_string(message, private_key_file=None, private_key_string=None): argument
662 if private_key_file and private_key_string:
664 if not private_key_file and not private_key_string:
667 if private_key_string is None:
670 private_key_string = file_handle.read()
673 private_key_string = private_key_file.read()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudfront/
Dtest_signed_urls.py96 sig = self.dist._sign_string(self.canned_policy, private_key_string=self.pk_str)
157 sig = self.dist._sign_string(unicode_policy, private_key_string=self.pk_str)
169 sig = self.dist._sign_string(self.custom_policy_1, private_key_string=self.pk_str)
181 sig = self.dist._sign_string(self.custom_policy_2, private_key_string=self.pk_str)
350 …ms = self.dist._create_signing_params(url, self.pk_id, expire_time, private_key_string=self.pk_str)
365 url, self.pk_id, expire_time, private_key_string=self.pk_str)