Skip to main content

Module docmeta

Module docmeta 

Source
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Β§

AuthCertMeta πŸ”’
Information about an authority certificate that we have in storage.
ConsensusMeta πŸ”’
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.