this.trustManager = utils.trustAllCerts() ? new TrustManager[] { trustAllCerts } : null;
}
@Override
public SSLContext get() {
FGCPCredentials currentCreds = checkNotNull(creds.get(), "fgcpcredential supplier returned null");
PrivateKey privateKey = checkNotNull(currentCreds.privateKey, "fgcpcredential's privateKey is null");
Collection<X509Certificate> certs = checkNotNull(currentCreds.certificates, "fgcpcredential's certificates returned null");
try {
KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");