Skip navigation links
A B C D E F G H I M N O P R S T U V W 

A

ACTION_REQUEST_HS - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
ACTION_START - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
A request to Orbot to transparently start Tor services
ACTION_START - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
A request to Orbot to transparently start Tor services
ACTION_START_TOR - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
ACTION_STATUS - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
Intent send by Orbot with ON/OFF/STARTING/STOPPING status included as an OrbotHelper.EXTRA_STATUS String.
ACTION_STATUS - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
Intent send by Orbot with ON/OFF/STARTING/STOPPING status
addHandshakeCompletedListener(HandshakeCompletedListener) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
addInstallCallback(OrbotHelper.InstallCallback) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
Adds an InstallCallback to be called when we find out that Orbot is installed
addProxy(Proxy.Type, String, int) - Method in class info.guardianproject.netcipher.proxy.ProxySelector
 
addStatusCallback(StatusCallback) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
Adds a StatusCallback to be called when we find out that Orbot is ready.

B

bind(SocketAddress) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
build(Intent) - Method in interface info.guardianproject.netcipher.client.StrongBuilder
Builds a connection, applying the configuration already specified in the builder.
build(StrongBuilder.Callback<C>) - Method in interface info.guardianproject.netcipher.client.StrongBuilder
Asynchronous version of build(), one that uses OrbotInitializer internally to get the status and checks the validity of the Tor connection (if requested).
build(StrongBuilder.Callback<C>) - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
 
build(Intent) - Method in class info.guardianproject.netcipher.client.StrongConnectionBuilder
Builds a connection, applying the configuration already specified in the builder.
buildProxy(Intent) - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
 
buildSocketFactory() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
 

C

checkTor(StrongBuilder.Callback<C>, Intent, C) - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
 
