mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-13 12:19:38 +02:00
Use ProviderFactory instead of 'BC'
This commit is contained in:
parent
9a9f706e83
commit
2c816dd84c
2 changed files with 5 additions and 4 deletions
|
@ -17,13 +17,13 @@ package org.pgpainless;
|
|||
|
||||
import java.security.Security;
|
||||
|
||||
import org.bouncycastle.jce.provider.BouncyCastleProvider;
|
||||
import org.junit.BeforeClass;
|
||||
import org.pgpainless.provider.ProviderFactory;
|
||||
|
||||
public abstract class AbstractPGPainlessTest {
|
||||
|
||||
@BeforeClass
|
||||
public static void registerProvider() {
|
||||
Security.insertProviderAt(new BouncyCastleProvider(), 1);
|
||||
Security.insertProviderAt(ProviderFactory.getProvider(), 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue