Hope you have the time to help me out.
I am planning to use PGP to encrypt some files, each with a
different public key.
I was wondering if there is a way to get the public key
automatically that is instead of getting keyring file physically or
via email I like my program to:
- Check if the public key is expired
- Request keying file
- Import the keyring file into its public key ring.

Is there way to do this?

Appreciate your respond.
Thanks for your time

email: rtahriri@hotmail.com