Searched refs:load_pkcs1 (Results 1 – 9 of 9) sorted by relevance
/external/python/rsa/tests/ |
D | test_load_save_keys.py | 79 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_DER, 'DER') 103 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_DER, 'DER') 129 key = rsa.key.PublicKey.load_pkcs1(PUBLIC_DER, 'DER') 150 key = rsa.key.PrivateKey.load_pkcs1(PRIVATE_PEM, 'PEM') 170 key = rsa.key.PublicKey.load_pkcs1(PUBLIC_PEM, 'PEM') 190 privkey = rsa.key.PrivateKey.load_pkcs1(keydata)
|
D | test_pem.py | 65 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem) 69 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem.encode('ascii')) 83 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem) 97 key = rsa.key.PrivateKey.load_pkcs1(private_key_pem.encode('ascii'))
|
D | test_cli.py | 145 rsa.PrivateKey.load_pkcs1(pemfile.read()) 161 rsa.PrivateKey.load_pkcs1(derfile.read(), format='DER') 180 rsa.PublicKey.load_pkcs1(pemfile.read()) 283 key = rsa.PublicKey.load_pkcs1(pemfile.read())
|
D | test_pkcs1.py | 71 self.private_key = rsa.PrivateKey.load_pkcs1( 194 self.private_key = rsa.PrivateKey.load_pkcs1(b'''
|
/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 | 61 priv_key = rsa.key.PrivateKey.load_pkcs1(in_data, cli.inform)
|
D | cli.py | 168 return self.key_class.load_pkcs1(keydata, keyform)
|
D | key.py | 100 def load_pkcs1(cls, keyfile: bytes, format: str = 'PEM') -> 'AbstractKey': 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)
|