Index

B C D E G I L M N O P R S T V 
All Classes and Interfaces|All Packages

B

BLOCKED - Static variable in interface org.briarproject.onionwrapper.CircumventionProvider
Countries where Tor is blocked, i.e.
BRIDGES - Static variable in interface org.briarproject.onionwrapper.CircumventionProvider
Countries where bridge connections are likely to work.

C

CircumventionProvider - Interface in org.briarproject.onionwrapper
 
CircumventionProvider.BridgeType - Enum Class in org.briarproject.onionwrapper
 
CONNECTED - Enum constant in enum class org.briarproject.onionwrapper.TorWrapper.TorState
The Tor process has started, its network connection is enabled, and it has connected to the Tor network.
CONNECTING - Enum constant in enum class org.briarproject.onionwrapper.TorWrapper.TorState
The Tor process has started, its network connection is enabled, and it is connecting (or reconnecting) to the Tor network.

D

DEFAULT_BRIDGES - Static variable in interface org.briarproject.onionwrapper.CircumventionProvider
Countries where default obfs4 or vanilla bridges are likely to work.
DEFAULT_OBFS4 - Enum constant in enum class org.briarproject.onionwrapper.CircumventionProvider.BridgeType
 
disableBridges() - Method in interface org.briarproject.onionwrapper.TorWrapper
Configures Tor not to use bridges for connecting to the Tor network.
DISABLED - Enum constant in enum class org.briarproject.onionwrapper.TorWrapper.TorState
The Tor process has started but its network connection is disabled.
doBridgesWork(String) - Method in interface org.briarproject.onionwrapper.CircumventionProvider
Returns true if bridge connections of some type work in the given country.
DPI_BRIDGES - Static variable in interface org.briarproject.onionwrapper.CircumventionProvider
Countries where vanilla bridges are blocked via DPI but non-default obfs4 bridges, meek and snowflake may work.

E

enableBridges(List<String>) - Method in interface org.briarproject.onionwrapper.TorWrapper
Configures Tor to use the given list of bridges for connecting to the Tor network.
enableConnectionPadding(boolean) - Method in interface org.briarproject.onionwrapper.TorWrapper
Enables or disables connection padding.
enableIpv6(boolean) - Method in interface org.briarproject.onionwrapper.TorWrapper
Configures Tor to use IPv6 or IPv4 for connecting to the Tor network.
enableNetwork(boolean) - Method in interface org.briarproject.onionwrapper.TorWrapper
Enables or disables the Tor process's network connection.

G

getBridges(CircumventionProvider.BridgeType, String, boolean) - Method in interface org.briarproject.onionwrapper.CircumventionProvider
 
getSuitableBridgeTypes(String) - Method in interface org.briarproject.onionwrapper.CircumventionProvider
Returns the types of bridge connection that are suitable for the given country, or CircumventionProvider.DEFAULT_BRIDGES if no bridge type is known to work.
getTorState() - Method in interface org.briarproject.onionwrapper.TorWrapper
Returns the current state of the wrapper.

I

isAndroid() - Static method in class org.briarproject.onionwrapper.util.OsUtils
 
isLinux() - Static method in class org.briarproject.onionwrapper.util.OsUtils
 
isMac() - Static method in class org.briarproject.onionwrapper.util.OsUtils
 
isTorProbablyBlocked(String) - Method in interface org.briarproject.onionwrapper.CircumventionProvider
Returns true if vanilla Tor connections are blocked in the given country.
isTorRunning() - Method in interface org.briarproject.onionwrapper.TorWrapper
Returns true if the wrapper has been started and not yet TorWrapper.stop() stopped.
isWindows() - Static method in class org.briarproject.onionwrapper.util.OsUtils
 

L

LOG - Static variable in interface org.briarproject.onionwrapper.TorWrapper
 

M

MEEK - Enum constant in enum class org.briarproject.onionwrapper.CircumventionProvider.BridgeType
 

N

NON_DEFAULT_BRIDGES - Static variable in interface org.briarproject.onionwrapper.CircumventionProvider
Countries where non-default obfs4 or vanilla bridges are likely to work.
NON_DEFAULT_OBFS4 - Enum constant in enum class org.briarproject.onionwrapper.CircumventionProvider.BridgeType
 

O

onBootstrapPercentage(int) - Method in interface org.briarproject.onionwrapper.TorWrapper.Observer
Called whenever the bootstrap percentage changes.
onClockSkewDetected(long) - Method in interface org.briarproject.onionwrapper.TorWrapper.Observer
Called whenever Tor detects that the system clock is skewed.
onHsDescriptorUpload(String) - Method in interface org.briarproject.onionwrapper.TorWrapper.Observer
Called whenever a hidden service descriptor is uploaded.
onion - Variable in class org.briarproject.onionwrapper.TorWrapper.HiddenServiceProperties
 
onState(TorWrapper.TorState) - Method in interface org.briarproject.onionwrapper.TorWrapper.Observer
Called whenever the state of the Tor process changes.
org.briarproject.onionwrapper - package org.briarproject.onionwrapper
 
org.briarproject.onionwrapper.util - package org.briarproject.onionwrapper.util
 
OsUtils - Class in org.briarproject.onionwrapper.util
 
OsUtils() - Constructor for class org.briarproject.onionwrapper.util.OsUtils
 

P

privKey - Variable in class org.briarproject.onionwrapper.TorWrapper.HiddenServiceProperties
 
publishHiddenService(int, int, String) - Method in interface org.briarproject.onionwrapper.TorWrapper
Publishes an ephemeral hidden service.

R

removeHiddenService(String) - Method in interface org.briarproject.onionwrapper.TorWrapper
Removes (unpublishes) an ephemeral hidden service that was created by calling TorWrapper.publishHiddenService(int, int, String).

S

setObserver(TorWrapper.Observer) - Method in interface org.briarproject.onionwrapper.TorWrapper
Sets an observer for observing the state of the wrapper, replacing any existing observer, or removes any existing observer if the argument is null.
SNOWFLAKE - Enum constant in enum class org.briarproject.onionwrapper.CircumventionProvider.BridgeType
 
start() - Method in interface org.briarproject.onionwrapper.TorWrapper
Starts the Tor process.
STARTING_STOPPING - Enum constant in enum class org.briarproject.onionwrapper.TorWrapper.TorState
The Tor process is either starting or stopping.
stop() - Method in interface org.briarproject.onionwrapper.TorWrapper
Tell the Tor process to stop and returns without waiting for the process to exit.
StringUtils - Class in org.briarproject.onionwrapper.util
 
StringUtils() - Constructor for class org.briarproject.onionwrapper.util.StringUtils
 

T

TorWrapper - Interface in org.briarproject.onionwrapper
 
TorWrapper.HiddenServiceProperties - Class in org.briarproject.onionwrapper
 
TorWrapper.Observer - Interface in org.briarproject.onionwrapper
An interface for observing changes to the state of the Tor process.
TorWrapper.TorState - Enum Class in org.briarproject.onionwrapper
The state of the Tor wrapper.

V

valueOf(String) - Static method in enum class org.briarproject.onionwrapper.CircumventionProvider.BridgeType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.briarproject.onionwrapper.TorWrapper.TorState
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.briarproject.onionwrapper.CircumventionProvider.BridgeType
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.briarproject.onionwrapper.TorWrapper.TorState
Returns an array containing the constants of this enum class, in the order they are declared.
VANILLA - Enum constant in enum class org.briarproject.onionwrapper.CircumventionProvider.BridgeType
 
B C D E G I L M N O P R S T V 
All Classes and Interfaces|All Packages