Home
last modified time | relevance | path

Searched refs:load_pkcs1 (Results 1 – 8 of 8) sorted by relevance

/external/python/rsa/tests/
Dtest_load_save_keys.py82 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_DER, 'DER')
106 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_DER, 'DER')
132 key = rsa.key.PublicKey.load_pkcs1(PUBLIC_DER, 'DER')
153 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_PEM, 'PEM')
173 key = rsa.key.PublicKey.load_pkcs1(PUBLIC_PEM, 'PEM')
193 privkey = rsa.key.PrivateKey.load_pkcs1(keydata)
Dtest_pem.py68 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem)
72 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem.encode('ascii'))
86 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem)
100 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem.encode('ascii'))
Dtest_cli.py155 rsa.PrivateKey.load_pkcs1(pemfile.read())
171 rsa.PrivateKey.load_pkcs1(derfile.read(), format='DER')
190 rsa.PublicKey.load_pkcs1(pemfile.read())
293 key = rsa.PublicKey.load_pkcs1(pemfile.read())
/external/python/oauth2client/oauth2client/
D_pure_python_crypt.py122 pubkey = rsa.PublicKey.load_pkcs1(key_bytes, 'DER')
124 pubkey = rsa.PublicKey.load_pkcs1(key_pem, 'PEM')
171 pkey = rsa.key.PrivateKey.load_pkcs1(key_bytes,
179 pkey = rsa.key.PrivateKey.load_pkcs1(pkey_info.asOctets(),
/external/python/rsa/rsa/
Dutil.py65 priv_key = rsa.key.PrivateKey.load_pkcs1(in_data, cli.inform)
Dcli.py170 return self.key_class.load_pkcs1(keydata, keyform)
Dkey.py99 def load_pkcs1(cls, keyfile, format='PEM'): member in AbstractKey
/external/python/rsa/doc/
Dusage.rst35 Alternatively you can use :py:meth:`rsa.PrivateKey.load_pkcs1` and
36 :py:meth:`rsa.PublicKey.load_pkcs1` to load keys from a file:
41 >>> privkey = rsa.PrivateKey.load_pkcs1(keydata)