AdbCrypto class

Constructors

AdbCrypto({AsymmetricKeyPair<RSAPublicKey, RSAPrivateKey>? keyPair})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAdbPublicKeyPayload() Uint8List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
signAdbTokenPayload(Uint8List payload) Uint8List
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

SIGNATURE_PADDING List<int>
The RSA signature padding used by ADB
getter/setter pair

Static Methods

convertRsaPublicKeyToAdbFormat(RSAPublicKey publicKey) Uint8List
generateAdbKeyPair() → AsymmetricKeyPair<RSAPublicKey, RSAPrivateKey>

Constants

KEY_LENGTH_BITS → const int
KEY_LENGTH_BYTES → const int
KEY_LENGTH_WORDS → const int