Adding BouncyCastle Dependency bcprov-jdk15on-1.49.jar to iText Java Application in Eclipse Fails -


i using itext version 5.5.2 , trying implement passwords stop users editing our generated static xfa pdf reports. don't think able flatten static xfa pdf form (so correct me if wrong). option @ point, use itext's ability password protect form in way users not have worry putting in password edit form, still able view it.

anyway here problem. according lowagie's book, implementing password requires use of bouncastle apis. right, implemented itext-5.5.2. searching through itext dependencies, found maven pom itext-5.5.2 shows have need couple of bouncycastle jars:

<dependency>     <groupid>org.bouncycastle</groupid>     <artifactid>bcprov-jdk15on</artifactid>     <version>1.49</version>     <type>jar</type>     <scope>compile</scope>     <optional>true</optional> </dependency>  <dependency>    <groupid>org.bouncycastle</groupid>    <artifactid>bcpkix-jdk15on</artifactid>    <version>1.49</version>    <type>jar</type>    <scope>compile</scope>    <optional>true</optional> </dependency> 

when add these project within eclipse of (ibm's cics explorer), eclipse complains follows:

description resource path location type archive required library: 'c:/users/nuo3545/jars/bcprov-jdk15on-1.49.jar' in project 'jcicspdfutility' cannot read or not valid zip file jcicspdfutility build path build path problem

so indicates jar being added (bcprov-jdk15on-1.49.jar) project properties libraries or class path bad, or not being recognized. there solution this?

q. bouncycastle jars still issue or broken usage within itext? recourse of fix problem?

any or direction regard appreciated.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -