class CommonUtils {

	public static SSLContext createNoSSLContext() {
		SSLContext ssl_ctx = null;
		try {
			ssl_ctx = SSLContext.getInstance("TLS");
		} catch (NoSuchAlgorithmException e) {
		}
        TrustManager[] trust_mgr = new TrustManager[] {
			new X509TrustManager() {
	    		public X509Certificate[] getAcceptedIssuers() { return null; }
	    		public void checkClientTrusted(X509Certificate[] certs, String t) { }
	    		public void checkServerTrusted(X509Certificate[] certs, String t) { }
	    		}
	    	};
        try {
			ssl_ctx.init(null, trust_mgr, new SecureRandom());
		} catch (KeyManagementException e) {
		}
		return ssl_ctx;
	}

	private  CommonUtils();

}