Interface RouterStatusEntry


public interface RouterStatusEntry
Contains a router status entry contained in a signed directory in the version 1 directory protocol.

Directory authorities in the (long outdated) version 1 of the directory protocol included router status entries with short summaries of the status of each server in the signed directories they produced (RelayDirectory). These entries contained references to server descriptors published by relays together with the authorities' opinion on whether relays were verified and live.

Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a SHA-1 digest of the relay's identity key, encoded as 40 upper-case hexadecimal characters.
    Return the relay nickname consisting of 1 to 19 alphanumeric characters, or null if the relay is unverified.
    boolean
    Return whether the relay is live.
    boolean
    Return whether the relay is verified.
  • Method Details

    • getNickname

      String getNickname()
      Return the relay nickname consisting of 1 to 19 alphanumeric characters, or null if the relay is unverified.
      Since:
      1.0.0
    • getFingerprint

      String getFingerprint()
      Return a SHA-1 digest of the relay's identity key, encoded as 40 upper-case hexadecimal characters.
      Since:
      1.0.0
    • isVerified

      boolean isVerified()
      Return whether the relay is verified.
      Since:
      1.0.0
    • isLive

      boolean isLive()
      Return whether the relay is live.
      Since:
      1.0.0