static
{
Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
}
add bcprov-jdk jar file
maven dependency
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk16</artifactId>
<version>1.46</version>
</dependency>
No comments:
Post a Comment