getAdbPublicKeyPayload method

Uint8List getAdbPublicKeyPayload()

Implementation

Uint8List getAdbPublicKeyPayload() {
  Uint8List adbPublicKey = convertRsaPublicKeyToAdbFormat(_keyPair.publicKey);

  String keyString = base64Encode(adbPublicKey);
  keyString += ' unknown@unknown\x00';
  return utf8.encode(keyString);
}