Expand description
Shared types between router descriptors and extra-info documents.
For now, this only includes code related to signatures.
Despite this being used by router descriptors and extra-info documents, many types inside this module are prefixed with βrouterβ. We keep this prefix because we want the type names to align with the item keyword, which is the same in both documents.
Re-exportsΒ§
use crate::encode::NetdocEncoder;πuse crate::parse2::ErrorProblem as EP;πuse crate::parse2::ItemArgumentParseable;πuse crate::parse2::SignatureHashInputs;πuse crate::parse2::SignatureItemParseable;πuse crate::parse2::UnparsedItem;πuse crate::types::FixedB64;πuse derive_deftly::Deftly;πuse digest::Digest;πuse tor_error::Bug;πuse tor_llcrypto::pk::ed25519;π
StructsΒ§
- Router
Hash Accu - Accumulator for router descriptor hash signatures.
- Router
SigEd25519 - SHA-256 router descriptor signature including magic and the keyword.
- Router
Signature - SHA-1 router descriptor signature over
router-sig-ed25519.