Searched refs:save_pkcs1 (Results 1 – 7 of 7) sorted by relevance
82 self.assertTrue(is_bytes(key.save_pkcs1(format='DER')))83 self.assertTrue(is_bytes(key.save_pkcs1(format='PEM')))87 self.assertTrue(is_bytes(key.save_pkcs1(format='DER')))88 self.assertTrue(is_bytes(key.save_pkcs1(format='PEM')))96 self.assertTrue(is_bytes(key.save_pkcs1(format='DER')))97 self.assertTrue(is_bytes(key.save_pkcs1(format='PEM')))101 self.assertTrue(is_bytes(key.save_pkcs1(format='DER')))102 self.assertTrue(is_bytes(key.save_pkcs1(format='PEM')))
124 der = key.save_pkcs1('DER')141 der = key.save_pkcs1('DER')165 pem = key.save_pkcs1('PEM')182 pem = key.save_pkcs1('PEM')
100 outfile.write(cls.pub_key.save_pkcs1())103 outfile.write(cls.priv_key.save_pkcs1())
73 data = pub_key.save_pkcs1(format=cli.form)78 data = priv_key.save_pkcs1(format=cli.form)
69 out_data = pub_key.save_pkcs1(cli.outform)
132 def save_pkcs1(self, format='PEM'): member in AbstractKey
13 - Ensured that PublicKey.save_pkcs1() and PrivateKey.save_pkcs1() always return bytes.