Skip navigation links
B C D E G I M N O P R S T U 

B

BandwidthHistory - Interface in org.torproject.descriptor
Contains the bandwidth history of a relay or bridge.
BridgeExtraInfoDescriptor - Interface in org.torproject.descriptor
Contains a sanitized bridge extra-info descriptor.
BridgeNetworkStatus - Interface in org.torproject.descriptor
Contains a sanitized bridge network status document.
BridgePoolAssignment - Interface in org.torproject.descriptor
Contains a sanitized list of bridges together with the distribution pools they have been assigned to by the bridge distribution service BridgeDB.
BridgeServerDescriptor - Interface in org.torproject.descriptor
Contains a sanitized bridge server descriptor.

C

collectDescriptors(String, String[], long, File, boolean) - Method in interface org.torproject.descriptor.DescriptorCollector
Fetch remote files from a CollecTor instance that do not yet exist locally and possibly delete local files that do not exist remotely anymore.
COLLECTOR_DEFAULT - Static variable in class org.torproject.descriptor.DescriptorSourceFactory
Default implementation of the DescriptorCollector descriptor source.
COLLECTOR_PROPERTY - Static variable in class org.torproject.descriptor.DescriptorSourceFactory
Property name for overriding the implementation of the DescriptorCollector descriptor source, which is by default set to the class in DescriptorSourceFactory.COLLECTOR_DEFAULT.
containsStatusEntry(String) - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return whether a status entry with the given relay fingerprint (SHA-1 digest of the server's public identity key, encoded as 40 upper-case hexadecimal characters) exists; convenience method for getStatusEntries().containsKey(fingerprint).
containsStatusEntry(String) - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return whether a status entry with the given relay fingerprint (SHA-1 digest of the server's public identity key, encoded as 40 upper-case hexadecimal characters) exists; convenience method for getStatusEntries().containsKey(fingerprint).
containsStatusEntry(String) - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return whether a status entry with the given relay fingerprint (SHA-1 digest of the server's public identity key, encoded as 40 upper-case hexadecimal characters) exists; convenience method for getStatusEntries().containsKey(fingerprint).
createDescriptorCollector() - Static method in class org.torproject.descriptor.DescriptorSourceFactory
Create a new DescriptorCollector by instantiating the class in DescriptorSourceFactory.COLLECTOR_PROPERTY.
createDescriptorParser() - Static method in class org.torproject.descriptor.DescriptorSourceFactory
Create a new DescriptorParser by instantiating the class in DescriptorSourceFactory.PARSER_PROPERTY.
createDescriptorReader() - Static method in class org.torproject.descriptor.DescriptorSourceFactory
Create a new DescriptorReader by instantiating the class in DescriptorSourceFactory.READER_PROPERTY.

D

Descriptor - Interface in org.torproject.descriptor
Superinterface for any descriptor with access to generic information about the descriptor.
DescriptorCollector - Interface in org.torproject.descriptor
Descriptor source that synchronizes descriptors from the CollecTor service to a given local directory.
DescriptorParseException - Exception in org.torproject.descriptor
Thrown if raw descriptor contents cannot be parsed to one or more Descriptor instances, according to descriptor specifications.
DescriptorParseException(String) - Constructor for exception org.torproject.descriptor.DescriptorParseException
 
DescriptorParseException(String, Exception) - Constructor for exception org.torproject.descriptor.DescriptorParseException
 
DescriptorParser - Interface in org.torproject.descriptor
Descriptor source that parses descriptors from raw descriptor contents.
DescriptorReader - Interface in org.torproject.descriptor
Descriptor source that reads descriptors from local files and provides an iterator over parsed descriptors.
DescriptorSourceFactory - Class in org.torproject.descriptor
Factory for descriptor sources which in turn produce descriptors.
DescriptorSourceFactory() - Constructor for class org.torproject.descriptor.DescriptorSourceFactory
 
didTimeout() - Method in interface org.torproject.descriptor.TorperfResult
Return whether the request timed out (as opposed to failing), or null if the torperf line didn't contain that information.
DirectoryKeyCertificate - Interface in org.torproject.descriptor
Contains a key certificate in the version 3 directory protocol.
DirectorySignature - Interface in org.torproject.descriptor
Contains the signature of a network status consensus or vote.
DirSourceEntry - Interface in org.torproject.descriptor
Contains details about an authority and its vote that contributed to a consensus.

E

EOL - Static variable in interface org.torproject.descriptor.ExitList
End-of-line character expected in exit lists.
ExitList - Interface in org.torproject.descriptor
Contains an exit list containing the IP addresses of relays that the exit list service TorDNSEL found when exiting through them.
ExitList.Entry - Interface in org.torproject.descriptor
Exit list entry containing results from a single exit scan.
ExtraInfoDescriptor - Interface in org.torproject.descriptor
Contains a relay or sanitized bridge extra-info descriptor.

G

getAddress() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the authority's primary IPv4 address in dotted-quad format, or null if the certificate does not contain an address.
getAddress() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the server's primary IPv4 address in dotted-quad format.
getAddress() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the authority's primary IPv4 address in dotted-quad format, or null if the descriptor does not contain an address.
getAddress() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the authority's primary IPv4 address in dotted-quad format, or null if the descriptor does not contain an address.
getAddress() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the server's primary IPv4 address in dotted-quad format.
getAlgorithm() - Method in interface org.torproject.descriptor.DirectorySignature
Return the digest algorithm, which is "sha1" by default and which can be "sha256" or another digest algorithm.
getAllowSingleHopExits() - Method in interface org.torproject.descriptor.ServerDescriptor
Return whether this server allows single-hop circuits to make exit connections.
getAnnotations() - Method in interface org.torproject.descriptor.Descriptor
Return the (possibly empty) list of annotations in the format "@key( value)*".
getAnnotations() - Method in interface org.torproject.descriptor.UnparseableDescriptor
Will always throw an UnsupportedOperationException.
getBandwidth() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the bandwidth weight of this server or -1 if the status entry didn't contain a bandwidth line.
getBandwidthBurst() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the burst bandwidth in bytes per second that the server is willing to sustain in very short intervals.
getBandwidthObserved() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the observed bandwidth in bytes per second as an estimate of the capacity that the server can handle, or -1 if the descriptor doesn't contain an observed bandwidth value (which is the case for Tor 0.0.8 or older).
getBandwidthRate() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the average bandwidth in bytes per second that the server is willing to sustain over long periods.
getBandwidthValues() - Method in interface org.torproject.descriptor.BandwidthHistory
Return the (possibly empty) bandwidth history with map keys being times in milliseconds since the epoch when intervals end and map values being number of bytes used in the interval, ordered from oldest to newest interval.
getBandwidthWeights() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return optional weights to be applied to router bandwidths during path selection with map keys being case-sensitive weight identifiers and map values being weight values, or null if the consensus doesn't contain such weights.
getBridgeIps() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on bridge client IP addresses by country with map keys being country codes and map values being the number of unique IP addresses that have connected from that country rounded up to the nearest multiple of 8, or null if no such statistics are included.
getBridgeIpTransports() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on bridge client IP addresses by transport with map keys being pluggable transport names, e.g., "obfs2" or "obfs3" for known transports, "<OR>" for the default onion routing protocol, or "<??>" for an unknown transport, and map values being the number of unique IP addresses rounded up to the nearest multiple of 8, or null if no such statistics are included.
getBridgeIpVersions() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on bridge client IP addresses by IP version with map keys being protocol families, e.g., "v4" or "v6", and map values being the number of unique IP addresses rounded up to the nearest multiple of 8, or null if no such statistics are included.
getBridgeStatsEndMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included bridge statistics interval ended, or -1 if no such statistics are included.
getBridgeStatsIntervalLength() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the interval length of the included bridge statistics in seconds, or -1 if no such statistics are included.
getBuildTimes() - Method in interface org.torproject.descriptor.TorperfResult
Return a list of times in milliseconds since the epoch when circuit hops were built, or null if the torperf line didn't contain that information.
getCachesExtraInfo() - Method in interface org.torproject.descriptor.ServerDescriptor
Return whether this server is a directory cache that provides extra-info descriptors.
getCellCircuitsPerDecile() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the mean number of circuits included in any of the cell statistics deciles, or -1 if no such statistics are included.
getCellProcessedCells() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the mean number of processed cells per circuit by circuit decile starting with the loudest decile at index 0 and the quietest decile at index 8, or null if no such statistics are included.
getCellQueuedCells() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the mean number of cells contained in circuit queues by circuit decile starting with the loudest decile at index 0 and the quietest decile at index 8, or null if no such statistics are included.
getCellStatsEndMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included cell statistics interval ended, or -1 if no such statistics are included.
getCellStatsIntervalLength() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the interval length of the included cell statistics in seconds, or -1 if no such statistics are included.
getCellTimeInQueue() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the mean times in milliseconds that cells spend in circuit queues by circuit decile starting with the loudest decile at index 0 and the quietest decile at index 8, or null if no such statistics are included.
getCircId() - Method in interface org.torproject.descriptor.TorperfResult
Return the identifier of the circuit used for this measurement, or -1 if the torperf line didn't contain that information.
getCircuitProtocolVersions() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the list of circuit protocol versions that this server supports.
getConnBiDirectBelow() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the number of connections on which this server read and wrote less than 2 KiB/s in a 10-second interval, or -1 if no such statistics are included.
getConnBiDirectBoth() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the number of connections on which this server read and wrote at least 2 KiB/s in a 10-second interval but not 10 times more in either direction, or -1 if no such statistics are included.
getConnBiDirectRead() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the number of connections on which this server read and wrote at least 2 KiB/s in a 10-second interval and at least 10 times more in read direction than in write direction, or -1 if no such statistics are included.
getConnBiDirectStatsEndMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included statistics on bi-directional connection usage ended, or -1 if no such statistics are included.
getConnBiDirectStatsIntervalLength() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the interval length of the included statistics on bi-directional connection usage in seconds, or -1 if no such statistics are included.
getConnBiDirectWrite() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the number of connections on which this server read and wrote at least 2 KiB/s in a 10-second interval and at least 10 times more in write direction than in read direction, or -1 if no such statistics are included.
getConnectMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the socket was connected.
getConsensusFlavor() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the consensus flavor name, which denotes the variant of the original, unflavored consensus, encoded as a string of alphanumeric characters and dashes, or null if this descriptor is the unflavored consensus.
getConsensusMethod() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the consensus method number of this descriptor, which is the highest consensus method supported by more than 2/3 of voting authorities, or 0 if no consensus method is contained in the descriptor.
getConsensusMethods() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the list of consensus method numbers supported by this authority, or null if the descriptor doesn't say so, which would mean that only method 1 is supported.
getConsensusParams() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return consensus parameters contained in this descriptor with map keys being case-sensitive parameter identifiers and map values being parameter values, or null if the consensus doesn't contain consensus parameters.
getConsensusParams() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return consensus parameters contained in this descriptor with map keys being case-sensitive parameter identifiers and map values being parameter values, or null if the authority doesn't include consensus parameters in its vote.
getContact() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the contact information for this server, which may contain non-ASCII characters, or null if no contact information is included in the descriptor.
getContactLine() - Method in interface org.torproject.descriptor.DirSourceEntry
Return the contact information for this authority, which may contain non-ASCII characters.
getContactLine() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the contact information for this authority, which may contain non-ASCII characters.
getContactLine() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the contact information for this authority, which may contain non-ASCII characters, or null if no contact information is included in the descriptor.
getDataCompleteMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the payload was complete.
getDataPercentiles() - Method in interface org.torproject.descriptor.TorperfResult
Return the times in milliseconds since the epoch when x% of expected bytes were read for 0 <= x <= 100, or null if the torperf line didn't contain that information.
getDataRequestMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the HTTP request was written.
getDataResponseMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the first response was received.
getDefaultPolicy() - Method in interface org.torproject.descriptor.Microdescriptor
Return the default policy, "accept" or "reject", of the IPv4 port summary, or null if the descriptor didn't contain an IPv4 exit-policy summary line which is equivalent to rejecting all streams to IPv4 targets.
getDefaultPolicy() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the default policy of the port summary, which can be either "accept" or "reject", or null if the status entry didn't contain an exit policy summary.
getDescriptor() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the SHA-1 digest of the server descriptor, or null if the containing network status does not contain server descriptor references, like a microdesc consensus.
getDescriptorFile() - Method in interface org.torproject.descriptor.Descriptor
Return the file, tarball or plain file, that contained this descriptor, or null if this descriptor was not read from a file.
getDescriptorParseException() - Method in interface org.torproject.descriptor.UnparseableDescriptor
Return the first exception thrown while attempting to parse this descriptor.
getDigestSha1Hex() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the SHA-1 certificate digest, encoded as 40 lower-case hexadecimal characters.
getDigestSha1Hex() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the SHA-1 descriptor digest, encoded as 40 lower-case (relay descriptors) or upper-case (bridge descriptors) hexadecimal characters, that is used to reference this descriptor from a server descriptor.
getDigestSha1Hex() - Method in interface org.torproject.descriptor.RelayDirectory
Return the SHA-1 directory digest, encoded as 40 lower-case hexadecimal characters, that the directory authority used to sign the directory.
getDigestSha1Hex() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the SHA-1 status digest, encoded as 40 lower-case hexadecimal characters, that the directory authority used to sign the network status.
getDigestSha1Hex() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the SHA-1 digest of this consensus, encoded as 40 lower-case hexadecimal characters that directory authorities use to sign the consensus.
getDigestSha1Hex() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the SHA-1 digest of this vote, encoded as 40 lower-case hexadecimal characters that is used to reference this vote from a consensus.
getDigestSha1Hex() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the SHA-1 descriptor digest, encoded as 40 lower-case (relay descriptors) or upper-case (bridge descriptors) hexadecimal characters, that is used to reference this descriptor from a network status descriptor.
getDigestSha256Base64() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the SHA-256 descriptor digest, encoded as 43 base64 characters without padding characters, that may be used to reference this descriptor from a server descriptor.
getDigestSha256Base64() - Method in interface org.torproject.descriptor.Microdescriptor
Return the SHA-256 descriptor digest, encoded as 43 base64 characters without padding characters, that is used to reference this descriptor from a vote or microdescriptor consensus.
getDigestSha256Base64() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the SHA-256 descriptor digest, encoded as 43 base64 characters without padding characters, that may be used to reference this server descriptor from a network status descriptor.
getDirectorySignature() - Method in interface org.torproject.descriptor.RelayDirectory
Return the directory signature string made with the authority's identity key.
getDirectorySignature() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the directory signature string made with the authority's identity key.
getDirIdentityKey() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the authority's identity key in PEM format.
getDirIdentityKey() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the authority's identity key in PEM format.
getDirKeyCertificateVersion() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the version of this descriptor, which must be 3 or higher.
getDirKeyCertificateVersion() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the version of the directory key certificate used by this authority, which must be 3 or higher.
getDirKeyCertification() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the certificate signature from the initial item "dir-key-certificate-version" until the final item "dir-key-certification", signed with the authority identity key.
getDirKeyCertification() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the certificate signature from the initial item "dir-key-certificate-version" until the final item "dir-key-certification", signed with the authority identity key.
getDirKeyCrosscert() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the signature of the authority's identity key made using the authority's signing key, or null if the certificate does not contain such a signature.
getDirKeyCrosscert() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the signature of the authority's identity key made using the authority's signing key, or null if the vote does not contain such a signature.
getDirKeyExpiresMillis() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the time in milliseconds since the epoch after which the authority's signing key is no longer valid.
getDirKeyExpiresMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the time in milliseconds since the epoch after which the authority's signing key is no longer valid.
getDirKeyPublishedMillis() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the time in milliseconds since the epoch when the authority's signing key and this key certificate were generated.
getDirKeyPublishedMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the time in milliseconds since the epoch when the authority's signing key and corresponding key certificate were generated.
getDirOptions() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the set of flags that this directory assigns to relays, or null if the status does not assign such flags.
getDirPort() - Method in interface org.torproject.descriptor.DirSourceEntry
Return the TCP port where this authority accepts directory-related HTTP connections.
getDirPort() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the TCP port where this server accepts directory-related HTTP connections.
getDirport() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the TCP port where this authority accepts directory-related HTTP connections, or 0 if the authority does not accept such connections.
getDirport() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the TCP port where this authority accepts directory-related HTTP connections, or 0 if the authority does not accept such connections.
getDirPort() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the TCP port where this server accepts directory-related HTTP connections, or 0 if the server does not accept such connections.
getDirreqReadHistory() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the directory request read history contained in this descriptor, or null if no such history is contained.
getDirreqStatsEndMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included directory request statistics interval ended, or -1 if no such statistics are included.
getDirreqStatsIntervalLength() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the interval length of the included directory request statistics in seconds, or -1 if no such statistics are included.
getDirreqV2DirectDl() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on directory requests for v2 network statuses to the server's directory port with map keys being statistic keys and map values being statistic values like counts or quantiles, or null if no such statistics are included (which is the case with recent Tor versions).
getDirreqV2Ips() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on unique IP addresses requesting v2 network statuses with map keys being country codes and map values being numbers of unique IP addresses rounded up to the nearest multiple of 8, or null if no such statistics are included (which is the case with recent Tor versions).
getDirreqV2Reqs() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on directory requests for v2 network statuses with map keys being country codes and map values being request numbers rounded up to the nearest multiple of 8, or null if no such statistics are included (which is the case with recent Tor versions).
getDirreqV2Resp() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on responses to directory requests for v2 network statuses with map keys being response strings and map values being response numbers rounded up to the nearest multiple of 4, or null if no such statistics are included (which is the case with recent Tor versions).
getDirreqV2Share() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the share of requests for v2 network statuses that the server expects to receive from clients, or -1.0 if this share is not included (which is the case with recent Tor versions).
getDirreqV2TunneledDl() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on directory requests for v2 network statuses tunneled through a circuit with map keys being statistic keys and map values being statistic values, or null if no such statistics are included (which is the case with recent Tor versions).
getDirreqV3DirectDl() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on directory requests for v3 network status consensuses of any flavor to the server's directory port with map keys being statistic keys and map values being statistic values like counts or quantiles, or null if no such statistics are included.
getDirreqV3Ips() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on unique IP addresses requesting v3 network status consensuses of any flavor with map keys being country codes and map values being numbers of unique IP addresses rounded up to the nearest multiple of 8, or null if no such statistics are included.
getDirreqV3Reqs() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on directory requests for v3 network status consensuses of any flavor with map keys being country codes and map values being request numbers rounded up to the nearest multiple of 8, or null if no such statistics are included.
getDirreqV3Resp() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on responses to directory requests for v3 network status consensuses of any flavor with map keys being response strings and map values being response numbers rounded up to the nearest multiple of 4, or null if no such statistics are included.
getDirreqV3Share() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the share of requests for v3 network status consensuses of any flavor that the server expects to receive from clients, or -1.0 if this share is not included (which is the case with recent Tor versions).
getDirreqV3TunneledDl() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on directory requests for v3 network status consensuses of any flavor tunneled through a circuit with map keys being statistic keys and map values being statistic values, or null if no such statistics are included.
getDirreqWriteHistory() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the directory request write history contained in this descriptor, or null if no such history is contained.
getDirSigningKey() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the authority's signing key in PEM format.
getDirSigningKey() - Method in interface org.torproject.descriptor.RelayDirectory
Return the RSA-1024 public key in PEM format used by this authority as long-term identity key and to sign network statuses, or null if this key is not included in the descriptor header.
getDirSigningKey() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the RSA-1024 public key in PEM format used by this authority as long-term identity key and to sign network statuses.
getDirSigningKey() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the authority's signing key in PEM format.
getDirSourceEntries() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return directory source entries for each directory authority that contributed to the consensus, with map keys being SHA-1 digests of the authorities' identity keys in the version 3 directory protocol, encoded as 40 upper-case hexadecimal characters.
getDirSourceEntryBytes() - Method in interface org.torproject.descriptor.DirSourceEntry
Return the raw directory source entry bytes.
getDistSeconds() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the number of seconds that the directory authorities will allow to collect signatures from the other authorities when producing the next consensus.
getDistSeconds() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the number of seconds that the directory authorities will allow to collect signatures from the other authorities when producing the next consensus.
getDownloadedMillis() - Method in interface org.torproject.descriptor.ExitList
Return the time in milliseconds since the epoch when this descriptor was downloaded.
getEd25519Identity() - Method in interface org.torproject.descriptor.Microdescriptor
Return a SHA-256 digest of the server's Ed25519 identity key, encoded as 43 base64 characters without padding characters, that is only included to prevent collisions between microdescriptors, or null if no such digest is included.
getEndpointLocal() - Method in interface org.torproject.descriptor.TorperfResult
Return the hostname, IP address, and port that the TGen client used to connect to the local tor SOCKS port, formatted as hostname:ip:port, which may be "NULL:0.0.0.0:0" if TGen was not able to find this information or null if the OnionPerf line didn't contain this information.
getEndpointProxy() - Method in interface org.torproject.descriptor.TorperfResult
Return the hostname, IP address, and port that the TGen client used to connect to the SOCKS proxy server that tor runs, formatted as hostname:ip:port, which may be "NULL:0.0.0.0:0" if TGen was not able to find this information or null if the OnionPerf line didn't contain this information.
getEndpointRemote() - Method in interface org.torproject.descriptor.TorperfResult
Return the hostname, IP address, and port that the TGen client used to connect to the remote server, formatted as hostname:ip:port, which may be "NULL:0.0.0.0:0" if TGen was not able to find this information or null if the OnionPerf line didn't contain this information.
getEnoughMtbfInfo() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return 1 if the authority has measured enough MTBF info to use the MTBF requirement instead of the uptime requirement for assigning the Stable flag, 0 if not, or -1 if the authority doesn't report this information.
getEnoughMtbfInfo() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return 1 if the authority has measured enough MTBF info to use the MTBF requirement instead of the uptime requirement for assigning the Stable flag, 0 if not, or -1 if the authority doesn't report this information.
getEntries() - Method in interface org.torproject.descriptor.BridgePoolAssignment
Return the entries contained in this bridge pool assignment list with map keys being SHA-1 digests of SHA-1 digest of the bridges' public identity keys, encoded as 40 upper-case hexadecimal characters, and map values being assignment strings, e.g.
getEntries() - Method in interface org.torproject.descriptor.ExitList
Return the unordered set of exit scan results.
getEntryIps() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on client IP addresses with map keys being country codes and map values being the number of unique IP addresses that have connected from that country rounded up to the nearest multiple of 8, or null if no such statistics are included.
getEntryStatsEndMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included entry statistics interval ended, or -1 if no such statistics are included.
getEntryStatsIntervalLength() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the interval length of the included entry statistics in seconds, or -1 if no such statistics are included.
getExcludedFiles() - Method in interface org.torproject.descriptor.DescriptorReader
Return files and last modified timestamps of files that exist in the input directory or directories, but that have been excluded from parsing, because they haven't changed since they were last read.
getExitAddresses() - Method in interface org.torproject.descriptor.ExitList.Entry
Return the IP addresses that were determined in the scan with map keys being IPv4 addresses in dotted-quad format and map values being scan times in milliseconds since the epoch.
getExitKibibytesRead() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on KiB read from streams exiting the Tor network by target TCP port with map keys being string representations of ports (or "other") and map values being KiB rounded up to the next full KiB, or null if no such statistics are included.
getExitKibibytesWritten() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on KiB written to streams exiting the Tor network by target TCP port with map keys being string representations of ports (or "other") and map values being KiB rounded up to the next full KiB, or null if no such statistics are included.
getExitPolicyLines() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the server's exit policy consisting of one or more accept or reject rules that the server follows when deciding whether to allow a new stream to a given IP address and TCP port.
getExitStatsEndMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included exit statistics interval ended, or -1 if no such statistics are included.
getExitStatsIntervalLength() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the interval length of the included exit statistics in seconds, or -1 if no such statistics are included.
getExitStreamsOpened() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on opened streams exiting the Tor network by target TCP port with map keys being string representations of ports (or "other") and map values being the number of opened streams, rounded up to the nearest multiple of 4, or null if no such statistics are included.
getExtraInfoDigestSha1Hex() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the SHA-1 digest of the server's extra-info descriptor, encoded as 40 upper-case hexadecimal characters, or null if the server did not upload a corresponding extra-info descriptor.
getExtraInfoDigestSha256Base64() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the SHA-256 digest of the server's extra-info descriptor, encoded as 43 base64 characters without padding characters, or null if the server either did not upload a corresponding extra-info descriptor or did not refer to it using a SHA-256 digest.
getFamilyEntries() - Method in interface org.torproject.descriptor.Microdescriptor
Return nicknames, $-prefixed identity fingerprints, or tuples of the format $fingerprint=nickname or $fingerprint~nickname of servers contained in this server's family, or null if the descriptor does not contain a family line.
getFamilyEntries() - Method in interface org.torproject.descriptor.ServerDescriptor
Return nicknames, $-prefixed identity fingerprints, or tuples of the format $fingerprint=nickname or $fingerprint~nickname of servers contained in this server's family, or null if the descriptor does not contain a family line.
getFastBandwidth() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return the minimum bandwidth that this authority requires for assigning the Fast flag, or -1 if the authority doesn't report this value.
getFastBandwidth() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the minimum bandwidth that this authority requires for assigning the Fast flag, or -1 if the authority doesn't report this value.
getFileSize() - Method in interface org.torproject.descriptor.TorperfResult
Return the configured file size in bytes.
getFingerprint() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return a SHA-1 digest of the authority's long-term authority identity key used for the version 3 directory protocol, encoded as 40 upper-case hexadecimal characters.
getFingerprint() - Method in interface org.torproject.descriptor.ExitList.Entry
Return the scanned relay's fingerprint, which is a SHA-1 digest of the relays's public identity key, encoded as 40 upper-case hexadecimal characters.
getFingerprint() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return a SHA-1 digest of the server's public identity key, encoded as 40 upper-case hexadecimal characters, that is typically used to uniquely identify the server.
getFingerprint() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return a SHA-1 digest of the server's identity key, encoded as 40 upper-case hexadecimal characters.
getFingerprint() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return a SHA-1 digest of the authority's public identity key, encoded as 40 upper-case hexadecimal characters, which is also used to sign network statuses.
getFingerprint() - Method in interface org.torproject.descriptor.RouterStatusEntry
Return a SHA-1 digest of the relay's identity key, encoded as 40 upper-case hexadecimal characters.
getFingerprint() - Method in interface org.torproject.descriptor.ServerDescriptor
Return a SHA-1 digest of the server's public identity key, encoded as 40 upper-case hexadecimal characters (without spaces after every 4 characters as opposed to the encoding in the descriptor), that is typically used to uniquely identify the server, or null if this descriptor does not contain a fingerprint line.
getFlags() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the relay flags assigned to this server, or null if the status entry didn't contain any relay flags.
getFreshUntilMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the time in milliseconds since the epoch until which this descriptor is the freshest that is available.
getFreshUntilMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the time in milliseconds since the epoch until which the consensus is supposed to be the freshest that is available.
getGeoip6DbDigestSha1Hex() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return a SHA-1 digest of the GeoIPv6 database file used by this server to resolve client IP addresses to country codes, encoded as 40 upper-case hexadecimal characters, or null if no GeoIPv6 database digest is included.
getGeoipClientOrigins() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return statistics on the origin of client IP addresses with map keys being country codes and map values being the number of unique IP addresses that have connected from that country between the start of the statistics interval and the descriptor publication time rounded up to the nearest multiple of 8, or null if no such statistics are included (which is the case except for very old Tor versions).
getGeoipDbDigestSha1Hex() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return a SHA-1 digest of the GeoIP database file used by this server to resolve client IP addresses to country codes, encoded as 40 upper-case hexadecimal characters, or null if no GeoIP database digest is included.
getGeoipStartTimeMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included "geoip" statistics interval started, or -1 if no such statistics are included (which is the case except for very old Tor versions).
getGuardBandwidthExcludingExits() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return the minimum bandwidth that this authority requires for assigning the Guard flag if exits can not be guards, or -1 if the authority doesn't report this value.
getGuardBandwidthExcludingExits() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the minimum bandwidth that this authority requires for assigning the Guard flag if exits can not be guards, or -1 if the authority doesn't report this value.
getGuardBandwidthIncludingExits() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return the minimum bandwidth that this authority requires for assigning the Guard flag if exits can be guards, or -1 if the authority doesn't report this value.
getGuardBandwidthIncludingExits() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the minimum bandwidth that this authority requires for assigning the Guard flag if exits can be guards, or -1 if the authority doesn't report this value.
getGuardTk() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return the minimum weighted time in seconds that this authority needs to know about a relay before assigning the Guard flag, or -1 if the authority doesn't report this information.
getGuardTk() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the minimum weighted time in seconds that this authority needs to know about a relay before assigning the Guard flag, or -1 if the authority doesn't report this information.
getGuardWfu() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return the minimum WFU (weighted fractional uptime) in percent that this authority requires for assigning the Guard flag, or -1 if the authority doesn't report this value.
getGuardWfu() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the minimum WFU (weighted fractional uptime) in percent that this authority requires for assigning the Guard flag, or -1 if the authority doesn't report this value.
getHiddenServiceDirVersions() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the list of hidden service descriptor version numbers that this server stores and serves, or null if it doesn't store and serve any hidden service descriptors.
getHidservDirOnionsSeen() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the approximate number of unique hidden-service identities seen in descriptors published to and accepted by this hidden-service directory, or null if no such statistics are included.
getHidservDirOnionsSeenParameters() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the obfuscation parameters applied to the original measurement value of unique hidden-service identities seen in descriptors published to and accepted by this hidden-service directory, or null if no such statistics are included.
getHidservRendRelayedCells() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the approximate number of RELAY cells seen in either direction on a circuit after receiving and successfully processing a RENDEZVOUS1 cell, or null if no such statistics are included.
getHidservRendRelayedCellsParameters() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the obfuscation parameters applied to the original measurement value of RELAY cells seen in either direction on a circuit after receiving and successfully processing a RENDEZVOUS1 cell, or null if no such statistics are included.
getHidservStatsEndMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included hidden-service statistics interval ended, or -1 if no such statistics are included.
getHidservStatsIntervalLength() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the interval length of the included hidden-service statistics in seconds, or -1 if no such statistics are included.
getHistoryEndMillis() - Method in interface org.torproject.descriptor.BandwidthHistory
Return the time in milliseconds since the epoch when the most recent interval ends.
getHostname() - Method in interface org.torproject.descriptor.DirSourceEntry
Return the authority's hostname.
getHostname() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the authority's hostname.
getHostname() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the authority's hostname.
getHostnameLocal() - Method in interface org.torproject.descriptor.TorperfResult
Return the client machine hostname, which may be "(NULL)" if the TGen client was not able to find this information or null if the OnionPerf line didn't contain this information.
getHostnameRemote() - Method in interface org.torproject.descriptor.TorperfResult
Return the server machine hostname, which may be "(NULL)" if the TGen server was not able to find this information or null if the OnionPerf line didn't contain this information.
getIdentity() - Method in interface org.torproject.descriptor.DirectorySignature
Return the SHA-1 digest of the authority's long-term identity key in the version 3 directory protocol, encoded as 40 upper-case hexadecimal characters.
getIdentity() - Method in interface org.torproject.descriptor.DirSourceEntry
Return a SHA-1 digest of the authority's long-term authority identity key used for the version 3 directory protocol, encoded as 40 upper-case hexadecimal characters.
getIdentity() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return a SHA-1 digest of the authority's long-term authority identity key used for the version 3 directory protocol, encoded as 40 upper-case hexadecimal characters.
getIdentityEd25519() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the Ed25519 certificate in PEM format, or null if the descriptor doesn't contain one.
getIdentityEd25519() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the Ed25519 certificate in PEM format, or null if the descriptor doesn't contain one.
getIgnoringAdvertisedBws() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return 1 if the authority has enough measured bandwidths that it'll ignore the advertised bandwidth claims of routers without measured bandwidth, 0 if not, or -1 if the authority doesn't report this information.
getIgnoringAdvertisedBws() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return 1 if the authority has enough measured bandwidths that it'll ignore the advertised bandwidth claims of routers without measured bandwidth, 0 if not, or -1 if the authority doesn't report this information.
getIntervalLength() - Method in interface org.torproject.descriptor.BandwidthHistory
Return the interval length in seconds.
getIp() - Method in interface org.torproject.descriptor.DirSourceEntry
Return the authority's primary IPv4 address in dotted-quad format.
getIpv6DefaultPolicy() - Method in interface org.torproject.descriptor.Microdescriptor
Return the default policy, "accept" or "reject", of the IPv6 port summary, or null if the descriptor didn't contain an IPv6 exit-policy summary line which is equivalent to rejecting all streams to IPv6 targets.
getIpv6DefaultPolicy() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the default policy, "accept" or "reject", of the IPv6 port summary, or null if the descriptor didn't contain an IPv6 exit-policy summary line which is equivalent to rejecting all streams to IPv6 targets.
getIpv6PortList() - Method in interface org.torproject.descriptor.Microdescriptor
Return the port list of the IPv6 exit-policy summary, or null if the descriptor didn't contain an IPv6 exit-policy summary line which is equivalent to rejecting all streams to IPv6 targets.
getIpv6PortList() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the port list of the IPv6 exit-policy summary, or null if the descriptor didn't contain an IPv6 exit-policy summary line which is equivalent to rejecting all streams to IPv6 targets.
getKnownFlags() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return known relay flags in this descriptor that were contained in enough votes for this consensus to be an authoritative opinion for these relay flags.
getKnownFlags() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return known relay flags by this authority.
getLastStatusMillis() - Method in interface org.torproject.descriptor.ExitList.Entry
Return the time in milliseconds since the epoch when the network status that this scan was based on was published.
getLaunchMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the circuit was launched, or -1 if the torperf line didn't contain that information.
getLegacyDirKey() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the SHA-1 digest for an obsolete authority identity key still used by this authority to keep older clients working, or null if this authority does not use such a key.
getLine() - Method in interface org.torproject.descriptor.BandwidthHistory
Return the original bandwidth history line as contained in the descriptor, possibly prefixed with "opt ".
getLinkProtocolVersions() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the list of link protocol versions that this server supports.
getMasterKeyEd25519() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the Ed25519 master key, encoded as 43 base64 characters without padding characters, which was either parsed from the optional "master-key-ed25519" line or derived from the (likewise optional) Ed25519 certificate following the "identity-ed25519" line, or null if the descriptor contains neither Ed25519 master key nor Ed25519 certificate.
getMasterKeyEd25519() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the server's Ed25519 master key, encoded as 43 base64 characters without padding characters, "none" if the relay doesn't have an Ed25519 identity, or null if the status entry didn't contain this information or if the status is not a vote.
getMasterKeyEd25519() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the Ed25519 master key, encoded as 43 base64 characters without padding characters, which was either parsed from the optional "master-key-ed25519" line or derived from the (likewise optional) Ed25519 certificate following the "identity-ed25519" line, or null if the descriptor contains neither Ed25519 master key nor Ed25519 certificate.
getMeasured() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the measured bandwidth or -1 if the status entry either didn't contain bandwidth information or didn't contain an indication that this information is based on measured bandwidth.
getMicrodescriptorDigestsSha256Base64() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the (possibly empty) set of microdescriptor digests, encoded as 43 base64 characters without padding characters, if the containing network status is a vote or microdesc consensus, or null otherwise.
getNegotiateMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when SOCKS 5 authentication methods have been negotiated.
getNetworkStatusVersion() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the document format version of this descriptor which is 2.
getNetworkStatusVersion() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the document format version of this descriptor which is 3 or higher.
getNetworkStatusVersion() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the document format version of this descriptor which is 3 or higher.
getNickname() - Method in interface org.torproject.descriptor.DirSourceEntry
Return the authority's nickname consisting of 1 to 19 alphanumeric characters.
getNickname() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the server's nickname consisting of 1 to 19 alphanumeric characters.
getNickname() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the server nickname consisting of 1 to 19 alphanumeric characters.
getNickname() - Method in interface org.torproject.descriptor.RelayDirectory
Return the directory nickname consisting of 1 to 19 alphanumeric characters.
getNickname() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the authority's nickname consisting of 1 to 19 alphanumeric characters.
getNickname() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the authority's nickname consisting of 1 to 19 alphanumeric characters.
getNickname() - Method in interface org.torproject.descriptor.RouterStatusEntry
Return the relay nickname consisting of 1 to 19 alphanumeric characters, or null if the relay is unverified.
getNickname() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the server's nickname consisting of 1 to 19 alphanumeric characters.
getNtorOnionKey() - Method in interface org.torproject.descriptor.Microdescriptor
Return the curve25519 public key, encoded as 43 base64 characters without padding characters, that is used for the ntor circuit extended handshake, or null if the descriptor didn't contain an ntor-onion-key line.
getNtorOnionKey() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the curve25519 public key, encoded as 43 base64 characters without padding characters, that is used for the ntor circuit extended handshake, or null if the descriptor didn't contain an ntor-onion-key line.
getNtorOnionKeyCrosscert() - Method in interface org.torproject.descriptor.ServerDescriptor
Return an Ed25519 signature in PEM format, generated using the server's ntor onion key, that proves that the party creating the descriptor had control over the private key corresponding to the ntor onion key, or null if the descriptor does not contain such a signature.
getNtorOnionKeyCrosscertSign() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the sign of the Ed25519 public key corresponding to the ntor onion key as 0 or 1, or -1 if the descriptor does not contain this information.
getOnionKey() - Method in interface org.torproject.descriptor.Microdescriptor
Return the RSA-1024 public key in PEM format used to encrypt CREATE cells for this server, or null if the descriptor doesn't contain an onion key.
getOnionKey() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the RSA-1024 public key in PEM format used to encrypt CREATE cells for this server, or null if the descriptor doesn't contain an onion key (which is the case in sanitized bridge descriptors).
getOnionKeyCrosscert() - Method in interface org.torproject.descriptor.ServerDescriptor
Return an RSA-1024 signature in PEM format, generated using the server's onion key, that proves that the party creating the descriptor had control over the private key corresponding to the onion key, or null if the descriptor does not contain such a signature.
getOrAddresses() - Method in interface org.torproject.descriptor.Microdescriptor
Return IP addresses and TCP ports where this server accepts TLS connections for the main OR protocol, or an empty list if the server does not support additional addresses or ports; entries are given in the order as they are listed in the descriptor; IPv4 addresses are given in dotted-quad format, IPv6 addresses use the colon-separated hexadecimal format surrounded by square brackets, and TCP ports are separated from the IP address using a colon.
getOrAddresses() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return additional IP addresses and TCP ports where this server accepts TLS connections for the main OR protocol, or an empty list if the network status doesn't contain any such additional addresses and ports.
getOrAddresses() - Method in interface org.torproject.descriptor.ServerDescriptor
Return IP addresses and TCP ports where this server accepts TLS connections for the main OR protocol, or an empty list if the server does not support additional addresses or ports; entries are given in the order as they are listed in the descriptor; IPv4 addresses are given in dotted-quad format, IPv6 addresses use the colon-separated hexadecimal format surrounded by square brackets, and TCP ports are separated from the IP address using a colon.
getOrPort() - Method in interface org.torproject.descriptor.DirSourceEntry
Return the TCP port where this authority accepts TLS connections for the main OR protocol.
getOrPort() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the TCP port where this server accepts TLS connections for the main OR protocol.
getOrport() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the TCP port where this authority accepts TLS connections for the main OR protocol, or 0 if the authority does not accept such connections.
getOrPort() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the TCP port where this server accepts TLS connections for the main OR protocol, or 0 if the server does not accept such connections.
getPackageLines() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return a list of software packages and their versions together with a URL and one or more digests in the format PackageName Version URL DIGESTS that are known by at least three directory authorities and agreed upon by the majority of directory authorities, or null if the consensus does not contain package information.
getPackageLines() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return a list of software packages and their versions together with a URL and one or more digests in the format PackageName Version URL DIGESTS that are known by this directory authority, or null if this descriptor does not contain package information.
getPaddingCounts() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return padding-counts statistics, or null if no such statistics are included.
getPaddingCountsStatsEndMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when the included padding-counts statistics ended, or -1 if no such statistics are included.
getPaddingCountsStatsIntervalLength() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the interval length of the included padding-counts statistics in seconds, or -1 if no such statistics are included.
getParsedFiles() - Method in interface org.torproject.descriptor.DescriptorReader
Return files and last modified timestamps of files that exist in the input directory or directories and that have been parsed.
getPath() - Method in interface org.torproject.descriptor.TorperfResult
Return a list of fingerprints of the relays in the circuit, or null if the torperf line didn't contain that information.
getPlatform() - Method in interface org.torproject.descriptor.ServerDescriptor
Return a human-readable string describing the Tor software version and the operating system of this server, which may contain non-ASCII characters, typically written as "Tor $version on $system", or null if this descriptor does not contain a platform line.
getPort() - Method in interface org.torproject.descriptor.DirectoryKeyCertificate
Return the TCP port where this authority accepts directory-related HTTP connections, or -1 if the certificate does not contain a port.
getPortList() - Method in interface org.torproject.descriptor.Microdescriptor
Return the port list of the IPv4 exit-policy summary, or null if the descriptor didn't contain an IPv4 exit-policy summary line which is equivalent to rejecting all streams to IPv4 targets.
getPortList() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the list of ports or port intervals of the exit port summary, or null if the status entry didn't contain an exit policy summary.
getProtocols() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the version numbers of all protocols supported by this server, or null if the status entry does not specify supported protocol versions.
getProtocols() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the version numbers of all protocols supported by this server, or null if this descriptor does not specify supported protocol versions.
getPublishedMillis() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return the time in milliseconds since the epoch when this descriptor was published.
getPublishedMillis() - Method in interface org.torproject.descriptor.BridgePoolAssignment
Return the time in milliseconds since the epoch when this descriptor was published.
getPublishedMillis() - Method in interface org.torproject.descriptor.ExitList.Entry
Return the time in milliseconds since the epoch when the scanned relay's last known descriptor was published.
getPublishedMillis() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the time in milliseconds since the epoch when this descriptor and the corresponding server descriptor were generated.
getPublishedMillis() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the time in milliseconds since the epoch when this descriptor was published.
getPublishedMillis() - Method in interface org.torproject.descriptor.RelayDirectory
Return the time in milliseconds since the epoch when this descriptor was published.
getPublishedMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return the time in milliseconds since the epoch when this descriptor was published.
getPublishedMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the time in milliseconds since the epoch when this descriptor was published.
getPublishedMillis() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the time in milliseconds since the epoch when this descriptor and the corresponding extra-info descriptor were generated.
getQuantile() - Method in interface org.torproject.descriptor.TorperfResult
Return the circuit build time quantile that the Tor client uses to determine its circuit-build timeout, or -1 if the torperf line didn't contain that information.
getRawDescriptorBytes() - Method in interface org.torproject.descriptor.Descriptor
Return the raw descriptor bytes.
getRawDescriptorLength() - Method in interface org.torproject.descriptor.Descriptor
Return the raw descriptor length in bytes.
getReadBytes() - Method in interface org.torproject.descriptor.TorperfResult
Return the total number of bytes read.
getReadHistory() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the server's history of read bytes, or null if the descriptor does not contain a bandwidth history; older Tor versions included bandwidth histories in their server descriptors (ServerDescriptor.getReadHistory()).
getReadHistory() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the server's history of read bytes, or null if the descriptor does not contain a bandwidth history; current Tor versions include bandwidth histories in their extra-info descriptors (ExtraInfoDescriptor.getReadHistory()), not in their server descriptors.
getRecommendedClientProtocols() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the version numbers of all protocols that clients should support, or null if the consensus does not contain an opinion about protocol versions.
getRecommendedClientProtocols() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the version numbers of all protocols that clients should support, or null if the vote does not contain an opinion about protocol versions.
getRecommendedClientVersions() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return recommended Tor versions for client usage, or null if the authority does not recommend client versions.
getRecommendedClientVersions() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return recommended Tor versions for client usage, or null if the consensus does not contain an opinion about client versions.
getRecommendedClientVersions() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return recommended Tor versions for client usage, or null if the authority does not recommend client versions.
getRecommendedRelayProtocols() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the version numbers of all protocols that relays should support, or null if the consensus does not contain an opinion about protocol versions.
getRecommendedRelayProtocols() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the version numbers of all protocols that relays should support, or null if the vote does not contain an opinion about protocol versions.
getRecommendedServerVersions() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return recommended Tor versions for server usage, or null if the authority does not recommend server versions.
getRecommendedServerVersions() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return recommended Tor versions for server usage, or null if the consensus does not contain an opinion about server versions.
getRecommendedServerVersions() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return recommended Tor versions for server usage, or null if the authority does not recommend server versions.
getRecommendedSoftware() - Method in interface org.torproject.descriptor.RelayDirectory
Return recommended Tor versions.
getRequestMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the SOCKS request was sent.
getRequiredClientProtocols() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the version numbers of all protocols that clients must support, or null if the consensus does not contain an opinion about protocol versions.
getRequiredClientProtocols() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the version numbers of all protocols that clients must support, or null if the vote does not contain an opinion about protocol versions.
getRequiredRelayProtocols() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the version numbers of all protocols that relays must support, or null if the consensus does not contain an opinion about protocol versions.
getRequiredRelayProtocols() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the version numbers of all protocols that relays must support, or null if the vote does not contain an opinion about protocol versions.
getResponseMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the SOCKS response was received.
getRouterSignature() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the RSA-1024 signature of the PKCS1-padded descriptor digest, taken from the beginning of the router line through the newline after the router-signature line, or null if the descriptor doesn't contain a signature (which is the case in sanitized bridge descriptors).
getRouterSignature() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the RSA-1024 signature of the PKCS1-padded descriptor digest, taken from the beginning of the router line through the newline after the router-signature line, or null if the descriptor doesn't contain a signature (which is the case in sanitized bridge descriptors).
getRouterSignatureEd25519() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the Ed25519 signature of the SHA-256 digest of the entire descriptor, encoded as 86 base64 characters without padding characters, from the first character up to and including the first space after the "router-sig-ed25519" string, prefixed with the string "Tor router descriptor signature v1".
getRouterSignatureEd25519() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the Ed25519 signature of the SHA-256 digest of the entire descriptor, encoded as 86 base64 characters without padding characters, from the first character up to and including the first space after the "router-sig-ed25519" string, prefixed with the string "Tor router descriptor signature v1".
getRouterStatusEntries() - Method in interface org.torproject.descriptor.RelayDirectory
Return router status entries, one for each contained relay.
getRsa1024Identity() - Method in interface org.torproject.descriptor.Microdescriptor
Return a SHA-1 digest of the server's RSA-1024 identity key, encoded as 27 base64 characters without padding characters, that is only included to prevent collisions between microdescriptors, or null if no such digest is included.
getServerDescriptorParseExceptions() - Method in interface org.torproject.descriptor.RelayDirectory
Return a (very likely empty) list of exceptions from parsing the contained server descriptors.
getServerDescriptors() - Method in interface org.torproject.descriptor.RelayDirectory
Return a list of server descriptors contained in the signed directory.
getSharedRandCommitLines() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return all currently known directory authority commit lines for the shared randomness protocol in the original format as they are contained in this vote, or null if this vote does not contain any such line.
getSharedRandCurrentNumReveals() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the number of commits used to generate the latest shared random value, or -1 if the consensus does not contain the latest shared random value.
getSharedRandCurrentNumReveals() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the number of commits used to generate the latest shared random value, or -1 if this vote does not contain the latest shared random value.
getSharedRandCurrentValue() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the latest shared random value, encoded in base64, or null if the consensus does not contain the latest shared random value.
getSharedRandCurrentValue() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the latest shared random value, encoded in base64, or null if this vote does not contain the latest shared random value.
getSharedRandPreviousNumReveals() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the number of commits used to generate the second-to-last shared random value, or -1 if the consensus does not contain a second-to-last shared random value.
getSharedRandPreviousNumReveals() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the number of commits used to generate the second-to-last shared random value, or -1 if this vote does not contain a second-to-last shared random value.
getSharedRandPreviousValue() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the second-to-last shared random value, encoded in base64, or null if the consensus does not contain a second-to-last shared random value.
getSharedRandPreviousValue() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the second-to-last shared random value, encoded in base64, or null if this vote does not contain a second-to-last shared random value.
getSignature() - Method in interface org.torproject.descriptor.DirectorySignature
Return the directory signature string made with the authority's identity key in the version 3 directory protocol.
getSignatures() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the list of signatures contained in this consensus.
getSignatures() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return a list of signatures contained in this vote, which is typically a single signature made by the authority but which may also be more than one signature made with different keys or algorithms.
getSigningKey() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the RSA-1024 public key in PEM format used by this server as long-term identity key, or null if the descriptor doesn't contain a signing key (which is the case in sanitized bridge descriptors).
getSigningKeyDigestSha1Hex() - Method in interface org.torproject.descriptor.DirectorySignature
Return the SHA-1 digest of the authority's medium-term signing key in the version 3 directory protocol, encoded as 40 upper-case hexadecimal characters.
getSocketMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the socket was created.
getSocksPort() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the TCP port where this server accepts SOCKS connections, which is deprecated in the Tor Protocol and should always be 0.
getSource() - Method in interface org.torproject.descriptor.TorperfResult
Return the configured name of the data source.
getSourceAddress() - Method in interface org.torproject.descriptor.TorperfResult
Return the public IP address of the OnionPerf host obtained by connecting to well-known servers and finding the IP address in the result, which may be "unknown" if OnionPerf was not able to find this information or null if the OnionPerf line didn't contain this information.
getStableMtbf() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return the minimum MTBF (mean time between failure) that this authority requires for assigning the Stable flag, or -1 if the authority doesn't report this value.
getStableMtbf() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the minimum MTBF (mean time between failure) that this authority requires for assigning the Stable flag, or -1 if the authority doesn't report this value.
getStableUptime() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return the minimum uptime in seconds that this authority requires for assigning the Stable flag, or -1 if the authority doesn't report this value.
getStableUptime() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the minimum uptime in seconds that this authority requires for assigning the Stable flag, or -1 if the authority doesn't report this value.
getStartMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the connection process started.
getStatusEntries() - Method in interface org.torproject.descriptor.BridgeNetworkStatus
Return status entries for each contained bridge, with map keys being SHA-1 digests of SHA-1 digest of the bridges' public identity keys, encoded as 40 upper-case hexadecimal characters.
getStatusEntries() - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return status entries for each contained server, with map keys being SHA-1 digests of the servers' public identity keys, encoded as 40 upper-case hexadecimal characters.
getStatusEntries() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return status entries for each contained server, with map keys being SHA-1 digests of the servers' public identity keys, encoded as 40 upper-case hexadecimal characters.
getStatusEntries() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return status entries for each contained server, with map keys being SHA-1 digests of the servers' public identity keys, encoded as 40 upper-case hexadecimal characters.
getStatusEntry(String) - Method in interface org.torproject.descriptor.RelayNetworkStatus
Return a status entry by relay fingerprint (SHA-1 digest of the server's public identity key, encoded as 40 upper-case hexadecimal characters), or null if no such status entry exists; convenience method for getStatusEntries().get(fingerprint).
getStatusEntry(String) - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return a status entry by relay fingerprint (SHA-1 digest of the server's public identity key, encoded as 40 upper-case hexadecimal characters), or null if no such status entry exists; convenience method for getStatusEntries().get(fingerprint).
getStatusEntry(String) - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return a status entry by relay fingerprint (SHA-1 digest of the server's public identity key, encoded as 40 upper-case hexadecimal characters), or null if no such status entry exists; convenience method for getStatusEntries().get(fingerprint).
getStatusEntryBytes() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the raw network status entry bytes.
getTimeout() - Method in interface org.torproject.descriptor.TorperfResult
Return the circuit build timeout that the Tor client used when building this circuit, or -1 if the torperf line didn't contain that information.
getTransports() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the (possibly empty) list of pluggable transports supported by this server.
getTunnelledDirServer() - Method in interface org.torproject.descriptor.ServerDescriptor
Return whether the server accepts "tunneled" directory requests using a BEGIN_DIR cell over the server's OR port.
getUnmeasured() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return whether the status entry is yet unmeasured by the bandwidth authorities; only included in consensuses using method 17 or higher.
getUnrecognizedKeys() - Method in interface org.torproject.descriptor.TorperfResult
Return all unrecognized keys together with their values, or null if all keys were recognized.
getUnrecognizedLines() - Method in interface org.torproject.descriptor.Descriptor
Return any unrecognized lines when parsing this descriptor, or an empty list if there were no unrecognized lines.
getUnrecognizedLines() - Method in interface org.torproject.descriptor.UnparseableDescriptor
Will always throw an UnsupportedOperationException.
getUptime() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the number of seconds that the server process has been running (which might even be negative in a few descriptors due to a bug that was fixed in Tor 0.1.2.7-alpha), or null if the descriptor does not contain an uptime line.
getUsedAtMillis() - Method in interface org.torproject.descriptor.TorperfResult
Return the time in milliseconds since the epoch when the circuit was used, or -1 if the torperf line didn't contain that information.
getUsedBy() - Method in interface org.torproject.descriptor.TorperfResult
Return the identifier of the stream used for this measurement, or -1 if the torperf line didn't contain that information.
getUsesEnhancedDnsLogic() - Method in interface org.torproject.descriptor.ServerDescriptor
Return true if the server uses the enhanced DNS logic, or false if doesn't use it or doesn't include an eventdns line in its descriptor; current Tor versions should be presumed to have the evdns backend.
getValidAfterMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the time in milliseconds since the epoch at which this descriptor became valid.
getValidAfterMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the time in milliseconds since the epoch at which the consensus is supposed to become valid.
getValidUntilMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the time in milliseconds since the epoch until which this descriptor was valid.
getValidUntilMillis() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the time in milliseconds since the epoch until which the consensus is supposed to be valid.
getVersion() - Method in interface org.torproject.descriptor.NetworkStatusEntry
Return the Tor software version, or null if the status entry didn't contain version information.
getVoteDigestSha1Hex() - Method in interface org.torproject.descriptor.DirSourceEntry
Return the SHA-1 vote digest, encoded as 40 lower-case hexadecimal characters.
getVoteSeconds() - Method in interface org.torproject.descriptor.RelayNetworkStatusConsensus
Return the number of seconds that the directory authorities will allow to collect votes from the other authorities when producing the next consensus.
getVoteSeconds() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return the number of seconds that the directory authorities will allow to collect votes from the other authorities when producing the next consensus.
getWriteBytes() - Method in interface org.torproject.descriptor.TorperfResult
Return the total number of bytes written.
getWriteHistory() - Method in interface org.torproject.descriptor.ExtraInfoDescriptor
Return the server's history of written bytes, or null if the descriptor does not contain a bandwidth history; older Tor versions included bandwidth histories in their server descriptors (ServerDescriptor.getWriteHistory()).
getWriteHistory() - Method in interface org.torproject.descriptor.ServerDescriptor
Return the server's history of written bytes, or null if the descriptor does not contain a bandwidth history; current Tor versions include bandwidth histories in their extra-info descriptors (ExtraInfoDescriptor.getWriteHistory()), not in their server descriptors.

I

isHibernating() - Method in interface org.torproject.descriptor.ServerDescriptor
Return whether the server was hibernating when this descriptor was published and should not be used to build circuits.
isLegacy() - Method in interface org.torproject.descriptor.DirSourceEntry
Return whether this directory source entry was created using a legacy key.
isLive() - Method in interface org.torproject.descriptor.RouterStatusEntry
Return whether the relay is live.
isSharedRandParticipate() - Method in interface org.torproject.descriptor.RelayNetworkStatusVote
Return whether this directory authority supports and can participate in the shared random protocol.
isVerified() - Method in interface org.torproject.descriptor.RouterStatusEntry
Return whether the relay is verified.

M

Microdescriptor - Interface in org.torproject.descriptor
Contains a relay microdescriptor.

N

NetworkStatusEntry - Interface in org.torproject.descriptor
Contains an entry in a network status in the version 2 or 3 directory protocol or in a bridge network status.

O

org.torproject.descriptor - package org.torproject.descriptor
Interfaces and essential classes for obtaining and processing Tor descriptors.

P

parseDescriptors(byte[], File, String) - Method in interface org.torproject.descriptor.DescriptorParser
Parse descriptors in the given byte array and return the parsed/unparseable descriptors.
PARSER_DEFAULT - Static variable in class org.torproject.descriptor.DescriptorSourceFactory
Default implementation of the DescriptorParser descriptor source.
PARSER_PROPERTY - Static variable in class org.torproject.descriptor.DescriptorSourceFactory
Property name for overriding the implementation of the DescriptorParser descriptor source, which is by default set to the class in DescriptorSourceFactory.PARSER_DEFAULT.

R

readDescriptors(File...) - Method in interface org.torproject.descriptor.DescriptorReader
Read descriptors from the given descriptor file(s) and return the parsed descriptors.
READER_DEFAULT - Static variable in class org.torproject.descriptor.DescriptorSourceFactory
Default implementation of the DescriptorReader descriptor source.
READER_PROPERTY - Static variable in class org.torproject.descriptor.DescriptorSourceFactory
Property name for overriding the implementation of the DescriptorReader descriptor source, which is by default set to the class in DescriptorSourceFactory.READER_DEFAULT.
RelayDirectory - Interface in org.torproject.descriptor
Contains a signed directory in the version 1 directory protocol.
RelayExtraInfoDescriptor - Interface in org.torproject.descriptor
Contains a relay extra-info descriptor.
RelayNetworkStatus - Interface in org.torproject.descriptor
Contains a network status document in the version 2 directory protocol.
RelayNetworkStatusConsensus - Interface in org.torproject.descriptor
Contains a network status consensus in the version 3 directory protocol.
RelayNetworkStatusVote - Interface in org.torproject.descriptor
Contains a network status vote in the version 3 directory protocol.
RelayServerDescriptor - Interface in org.torproject.descriptor
Contains a relay server descriptor.
RouterStatusEntry - Interface in org.torproject.descriptor
Contains a router status entry contained in a signed directory in the version 1 directory protocol.

S

saveHistoryFile(File) - Method in interface org.torproject.descriptor.DescriptorReader
Save a history file with file names and last modified timestamps of descriptor files that exist in the input directory or directories and that have either been parsed or excluded from parsing.
ServerDescriptor - Interface in org.torproject.descriptor
Contains a relay or sanitized bridge server descriptor.
setExcludedFiles(SortedMap<String, Long>) - Method in interface org.torproject.descriptor.DescriptorReader
Exclude files if they haven't changed since the corresponding last modified timestamps.
setHistoryFile(File) - Method in interface org.torproject.descriptor.DescriptorReader
Set a history file to load before reading descriptors and exclude descriptor files that haven't changed since they have last been read.
setMaxDescriptorsInQueue(int) - Method in interface org.torproject.descriptor.DescriptorReader
Don't keep more than this number of descriptors in the queue (default: 100).

T

TorperfResult - Interface in org.torproject.descriptor
Contains performance measurement results from making simple HTTP requests over the Tor network.

U

UnparseableDescriptor - Interface in org.torproject.descriptor
Contains a descriptor that could not be parsed.
B C D E G I M N O P R S T U 
Skip navigation links
© 2017 The Tor Project