SecureRandom default to SSLContext's default
import javax.net.ssl.SSLSocketFactory;
import javax.net.ssl.X509TrustManager;
-import org.bouncycastle.crypto.CryptoServicesRegistrar;
-
/**
* A basic builder to allow configuration of an SSLContext used to create an SSLSocketFactory.
*/
protected Provider tlsProvider;
protected KeyManager[] keyManagers;
protected X509TrustManager[] trustManagers;
- protected SecureRandom secureRandom = CryptoServicesRegistrar.getSecureRandom();
+ protected SecureRandom secureRandom;
public SSLSocketFactoryCreatorBuilder(X509TrustManager trustManager)
{
