F-Droid provides the Linux commands to verify the file using PGP.
Referencing guides on how to verify a Linux ISO are similar.
It’s technically possible to do this using OpenKeyChain on Android.
You’d need to download and add the certificate (the asc file) and then verify the APK with it. But I don’t recall the process in any detail.