Code example for SSLContext

Methods: getSocketFactory, init

0
         var9 = createTrustManagers(var4);
      } 
 
      SSLContext var10 = SSLContext.getInstance(var1);
      this.sslcontext = var10;
      this.sslcontext.init(var8, var9, var5);
      javax.net.ssl.SSLSocketFactory var11 = this.sslcontext.getSocketFactory();
      this.socketfactory = var11;
      this.nameResolver = var6;
   } 
 
   public SSLSocketFactory(KeyStore var1) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
      Object var3 = null;
      Object var5 = null;
      Object var6 = null;
      this("TLS", (KeyStore)null, (String)var3, var1, (SecureRandom)var5, (HostNameResolver)var6);
   } 
 
   public SSLSocketFactory(KeyStore var1, String var2) throws NoSuchAlgorithmException, KeyManagementException, KeyStoreException, UnrecoverableKeyException {
      Object var6 = null;
      Object var7 = null;