Home
last modified time | relevance | path

Searched refs:save_pkcs1 (Results 1 – 7 of 7) sorted by relevance

/external/python/rsa/tests/
Dtest_pem.py82 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')))
Dtest_load_save_keys.py124 der = key.save_pkcs1('DER')
141 der = key.save_pkcs1('DER')
165 pem = key.save_pkcs1('PEM')
182 pem = key.save_pkcs1('PEM')
Dtest_cli.py100 outfile.write(cls.pub_key.save_pkcs1())
103 outfile.write(cls.priv_key.save_pkcs1())
/external/python/rsa/rsa/
Dcli.py73 data = pub_key.save_pkcs1(format=cli.form)
78 data = priv_key.save_pkcs1(format=cli.form)
Dutil.py69 out_data = pub_key.save_pkcs1(cli.outform)
Dkey.py132 def save_pkcs1(self, format='PEM'): member in AbstractKey
/external/python/rsa/
DCHANGELOG.txt13 - Ensured that PublicKey.save_pkcs1() and PrivateKey.save_pkcs1() always return bytes.