Home
last modified time | relevance | path

Searched refs:private_key_file (Results 1 – 5 of 5) 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
567 policy_url=policy_url, private_key_file=private_key_file,
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:
668 if isinstance(private_key_file, six.string_types):
669 with open(private_key_file, 'r') as file_handle:
673 private_key_string = private_key_file.read()
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_crypt.py40 def _make_signed_jwt_creds(self, private_key_file='privatekey.p12', argument
42 private_key = private_key or datafile(private_key_file)
Dtest_jwt.py66 def _check_sign_and_verify(self, private_key_file): argument
67 private_key = datafile(private_key_file)
/external/chromium-trace/catapult/third_party/gsutil/third_party/gcs-oauth2-boto-plugin/gcs_oauth2_boto_plugin/
Doauth2_helper.py78 with open(private_key_filename, 'rb') as private_key_file:
79 private_key = private_key_file.read()
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudfront/
Dtest_signed_urls.py112 sig = self.dist._sign_string(self.canned_policy, private_key_file=pk_file)
128 sig = self.dist._sign_string(self.canned_policy, private_key_file=pk_file.name)
144 sig = self.dist._sign_string(self.canned_policy, private_key_file=pk_file)