pub fn encrypt_entity( cfg: &Pgp, recipients: &[String], sign: bool, head: &str, entity: &[u8], ) -> Result<String>
Like encrypt_message, but over an arbitrary MIME entity.
encrypt_message