You can digitally sign a PDF in several different ways, including Adobe Acrobat, Apple's Preview app, and mobile apps, among other options.
It's easy to download a PDF document on an iPhone and save it to an app like Apple Books or iCloud Files. Here's how to do it.