io.polaris.crypto.BCProviderLoader Maven / Gradle / Ivy
package io.polaris.crypto;
import io.polaris.core.crypto.ICryptoProviderLoader;
import java.security.Provider;
/**
* @author Qt
* @since 1.8
*/
public class BCProviderLoader implements ICryptoProviderLoader {
@Override
public Provider provider() {
return new org.bouncycastle.jce.provider.BouncyCastleProvider();
}
@Override
public int position() {
return 1;
}
}