-
Notifications
You must be signed in to change notification settings - Fork 136
Open
Description
Hi Kass,
in some cases you may have the exception NoSuchProviderException BC, you'd better surround your code with try/catch statement and handle this exception by adding this portion of the code:
Security.addProvider(new org.bouncycastle.jce.provider.BouncyCastleProvider());
| KeyPairGenerator keyGen = KeyPairGenerator.getInstance("ECDSA","BC"); |
also please add in the readme file: the maven dependency for maven users:
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.47</version>
</dependency>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels