In My application, there is an activation mechanism, which uses BountyCastle (bcs.jar) for encryption and decryption. If I include bcs.jar while constructing the output .exe of my application, it won't give any problems. But when I activate it, it gives out exception related to BountyCastle
java.lang.SecurityException : JCE cannot authenticate the provider BC
usually this error occurs if the used bcs.jar is extracted, because that way, the Signature of encryption is lost( I think if you google this exception, you can find out about this exception). This can be solved if we don't extract the bcs.jar and just use it from an external source as a jar file. So is there anyway to use the depending jar files without wrapping them or use them from an external source.
In My application, there is an activation mechanism, which uses BountyCastle (bcs.jar) for encryption and decryption. If I include bcs.jar while constructing the output .exe of my application, it won't give any problems. But when I activate it, it gives out exception related to BountyCastle
java.lang.SecurityException : JCE cannot authenticate the provider BC
usually this error occurs if the used bcs.jar is extracted, because that way, the Signature of encryption is lost( I think if you google this exception, you can find out about this exception). This can be solved if we don't extract the bcs.jar and just use it from an external source as a jar file. So is there anyway to use the depending jar files without wrapping them or use them from an external source.
Please help!