That sounds like a lot of pointless work. I had a quick look and could not find anything about that. Do you have a reference?
You could start by, you know, Googling the source code for GPGME. Or, for that matter, reading the GPGME documentation. This isn't an eldritch secret of how GPGME works.