Package org.torproject.descriptor
Interface BridgePoolAssignment
-
- All Superinterfaces:
Descriptor
,java.io.Serializable
public interface BridgePoolAssignment extends Descriptor
Contains a sanitized list of bridges together with the distribution pools they have been assigned to by the bridge distribution service BridgeDB.BridgeDB receives bridge network statuses (
BridgeNetworkStatus
) from the bridge authority, assigns these bridges to persistent distribution rings, and hands them out to bridge users. BridgeDB periodically dumps the list of running bridges with information about the rings, subrings, and file buckets to which they are assigned to a local file.Details about sanitizing bridge pool assignments can be found here.
- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.SortedMap<java.lang.String,java.lang.String>
getEntries()
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.long
getPublishedMillis()
Return the time in milliseconds since the epoch when this descriptor was published.-
Methods inherited from interface org.torproject.descriptor.Descriptor
getAnnotations, getDescriptorFile, getRawDescriptorBytes, getRawDescriptorLength, getUnrecognizedLines
-
-
-
-
Method Detail
-
getPublishedMillis
long getPublishedMillis()
Return the time in milliseconds since the epoch when this descriptor was published.- Since:
- 1.0.0
-
getEntries
java.util.SortedMap<java.lang.String,java.lang.String> getEntries()
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."https ring=3 flag=stable"
.- Since:
- 1.0.0
-
-