1 The program TestPGP instantiates a SimplePGPMailerFactory and adds
2 it to the ServiceManager obtained from a running StarOffice.
3 Then PGP can be used from within StarOffice.
6 StarOffice needs an entry in Office/user/sofficerc under the Common
9 Port2=socket:hamburg-11070:1111 // old style
11 Connection=socket,hamburg-11070,port=1111;iiop;
13 Please note the semicolons!
15 hamburg-11070 is the host running the office and 1111 is a
16 freely choosable port number.
19 For the program to run make sure that the office has access
20 to classes.zip, unoil.jar, jurt.jar, pgp.jar and swingall.jar.
22 Therefore do the necessary entries in
23 Office/user/config/javarc
24 under SystemClasspath.
26 There is a bug with jdk1.1.8, therfore use 1.2 instead.
28 The TestPGP is called without ;iiop; :
30 java TestPGP "socket,host=localhost,port=1111"