Struct tor_dirmgr::authority::Authority [−][src]
pub struct Authority { /* fields omitted */ }
Expand description
A single authority that signs a consensus directory.
Implementations
Return a new builder for constructing an Authority
.
You only need this if you’re using a non-default Tor network with its own set of directory authorities.
Return the v3 identity key of this certificate.
This is the identity of the >=2048-bit RSA key that the authority uses to sign documents; it is distinct from its identity keys that it uses when operating as a relay.
Return true if this authority matches a given certificate.
Return true if this authority matches a given key ID.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Authority
impl UnwindSafe for Authority
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more