Skip to main content

Module est_intro

Module est_intro 

Source
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.
EstIntroExtDosParamType
The recognized parameter types in an establish intro DoS extension.
EstIntroExtType
The introduction protocol extension type.
EstablishIntro
A hidden services establishes a new introduction point, by sending an EstablishIntro message.
EstablishIntroDetails
The body of an EstablishIntro message, after the signature and MAC are verified.

Enumsยง

EstablishIntroExt ๐Ÿ”’
An extension to an EstablishIntro cell.
EstablishIntroSigError
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.