functionallity for reading/writing keys to openpgp formated files