Contains the bandwidth history of a relay or bridge.
Contains a sanitized bridge extra-info descriptor.
Contains a sanitized bridge network status document.
Contains a sanitized list of bridges together with the distribution pools they have been assigned to by the bridge distribution service BridgeDB.
Contains a sanitized bridge server descriptor.
Superinterface for any descriptor with access to generic information about the descriptor.
Descriptor source that synchronizes descriptors from the CollecTor service to a given local directory.
Descriptor source that parses descriptors from raw descriptor contents.
Descriptor source that reads descriptors from local files and provides an iterator over parsed descriptors.
Contains a key certificate in the version 3 directory protocol.
Contains the signature of a network status consensus or vote.
Contains details about an authority and its vote that contributed to a consensus.
Contains an exit list containing the IP addresses of relays that the exit list service TorDNSEL found when exiting through them.
Exit list entry containing results from a single exit scan.
Contains a relay or sanitized bridge extra-info descriptor.
Contains a relay microdescriptor.
Contains an entry in a network status in the version 2 or 3 directory protocol or in a bridge network status.
Contains a signed directory in the version 1 directory protocol.
Contains a relay extra-info descriptor.
Contains a network status document in the version 2 directory protocol.
Contains a network status consensus in the version 3 directory protocol.
Contains a network status vote in the version 3 directory protocol.
Contains a relay server descriptor.
Contains a router status entry contained in a signed directory in the version 1 directory protocol.
Contains a relay or sanitized bridge server descriptor.
Contains performance measurement results from making simple HTTP requests over the Tor network.
Contains a descriptor that could not be parsed.
Factory for descriptor sources which in turn produce descriptors.
Thrown if raw descriptor contents cannot be parsed to one or more
This package contains all relevant interfaces and
classes that an application would need to use this library.
Applications are strongly discouraged from accessing types from the
implementation package (
directly, because those may change without prior notice.
Interfaces and classes in this package can be grouped into general-purpose types to obtain and process any type of descriptor and descriptors produced by different components of the Tor network:
DescriptorSourceFactorywhich is the main entry point into using this library. This factory is used to create the descriptor sources for obtaining remote descriptor data (
DescriptorCollector) and descriptor sources for processing local descriptor data (
DescriptorParser). General-purpose types also include the superinterface for all provided descriptors (
BridgeServerDescriptor), extra-info descriptors (
BridgeExtraInfoDescriptor), microdescriptors which are derived from server descriptors by the directory authorities (
Microdescriptor), and helper types for parts of the aforementioned descriptors (
DirectoryKeyCertificate, and helper types for descriptor parts
DirectorySignature), descriptors from earlier directory protocol version 2 (
RelayNetworkStatus) and version 1 (
RouterStatusEntry), as well as descriptors published by the bridge authority and sanitized by the CollecTor service (
BridgePoolAssignment), the exit list service TorDNSEL (
ExitList), and the performance measurement service Torperf (