CHMOD_EXE_VALUE - Static variable in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
clearProxy() - Static method in class info.guardianproject.netcipher.NetCipher
Clear the global HTTP proxy for all new HttpURLConnections and HttpsURLConnections that are created after this is called.
close() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
COMPONENT_NAME - Static variable in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
connect(SocketAddress) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
connect(SocketAddress, int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
connectFailed(URI, SocketAddress, IOException) - Method in class info.guardianproject.netcipher.proxy.ProxySelector
 
connectTo(String) - Method in class info.guardianproject.netcipher.client.StrongConnectionBuilder
Sets the URL to build a connection for.
connectTo(URL) - Method in class info.guardianproject.netcipher.client.StrongConnectionBuilder
Sets the URL to build a connection for.
context - Variable in class info.guardianproject.netcipher.client.StrongBuilderBase
 
createSocket(Socket, String, int, boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
createSocket(String, int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
createSocket(String, int, InetAddress, int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
createSocket(InetAddress, int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
createSocket(InetAddress, int, InetAddress, int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
createURLStreamHandler(String) - Method in class info.guardianproject.netcipher.proxy.NetCipherURLStreamHandlerFactory
This does not support jar:, ftp:, and anything else that system's factory might handle.

D

DEFAULT_HTTP_PORT - Static variable in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
DEFAULT_PROXY_HOST - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
DEFAULT_PROXY_HTTP_PORT - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
DEFAULT_PROXY_SOCKS_PORT - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
DEFAULT_SOCKS_PORT - Static variable in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
delegate - Variable in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
doShellCommand(String[], StringBuilder, boolean, boolean) - Static method in class info.guardianproject.netcipher.proxy.TorServiceUtils
 

E

ENABLED_CIPHERS - Static variable in class info.guardianproject.netcipher.client.StrongConstants
Ordered to prefer the stronger cipher suites as noted http://op-co.de/blog/posts/android_ssl_downgrade/
ENABLED_PROTOCOLS - Static variable in class info.guardianproject.netcipher.client.StrongConstants
Ordered to prefer the stronger/newer TLS versions as noted http://op-co.de/blog/posts/android_ssl_downgrade/
equals(Object) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
EXTRA_PACKAGE_NAME - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
A String packageName for Orbot to direct its status reply to, used in OrbotHelper.ACTION_START Intents sent to Orbot
EXTRA_PACKAGE_NAME - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
A String packageName for Orbot to direct its status reply to, used in ProxyHelper.ACTION_START Intents sent to Orbot
EXTRA_PROXY_PORT_HTTP - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
EXTRA_PROXY_PORT_HTTP - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
EXTRA_PROXY_PORT_SOCKS - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
EXTRA_PROXY_PORT_SOCKS - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
EXTRA_STATUS - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
EXTRA_STATUS - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper

F

FDROID_PACKAGE_NAME - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
FDROID_URI - Static variable in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
findProcessId(Context) - Static method in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
findProcessIdWithPidOf(String) - Static method in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
findProcessIdWithPS(String) - Static method in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
forMaxSecurity(Context) - Static method in class info.guardianproject.netcipher.client.StrongConnectionBuilder
Creates a StrongConnectionBuilder using the strongest set of options for security.

G

get(Intent, C, String) - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
Performs an HTTP GET request using the supplied connection to a supplied URL, returning the String response or throws an Exception (e.g., cannot reach the server).
get(Intent, HttpURLConnection, String) - Method in class info.guardianproject.netcipher.client.StrongConnectionBuilder
 
get(Context) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
Retrieves the singleton, initializing if if needed
getChannel() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getCompatibleHttpsURLConnection(URL) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpsURLConnection from a URL using a more compatible, but less strong, suite of ciphers.
getCompatibleHttpURLConnection(URL) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpURLConnection from a URL.
getDefaultCipherSuites() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
getEnabledCipherSuites() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getEnabledProtocols() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getEnableSessionCreation() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getHttpPort(Intent) - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
 
getHttpsURLConnection(String) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpsURLConnection from a URL String using the best TLS configuration available on the device.
getHttpsURLConnection(Uri) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpsURLConnection from a Uri using the best TLS configuration available on the device.
getHttpsURLConnection(URI) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpsURLConnection from a URI using the best TLS configuration available on the device.
getHttpsURLConnection(URL) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpsURLConnection from a URL using the best TLS configuration available on the device.
getHttpsURLConnection(URL, boolean) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpsURLConnection from a URL, and specify whether it should use a more compatible, but less strong, suite of ciphers.
getHttpURLConnection(URL, boolean) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpURLConnection from a URL, and specify whether it should use a more compatible, but less strong, suite of ciphers.
getHttpURLConnection(String) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpURLConnection from a URL String.
getHttpURLConnection(Uri) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpURLConnection from a Uri.
getHttpURLConnection(URI) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpURLConnection from a URI.
getHttpURLConnection(URL) - Static method in class info.guardianproject.netcipher.NetCipher
Get a HttpURLConnection from a URL.
getInetAddress() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getInputStream() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getInstallIntent(Context) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
getInstallIntent(Context) - Method in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
getInstallIntent(Context) - Method in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
getKeepAlive() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getLocalAddress() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getLocalPort() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getLocalSocketAddress() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getName() - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
getName() - Method in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
getName() - Method in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
getNeedClientAuth() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getOOBInline() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getOrbotInstallIntent(Context) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
getOrbotStartIntent(Context) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
Gets an Intent for starting Orbot.
getOrbotStartIntent() - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
Deprecated.
getOutputStream() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getOwnSignatureHash(Context) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
 
getPort() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getProxy() - Static method in class info.guardianproject.netcipher.NetCipher
Get the currently active global HTTP Proxy.
getReceiveBufferSize() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getRemoteSocketAddress() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getReuseAddress() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getSendBufferSize() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getSession() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getShowOrbotStartIntent() - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
getSignatureHash(Context, String) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
 
getSocksPort(Intent) - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
 
getSoLinger() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getSoTimeout() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getSSLContext() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
 
getStartIntent(Context) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
getStartIntent(Context) - Method in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
getStartIntent(Context) - Method in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
getSupportedCipherSuites() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getSupportedCipherSuites() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
getSupportedProtocols() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getTcpNoDelay() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getTlsOnlySocketFactory() - Static method in class info.guardianproject.netcipher.NetCipher
Get a TlsOnlySocketFactory from NetCipher.
getTlsOnlySocketFactory(boolean) - Static method in class info.guardianproject.netcipher.NetCipher
Get a TlsOnlySocketFactory from NetCipher, and specify whether it should use a more compatible, but less strong, suite of ciphers.
getTrafficClass() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getUseClientMode() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
getWantClientAuth() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 

H

HS_REQUEST_CODE - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 

I

info.guardianproject.netcipher - package info.guardianproject.netcipher
 
info.guardianproject.netcipher.client - package info.guardianproject.netcipher.client
 
info.guardianproject.netcipher.proxy - package info.guardianproject.netcipher.proxy
 
init() - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
Initializes the connection to Orbot, revalidating that it is installed and requesting fresh status broadcasts.
installOrbot(Activity) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
Given that init() returned false, calling installOrbot() will trigger an attempt to install Orbot from an available distribution channel (e.g., the Play Store).
installTimeout(long) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
Sets how long of a delay, in milliseconds, after trying to install Orbot do we assume that it's not happening.
isBound() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
isClosed() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
isConnected() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
isInputShutdown() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
isInstalled(Context) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
isInstalled() - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
isInstalled(Context) - Method in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
isInstalled(Context) - Method in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
isNetCipherGetHttpURLConnectionUsingTor() - Static method in class info.guardianproject.netcipher.NetCipher
 
isOnionAddress(URL) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
Test whether a URL is a Tor Hidden Service host name, also known as an ".onion address".
isOnionAddress(String) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
Test whether a URL String is a Tor Hidden Service host name, also known as an ".onion address".
isOnionAddress(Uri) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
Test whether a Uri is a Tor Hidden Service host name, also known as an ".onion address".
isOrbotInstalled(Context) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
isOrbotRunning(Context) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
Deprecated.
isOutputShutdown() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
isPortOpen(String, int, int) - Static method in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
isRootPossible() - Static method in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
isURLConnectionUsingTor() - Static method in class info.guardianproject.netcipher.NetCipher
Makes a connection to check.torproject.org to read its results of whether the connection came via Tor or not.

M

MARKET_URI - Static variable in class info.guardianproject.netcipher.proxy.PsiphonHelper
 

N

NetCipher - Class in info.guardianproject.netcipher
 
NetCipherURLStreamHandler - Class in info.guardianproject.netcipher.proxy
 
NetCipherURLStreamHandler(URLStreamHandler) - Constructor for class info.guardianproject.netcipher.proxy.NetCipherURLStreamHandler
 
NetCipherURLStreamHandlerFactory - Class in info.guardianproject.netcipher.proxy
 
NetCipherURLStreamHandlerFactory() - Constructor for class info.guardianproject.netcipher.proxy.NetCipherURLStreamHandlerFactory
 

O

onConnected(C) - Method in interface info.guardianproject.netcipher.client.StrongBuilder.Callback
Called when the NetCipher-enhanced connection is ready for use.
onConnectionException(Exception) - Method in interface info.guardianproject.netcipher.client.StrongBuilder.Callback
Called if we tried to connect through to Orbot but failed for some reason
onDisabled() - Method in class info.guardianproject.netcipher.proxy.OrbotHelper.SimpleStatusCallback
 
onDisabled() - Method in interface info.guardianproject.netcipher.proxy.StatusCallback
Called when Orbot reports that it is no longer running
onEnabled(Intent) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper.SimpleStatusCallback
 
onEnabled(Intent) - Method in interface info.guardianproject.netcipher.proxy.StatusCallback
Called when Orbot is operational
onInstalled() - Method in interface info.guardianproject.netcipher.proxy.OrbotHelper.InstallCallback
 
onInstallTimeout() - Method in interface info.guardianproject.netcipher.proxy.OrbotHelper.InstallCallback
 
onInvalid() - Method in interface info.guardianproject.netcipher.client.StrongBuilder.Callback
Called if you requested validation that we are connecting through Tor, and while we were able to connect to Orbot, that validation failed.
onNotYetInstalled() - Method in class info.guardianproject.netcipher.proxy.OrbotHelper.SimpleStatusCallback
 
onNotYetInstalled() - Method in interface info.guardianproject.netcipher.proxy.StatusCallback
Called if Orbot is not yet installed.
onStarting() - Method in class info.guardianproject.netcipher.proxy.OrbotHelper.SimpleStatusCallback
 
onStarting() - Method in interface info.guardianproject.netcipher.proxy.StatusCallback
Called when Orbot reports that it is starting up
onStatusTimeout() - Method in interface info.guardianproject.netcipher.proxy.StatusCallback
Called if our attempt to get a status from Orbot failed after a defined period of time.
onStopping() - Method in class info.guardianproject.netcipher.proxy.OrbotHelper.SimpleStatusCallback
 
onStopping() - Method in interface info.guardianproject.netcipher.proxy.StatusCallback
Called when Orbot reports that it is shutting down
onTimeout() - Method in interface info.guardianproject.netcipher.client.StrongBuilder.Callback
Called if our attempt to get a status from Orbot failed after a defined period of time.
openConnection(URL) - Method in class info.guardianproject.netcipher.proxy.NetCipherURLStreamHandler
 
ORBOT_FDROID_URI - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
ORBOT_HTTP_PROXY - Static variable in class info.guardianproject.netcipher.NetCipher
 
ORBOT_MARKET_URI - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
ORBOT_PACKAGE_NAME - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
ORBOT_PLAY_URI - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
ORBOT_PLAY_URI - Static variable in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
ORBOT_SOCKS_PROXY - Static variable in class info.guardianproject.netcipher.NetCipher
 
OrbotHelper - Class in info.guardianproject.netcipher.proxy
Utility class to simplify setting up a proxy connection to Orbot.
OrbotHelper.InstallCallback - Interface in info.guardianproject.netcipher.proxy
Callback interface used for reporting the results of an attempt to install Orbot
OrbotHelper.SimpleStatusCallback - Class in info.guardianproject.netcipher.proxy
 

P

PACKAGE_NAME - Static variable in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
PLAY_PACKAGE_NAME - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
ProxyHelper - Interface in info.guardianproject.netcipher.proxy
 
ProxySelector - Class in info.guardianproject.netcipher.proxy
 
ProxySelector() - Constructor for class info.guardianproject.netcipher.proxy.ProxySelector
 
proxyType - Variable in class info.guardianproject.netcipher.client.StrongBuilderBase
 
PsiphonHelper - Class in info.guardianproject.netcipher.proxy
 
PsiphonHelper() - Constructor for class info.guardianproject.netcipher.proxy.PsiphonHelper
 

R

removeHandshakeCompletedListener(HandshakeCompletedListener) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
removeInstallCallback(OrbotHelper.InstallCallback) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
Removes an existing registered InstallCallback.
removeStatusCallback(StatusCallback) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
Removes an existing registered StatusCallback.
requestHiddenServiceOnPort(Activity, int) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
requestShowOrbotStart(Activity) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
First, checks whether Orbot is installed, then checks whether Orbot is running.
requestStart(Context) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
requestStart(Context) - Method in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
requestStart(Context) - Method in class info.guardianproject.netcipher.proxy.PsiphonHelper
 
requestStartTor(Context) - Static method in class info.guardianproject.netcipher.proxy.OrbotHelper
First, checks whether Orbot is installed.
requestStatus(Context) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
 
requestStatus(Context) - Method in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
requestStatus(Context) - Method in class info.guardianproject.netcipher.proxy.PsiphonHelper
 

S

select(URI) - Method in class info.guardianproject.netcipher.proxy.ProxySelector
 
sendUrgentData(int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setEnabledCipherSuites(String[]) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setEnabledProtocols(String[]) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setEnableSessionCreation(boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setHostname(String) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setKeepAlive(boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setNeedClientAuth(boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setOOBInline(boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setPerformancePreferences(int, int, int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setProxy(String, int) - Static method in class info.guardianproject.netcipher.NetCipher
Set the global HTTP proxy for all new HttpURLConnections and HttpsURLConnections that are created after this is called.
setProxy(Proxy) - Static method in class info.guardianproject.netcipher.NetCipher
Set the global HTTP proxy for all new HttpURLConnections and HttpsURLConnections that are created after this is called.
setReceiveBufferSize(int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setReuseAddress(boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setSendBufferSize(int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setSoLinger(boolean, int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setSoTimeout(int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setTcpNoDelay(boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setTrafficClass(int) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setUseClientMode(boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
setWantClientAuth(boolean) - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
SHELL_CMD_CHMOD - Static variable in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
SHELL_CMD_KILL - Static variable in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
SHELL_CMD_PIDOF - Static variable in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
SHELL_CMD_PS - Static variable in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
SHELL_CMD_RM - Static variable in class info.guardianproject.netcipher.proxy.TorServiceUtils
 
shutdownInput() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
shutdownOutput() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
SignatureUtils - Class in info.guardianproject.netcipher.proxy
 
SimpleStatusCallback() - Constructor for class info.guardianproject.netcipher.proxy.OrbotHelper.SimpleStatusCallback
 
skipOrbotValidation() - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
By default, NetCipher ensures that the Orbot on the device is one of the official builds.
slurp(InputStream) - Static method in class info.guardianproject.netcipher.client.StrongConnectionBuilder
 
sslContext - Variable in class info.guardianproject.netcipher.client.StrongBuilderBase
 
SSLV2 - Static variable in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
SSLV3 - Static variable in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
START_TOR_RESULT - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
startHandshake() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 
STATUS_OFF - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
All tor-related services and daemons are stopped
STATUS_OFF - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
All tor-related services and daemons are stopped
STATUS_ON - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
All tor-related services and daemons have completed starting
STATUS_ON - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
All tor-related services and daemons have completed starting
STATUS_STARTING - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
STATUS_STARTING - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
STATUS_STARTS_DISABLED - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
The user has disabled the ability for background starts triggered by apps.
STATUS_STARTS_DISABLED - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
The user has disabled the ability for background starts triggered by apps.
STATUS_STOPPING - Static variable in class info.guardianproject.netcipher.proxy.OrbotHelper
 
STATUS_STOPPING - Static variable in interface info.guardianproject.netcipher.proxy.ProxyHelper
 
StatusCallback - Interface in info.guardianproject.netcipher.proxy
Callback interface used for reporting Orbot status
statusTimeout(long) - Method in class info.guardianproject.netcipher.proxy.OrbotHelper
Sets how long of a delay, in milliseconds, after trying to get a status from Orbot before we give up.
StrongBuilder<T extends StrongBuilder,C> - Interface in info.guardianproject.netcipher.client
 
StrongBuilder.Callback<C> - Interface in info.guardianproject.netcipher.client
Callback to get a connection handed to you for use, already set up for NetCipher.
StrongBuilderBase<T extends StrongBuilderBase,C> - Class in info.guardianproject.netcipher.client
Builds an HttpUrlConnection that connects via Tor through Orbot.
StrongBuilderBase(Context) - Constructor for class info.guardianproject.netcipher.client.StrongBuilderBase
Standard constructor.
StrongBuilderBase(StrongBuilderBase) - Constructor for class info.guardianproject.netcipher.client.StrongBuilderBase
Copy constructor.
StrongConnectionBuilder - Class in info.guardianproject.netcipher.client
Builds an HttpUrlConnection that connects via Tor through Orbot.
StrongConnectionBuilder(Context) - Constructor for class info.guardianproject.netcipher.client.StrongConnectionBuilder
Creates a builder instance.
StrongConnectionBuilder(StrongConnectionBuilder) - Constructor for class info.guardianproject.netcipher.client.StrongConnectionBuilder
Copy constructor.
StrongConstants - Class in info.guardianproject.netcipher.client
 
supportsHttpProxy() - Method in interface info.guardianproject.netcipher.client.StrongBuilder
 
supportsHttpProxy() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
supportsSocksProxy() - Method in interface info.guardianproject.netcipher.client.StrongBuilder
 
supportsSocksProxy() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase

T

TAG - Static variable in class info.guardianproject.netcipher.proxy.NetCipherURLStreamHandlerFactory
 
TlsOnlySocketFactory - Class in info.guardianproject.netcipher.client
While making a secure connection, Android's HttpsURLConnection falls back to SSLv3 from TLSv1.
TlsOnlySocketFactory() - Constructor for class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
TlsOnlySocketFactory(SSLSocketFactory) - Constructor for class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
TlsOnlySocketFactory(SSLSocketFactory, boolean) - Constructor for class info.guardianproject.netcipher.client.TlsOnlySocketFactory
Make SSLSockets that are compatible with outdated servers.
TlsOnlySocketFactory.DelegateSSLSocket - Class in info.guardianproject.netcipher.client
 
TLSV1 - Static variable in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
TLSV1_1 - Static variable in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
TLSV1_2 - Static variable in class info.guardianproject.netcipher.client.TlsOnlySocketFactory
 
toHexStringWithColons(byte[]) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
 
TOR_CHECK_URL - Static variable in class info.guardianproject.netcipher.client.StrongBuilderBase
 
TorServiceUtils - Class in info.guardianproject.netcipher.proxy
 
toString() - Method in class info.guardianproject.netcipher.client.TlsOnlySocketFactory.DelegateSSLSocket
 

U

useGlobalProxy() - Static method in class info.guardianproject.netcipher.NetCipher
Call this method in Application.onCreate() to enable NetCipher to control the proxying.
useGlobalProxyWithDNSLeaksOnAndroid7x() - Static method in class info.guardianproject.netcipher.NetCipher
Deprecated.
useTor() - Static method in class info.guardianproject.netcipher.NetCipher
Set Orbot as the global HTTP proxy for all new HttpURLConnection s and HttpsURLConnections that are created after this is called.
useWeakCiphers - Variable in class info.guardianproject.netcipher.client.StrongBuilderBase
 

V

validateActivityIntent(Context, Intent, String, boolean) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
Confirms that the activity for a given Intent has the desired signature hash.
validateActivityIntent(Context, Intent, List<String>, boolean) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
Confirms that the activity for a given Intent has the desired signature hash.
validateBroadcastIntent(Context, Intent, String, boolean) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
Confirms that the broadcast receiver for a given Intent has the desired signature hash.
validateBroadcastIntent(Context, Intent, List<String>, boolean) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
Confirms that the broadcast receiver for a given Intent has a desired signature hash.
validateServiceIntent(Context, Intent, String, boolean) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
Confirms that the service for a given Intent has the desired signature hash.
validateServiceIntent(Context, Intent, List<String>, boolean) - Static method in class info.guardianproject.netcipher.proxy.SignatureUtils
Confirms that the service for a given Intent has the desired signature hash.
validateTor - Variable in class info.guardianproject.netcipher.client.StrongBuilderBase
 

W

withBestProxy() - Method in interface info.guardianproject.netcipher.client.StrongBuilder
Call this to configure the Tor proxy from the results returned by Orbot, using the best available proxy (SOCKS if possible, else HTTP)
withBestProxy() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
Call this to configure the Tor proxy from the results returned by Orbot, using the best available proxy (SOCKS if possible, else HTTP)
withHttpProxy() - Method in interface info.guardianproject.netcipher.client.StrongBuilder
Call this to configure the Tor proxy from the results returned by Orbot, using the HTTP proxy.
withHttpProxy() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
Call this to configure the Tor proxy from the results returned by Orbot, using the HTTP proxy.
withSocksProxy() - Method in interface info.guardianproject.netcipher.client.StrongBuilder
Call this to configure the Tor proxy from the results returned by Orbot, using the SOCKS proxy.
withSocksProxy() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
Call this to configure the Tor proxy from the results returned by Orbot, using the SOCKS proxy.
withTorValidation() - Method in interface info.guardianproject.netcipher.client.StrongBuilder
Call this if you want the builder to confirm that we are communicating over Tor, by reaching out to a Tor test server and confirming our connection status.
withTorValidation() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
Call this if you want the builder to confirm that we are communicating over Tor, by reaching out to a Tor test server and confirming our connection status.
withTrustManagers(TrustManager[]) - Method in interface info.guardianproject.netcipher.client.StrongBuilder
Applies your own custom TrustManagers, such as for replacing the stock keystore support with a custom keystore.
withTrustManagers(TrustManager[]) - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
Applies your own custom TrustManagers, such as for replacing the stock keystore support with a custom keystore.
withWeakCiphers() - Method in interface info.guardianproject.netcipher.client.StrongBuilder
Call this if you want a weaker set of supported ciphers, because you are running into compatibility problems with some server due to a cipher mismatch.
withWeakCiphers() - Method in class info.guardianproject.netcipher.client.StrongBuilderBase
Call this if you want a weaker set of supported ciphers, because you are running into compatibility problems with some server due to a cipher mismatch.
A B C D E F G H I M N O P R S T U V W 
Skip navigation links