Home
last modified time | relevance | path

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

/external/python/rsa/tests/
Dtest_pem.py79 self.assertIsInstance(key.save_pkcs1(format='DER'), bytes)
80 self.assertIsInstance(key.save_pkcs1(format='PEM'), bytes)
84 self.assertIsInstance(key.save_pkcs1(format='DER'), bytes)
85 self.assertIsInstance(key.save_pkcs1(format='PEM'), bytes)
93 self.assertIsInstance(key.save_pkcs1(format='DER'), bytes)
94 self.assertIsInstance(key.save_pkcs1(format='PEM'), bytes)
98 self.assertIsInstance(key.save_pkcs1(format='DER'), bytes)
99 self.assertIsInstance(key.save_pkcs1(format='PEM'), bytes)
Dtest_load_save_keys.py121 der = key.save_pkcs1('DER')
138 der = key.save_pkcs1('DER')
162 pem = key.save_pkcs1('PEM')
179 pem = key.save_pkcs1('PEM')
Dtest_cli.py90 outfile.write(cls.pub_key.save_pkcs1())
93 outfile.write(cls.priv_key.save_pkcs1())
/external/python/rsa/rsa/
Dutil.py65 out_data = pub_key.save_pkcs1(cli.outform)
Dcli.py72 data = pub_key.save_pkcs1(format=cli.form)
77 data = priv_key.save_pkcs1(format=cli.form)
Dkey.py134 def save_pkcs1(self, format: str = 'PEM') -> bytes: member in AbstractKey
/external/python/rsa/
DCHANGELOG.md82 - Ensured that PublicKey.save_pkcs1() and PrivateKey.save_pkcs1() always return bytes.