Module tor_netdoc::doc::hsdesc
source · Available on crate feature
hs-common
only.Expand description
Implementation for onion service descriptors.
An onion service descriptor is a document generated by an onion service and uploaded to one or more HsDir nodes for clients to later download. It tells the onion service client where to find the current introduction points for the onion service, and how to connect to them.
An onion service descriptor is more complicated than most other documentation types, because it is partially encrypted.
Modules
- test_data
testing
Test data
Structs
- An error that occurs when decrypting an onion service descriptor.
- An onion service after it has been parsed by the client, but not yet decrypted.
- A decrypted, decoded onion service descriptor.
- HsDescBuilder
hs-service
Builder forHsDesc
. - HsDescInner
hsdesc-inner-docs
The contents of the inner document of an onion service descriptor. - HsDescMiddle
hsdesc-inner-docs
A more-or-less verbatim representation of the middle document of an onion service descriptor. - HsDescOuter
hsdesc-inner-docs
A more-or-less verbatim representation of the outermost plaintext document of an onion service descriptor. - Information in an onion service descriptor about a single introduction point.
- Metadata about an onion service descriptor, as stored at an HsDir.
Enums
- A type of authentication that is required when introducing to an onion service.
Type Definitions
- An unchecked HsDesc: parsed, but not checked for liveness or validity.
- An unchecked StoredHsDescMeta: parsed, but not checked for liveness or validity.