This is a component that capsulates most of the PGP Function calls, by calling the DOS-program including PGP Parameters. Beforehand it looks, whether important files really exist and everything has been filled in PGP needs. The Component writes an fresh configuration file for pgp (config.txt) each time before PGP execution. If you set the Property Filter to true, you can let PGP read ist input from an Pinput and write output to Poutput-Property. It works on Win31 properly as I was using Dlphi 1.0 for programming. Some of the API-Function calls seem to be different in Win95 (Shellexecute returns nonsense when running on win95. For the installation you have to get PGP 2.62 elsewhere, ist not included in my zip file. There are lots of PGP-Servers around the world, this should be no problem. The name of the zipfile I got was 'pgp262i.zip'. You have to copy the following files into your PGP-directory:
pgpclose.pif  ->running PGP and closing the windows when finished
pgp.pif -> running PGP and keeping the window when finished
dospgp.exe Dos program that runs pgp and redirects input& output to files 
usage: dospgp outputfile inputfile PGP_parameters
dospgp.pif-> running DOSPGP and keeping the window when finished
dpgpclos.pif ->running DOSPGP and closing the window when finished
The component does not process input and output in any way. This is left to you ,as this will vary with the application you wish to write. You can access them via the Pinput & Poutput properties.
Sorry for the German in the commentaries,  I know, who has lost the war, but I originally did the programming only for my own. If  I get some more feedback I shall replace good German with bad English.
Apart from vanity my major purpose for publishing the component is  to get free bug reports. In turn the component is free also, provided that you do not use it to write communication software for German medical doctors. I want to do that myself and make money on it. Send feedback to 044534320-0001@t-online.de

I thank Phil Zimmerman for the great PGP, and Roger Kurrat and John Navas for their source code on Windows frontends made available via the internet. I didn't  understand the C-source from John Navas code at all in the beginning (Strange language that is) but it gave me hope, that the job could be done. PGP itself allows redirection of In/output using the -f option, but it does so only when started from dos. Otherwise you have to use the way I copied from Mr. Navas.
Some more remarks:
If you want to register the component elsewhere go to line 781 and replace the string 'Internet' by a string of your choice.
The component displays a message window with the string passed to shellexecute before calling it. This is for control purposes only. At the moment, we are still in the debugging phase, so you may wish to keep it, otherwise comment it away (lines 1995..).
The component has a active-property in order to turn off imediate execution of the Action-Property after it has been changed. Thsi might cause a mess while working with the IDE. Do not forget to turn it on, when your program is ready for  execution.
The 'actions' of the component have self-explaining names. In doubt turn to the source code. I cited the original PGP-manual there.
packing list
dospgp.pas :Turbo-Pascal source code for PGP execution program for dos with IO redirection
handles.pas :Unit uses by above file contains procedures for IO redirection
pgpcomp.pas: Delphi-source code for the component
pgptest.pas: a simple test program for the component I use myself
winexej.pas: the pascal translation of John Navas' Code for Dos -PGP Execution
pgpcomp.dcu I don't know whether this is really necessary
pgpcomp.txt: This file
pgpclose.pif  ->running PGP and closing the windows when finished
pgp.pif -> running PGP and keeping the window when finished
dospgp.exe Dos program that runs pgp and redirects input& output to files 
usage: dospgp outputfile inputfile PGP_parameters
dospgp.pif-> running DOSPGP and keeping the window when finished
dpgpclos.pif ->running DOSPGP and closing the window when finished
10.02.97 Finput is now saved to file by the nolinefeed-procedure, which separates
lines by CRs only, making all the lines accessible for redirected input
20.02.97 instead of the hourglass I created PGP'own cursor. You can see easily
that a always got a 4 mark in arts at school german marks ranking from 1 (the best)
to 6. If you create a better cursor, send it to me.
The file for redirected input is erased automatically after use, as it might contain
your password sometimes
I integrated winexj into the pgpcomp. This was necessary as I detected
tha a global variable 'Thecallbackproc ' would lead to conflicts if you use
several instances of PGPInterface in one application. So today I destroyed
the first two of the rest of my bugs}
 