I wanted to code from this answer but i have error The import org.bouncycastle.openssl cannot be resolved
The import org.bouncycastle.openssl cannot be resolved
and i have no idea how coudl i repair this becouse other bouncycastle libs are detected correctly.
I will be grateful for any ideas whats wrong. Im using eclipse and i have instaled bouncycastle like in this instruction itcsoultions
In addition to the provider (a.k.a. bcprov
) and lightweight API, you also need the PKIX API, which provides the openssl
package.
Either download bcpkix-jdk15on-150.jar
from BC downloads page (direct link) and drop it in the same directory of bcprov
or add it to your maven dependencies with its coordinates:
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.50</version>
</dependency>