Expand description
Types to describe information about other downloaded directory documents, without necessarily having the full document.
These types are all local within tor-dirmgr. Theyβre used so that the storage code doesnβt need to know about all of the parsed types from tor-netdoc.
Re-exportsΒ§
use digest::Digest;πuse tor_llcrypto as ll;πuse tor_netdoc::doc::authcert::AuthCert;πuse tor_netdoc::doc::authcert::AuthCertKeyIds;πuse tor_netdoc::doc::netstatus::Lifetime;πuse tor_netdoc::doc::netstatus::MdConsensus;πuse tor_netdoc::doc::netstatus::UnvalidatedMdConsensus;πuse std::time::SystemTime;π
StructsΒ§
- Auth
Cert πMeta - Information about an authority certificate that we have in storage.
- Consensus
Meta π - Information about a consensus that we have in storage.
FunctionsΒ§
- sha3_
dual π - Compute the sha3-256 digests of signed_part on its own, and of signed_part concatenated with remainder.