structPubKey{letarmored:String
/// will be provided later
letlastSig:Date?
/// the date when key was retrieved from a public key server, or nil
letlastChecked:Date?
/// expiration date
letexpiresOn:Date?
/// all key longids
letlongids:[String]
/// all key fingerprints
letfingerprints:[String]
/// key created date
letcreated:Date?
/// key algo
letalgo:KeyAlgo?
/// is key revoked
letisRevoked:Bool}When parsing a key, the pgp user ids are available, and so are pgp user id emails once parsed. These should be included in this type.
Then all usages of armored should be investigated, to see if it's being used solely for parsing out the emails. Such usages should be replaced directly with the newly added property.
When parsing a key, the pgp user ids are available, and so are pgp user id emails once parsed. These should be included in this type.
Then all usages of
armoredshould be investigated, to see if it's being used solely for parsing out the emails. Such usages should be replaced directly with the newly added property.