Expand description
Define the ESTABLISH_INTRO message and related types.
Re-exportsยง
use caret::caret_int;๐use derive_deftly::Deftly;๐use tor_bytes::EncodeError;๐use tor_bytes::EncodeResult;๐use tor_bytes::Reader;๐use tor_bytes::Result;๐use tor_bytes::Writeable;๐use tor_bytes::Writer;๐use tor_error::bad_api_usage;๐use tor_hscrypto::ops::HS_MAC_LEN;๐use tor_hscrypto::ops::HsMacKey;๐use tor_llcrypto::pk::ed25519;๐use tor_llcrypto::pk::ed25519::ED25519_SIGNATURE_LEN;๐use tor_llcrypto::pk::ed25519::Ed25519Identity;๐use tor_llcrypto::traits::ShortMac as _;๐use tor_llcrypto::util::ct::CtByteArray;๐use tor_memquota::derive_deftly_template_HasMemoryCost;๐use tor_units::BoundedInt32;๐use crate::relaycell::hs::AuthKeyType;๐use crate::relaycell::msg;๐use crate::relaycell::extlist::*;๐
Structsยง
- DosParams
- Extension to tell the introduction point to rate-limit.
- EstIntro
ExtDos Param Type - The recognized parameter types in an establish intro DoS extension.
- EstIntro
ExtType - The introduction protocol extension type.
- Establish
Intro - A hidden services establishes a new introduction point, by sending an EstablishIntro message.
- Establish
Intro Details - The body of an EstablishIntro message, after the signature and MAC are verified.
Enumsยง
- Establish
Intro ๐Ext - An extension to an EstablishIntro cell.
- Establish
Intro SigError - An error that has occurred while trying to validate an EstablishIntro message.
Constantsยง
- SIG_
PREFIX ๐ - A string that we prefix onto any establish_intro body before signing it.