getPermissions() {
    return this._transport.getPermissions();
  }
@returns {Promise<Array<number> | null>} A promise that is resolved with
  an {Array} that contains the permission flags for the PDF document, or
  `null` when no permissions are present in the PDF file.