package uk.ac.cam.gpe21.droidssl.analysis.util;

import soot.ArrayType;
import soot.RefType;

public final class Types {
	public static final RefType STRING = RefType.v("java.lang.String");
	public static final ArrayType STRING_ARRAY = ArrayType.v(STRING, 1);

	public static final RefType ACTIVITY = RefType.v("android.app.Activity");
	public static final RefType VIEW = RefType.v("android.view.View");

	public static final RefType SSL_SESSION = RefType.v("javax.net.ssl.SSLSession");
	public static final RefType SSL_EXCEPTION = RefType.v("javax.net.ssl.SSLException");

	public static final RefType HOSTNAME_VERIFIER = RefType.v("javax.net.ssl.HostnameVerifier");
	public static final RefType ABSTRACT_VERIFIER = RefType.v("org.apache.http.conn.ssl.AbstractVerifier");
	public static final RefType ALLOW_ALL_HOSTNAME_VERIFIER = RefType.v("org.apache.http.conn.ssl.AllowAllHostnameVerifier");

	public static final RefType X509_TRUST_MANAGER = RefType.v("javax.net.ssl.X509TrustManager");

	public static final RefType HTTPS_URL_CONNECTION = RefType.v("javax.net.ssl.HttpsURLConnection");

	private Types() {
		/* to prevent instantiation */
	}
}

@@ -561,24 +561,235 @@
 Exception%22);
+%0A%09public static final RefType SSL_SOCKET_FACTORY = RefType.v(%22javax.net.ssl.SSLSocketFactory%22);%0A%09public static final RefType SSL_CERTIFICATE_SOCKET_FACTORY = RefType.v(%22android.net.SSLCertificateSocketFactory%22);
 %0A%0A%09public st
@@ -1097,24 +1097,138 @@
 erifier%22);%0A%0A
+%09public static final RefType APACHE_SSL_SOCKET_FACTORY = RefType.v(%22org.apache.http.conn.ssl.SSLSocketFactory%22);%0A%0A
 %09public stat

Add additional classes to Types class.