
no.difi.certvalidator.util.BCHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-certvalidator
Show all versions of commons-certvalidator
Rule engine for creation of certificate validator.
package no.difi.certvalidator.util;
import org.bouncycastle.jce.provider.BouncyCastleProvider;
import java.security.Provider;
import java.security.Security;
/**
* @author erlend
*/
public class BCHelper {
public static final Provider PROVIDER;
static {
if (Security.getProvider(BouncyCastleProvider.PROVIDER_NAME) == null)
Security.addProvider(new BouncyCastleProvider());
PROVIDER = Security.getProvider(BouncyCastleProvider.PROVIDER_NAME);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy