Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | 22-May-2021 | - | ||||
TestPGP.java | H A D | 22-May-2021 | 4.5 KiB | 143 | 76 | |
makefile.mk | H A D | 22-May-2021 | 4.6 KiB | 121 | 26 | |
readme.txt | H A D | 22-May-2021 | 864 | 34 | 20 |
readme.txt
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. 4 5 Prerequisites: 6 StarOffice needs an entry in Office/user/sofficerc under the Common 7 section: 8 9 Port2=socket:hamburg-11070:1111 // old style 10 as of 569 m 11 Connection=socket,hamburg-11070,port=1111;iiop; 12 13 Please note the semicolons! 14 15 hamburg-11070 is the host running the office and 1111 is a 16 freely choosable port number. 17 18 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. 21 22 Therefore do the necessary entries in 23 Office/user/config/javarc 24 under SystemClasspath. 25 26 There is a bug with jdk1.1.8, therfore use 1.2 instead. 27 28 The TestPGP is called without ;iiop; : 29 30 java TestPGP "socket,host=localhost,port=1111" 31 32 33 34