Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/tests/
Dtest_crypt.py53 pem_contents = crypt.pkcs12_key_as_pem(credentials.private_key,
55 pkcs12_key_as_pem = datafile('pem_from_pkcs12.pem')
56 pkcs12_key_as_pem = crypt._parse_pem_key(pkcs12_key_as_pem)
58 self.assertTrue(pem_contents in [pkcs12_key_as_pem, alternate_pem])
73 self.assertRaises(NotImplementedError, crypt.pkcs12_key_as_pem,
84 self.assertRaises(crypto.Error, crypt.pkcs12_key_as_pem,
/external/chromium-trace/catapult/third_party/gsutil/third_party/oauth2client/oauth2client/
Dcrypt.py173 def pkcs12_key_as_pem(private_key_text, private_key_password): function
194 def pkcs12_key_as_pem(*args, **kwargs): function