Searched refs:load_pkcs1 (Results 1 – 8 of 8) sorted by relevance
/external/python/rsa/tests/ |
D | test_load_save_keys.py | 82 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)
|
D | test_pem.py | 68 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'))
|
D | test_cli.py | 155 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.py | 122 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/ |
D | util.py | 65 priv_key = rsa.key.PrivateKey.load_pkcs1(in_data, cli.inform)
|
D | cli.py | 170 return self.key_class.load_pkcs1(keydata, keyform)
|
D | key.py | 99 def load_pkcs1(cls, keyfile, format='PEM'): member in AbstractKey
|
/external/python/rsa/doc/ |
D | usage.rst | 35 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)
|