Moved OpenPGPFile etc. into a separate folder

This commit is contained in:
str4d
2013-04-17 01:27:32 +00:00
parent b2d2bba772
commit f9d653c3cd
5 changed files with 20 additions and 0 deletions

20
openpgp/README.txt Normal file
View File

@ -0,0 +1,20 @@
To use OpenPGPFile
------------------
1) Copy the classes into the i2p.i2p branch:
OpenPGPFile -> core/java/src/net/i2p/util
I2PDataStructureAttribute -> core/java/src/org/bouncycastle/bcpg/attr
PGPI2PDataStructureAttributeVector -> core/java/src/org/bouncycastle/openpgp
PGPI2PDataStructureAttributeVectorGenerator -> core/java/src/org/bouncycastle/openpgp
2) Download the Bouncy Castle libs bcprov.jar and bcpg.jar (for Java 1.5+).
3) Unzip bcpg.jar, delete META-INF/BCKEY.SF and all "Name/SHA-256-Digest" lines
in META-INF/MANIFEST.MF, then rezip.
4) Modify core/java/build.xml to add bcprov.jar and bcpg.jar to the classpath
of the compile target.
5) ant buildCore
6) java -cp build/i2p.jar:path/to/bcprov.jar:path/to/bcpg.jar net.i2p.util.OpenPGPFile -?