xref: /trunk/main/extensions/test/pgp/readme.txt (revision cdf0e10c)
1*cdf0e10cSrcweirThe program TestPGP instantiates a SimplePGPMailerFactory and adds
2*cdf0e10cSrcweir it to the ServiceManager obtained from a running StarOffice.
3*cdf0e10cSrcweirThen PGP can be used from within StarOffice.
4*cdf0e10cSrcweir
5*cdf0e10cSrcweirPrerequisites:
6*cdf0e10cSrcweirStarOffice needs an entry in Office/user/sofficerc under the Common
7*cdf0e10cSrcweir section:
8*cdf0e10cSrcweir
9*cdf0e10cSrcweir Port2=socket:hamburg-11070:1111 // old style
10*cdf0e10cSrcweiras of 569 m
11*cdf0e10cSrcweirConnection=socket,hamburg-11070,port=1111;iiop;
12*cdf0e10cSrcweir
13*cdf0e10cSrcweirPlease note the semicolons!
14*cdf0e10cSrcweir
15*cdf0e10cSrcweir hamburg-11070 is the host running the office and 1111 is a
16*cdf0e10cSrcweir freely choosable port number.
17*cdf0e10cSrcweir
18*cdf0e10cSrcweir
19*cdf0e10cSrcweir For the program to run make sure that the office has access
20*cdf0e10cSrcweir to classes.zip, unoil.jar, jurt.jar, pgp.jar and swingall.jar.
21*cdf0e10cSrcweir
22*cdf0e10cSrcweir Therefore do the necessary entries in
23*cdf0e10cSrcweir Office/user/config/javarc
24*cdf0e10cSrcweir under SystemClasspath.
25*cdf0e10cSrcweir
26*cdf0e10cSrcweirThere is a bug with jdk1.1.8, therfore use 1.2 instead.
27*cdf0e10cSrcweir
28*cdf0e10cSrcweirThe TestPGP is called without ;iiop; :
29*cdf0e10cSrcweir
30*cdf0e10cSrcweirjava TestPGP "socket,host=localhost,port=1111"
31*cdf0e10cSrcweir
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir
34