Searched refs:pkcs12_key_as_pem (Results 1 – 2 of 2) sorted by relevance
53 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,
173 def pkcs12_key_as_pem(private_key_text, private_key_password): function194 def pkcs12_key_as_pem(*args, **kwargs): function