Add BC provider to test runtime
package com.quorum.tessera.ssl.util;
+import org.bouncycastle.jce.provider.BouncyCastleProvider;
import org.bouncycastle.operator.OperatorCreationException;
import org.junit.Test;
@@ -20,6 +21,10 @@ public class TlsUtilsTest {
private static final String ALIAS = "tessera";
+ static {
+ Security.addProvider(new BouncyCastleProvider());
+ }
+
@Test
public void testGenerateKeys()
throws OperatorCreationException, InvalidKeyException, NoSuchAlgorithmException, IOException,
