title: jce cannot authenticate the provider bc
body: <p>I have developed an application in which I have used the Cryptography with the help of BountyCastle.jar. 
  I also had a line Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider()); </p>
  
  <p>Everything works fine when I execute the program from Netbeans</p>
  
  <p>But when I packaging the application in an executable jar which internally uses BouncyCastle jar and execute the jar, </p>
  
  <p>I am getting exception </p>
  
  <p>JCE cannot authenticate the provider BC 
  java.lang.SecurityException: JCE cannot authenticate the provider BC </p>
  
  <p>Is there any other approch to implement the same. Because it is difficult for non technical person to add 
  BountyCastle.jar in ext folder of jre. so is there any other method to solve my problem.</p>
  
  <p>Is there any method to exclude BountyCastle.jar while packaging jar in netbeans so that will accessible from external lib folder.</p>