adb_shell.auth.sign_cryptography module
ADB authentication using the cryptography
package.
Contents
- class adb_shell.auth.sign_cryptography.CryptographySigner(rsa_key_path)[source]
Bases:
object
AuthSigner using cryptography.io.
- Parameters:
rsa_key_path (str) – The path to the private key.
- public_key
The contents of the public key file
- Type:
str
- rsa_key
The loaded private key
- Type:
cryptography.hazmat.backends.openssl.rsa._RSAPrivateKey