Struct tor_netdoc::doc::hsdesc::IntroPointDesc
source · pub struct IntroPointDesc { /* private fields */ }
Available on crate feature
hs-common
only.Expand description
Information in an onion service descriptor about a single introduction point.
Implementations§
source§impl IntroPointDesc
impl IntroPointDesc
sourcepub fn ipt_ntor_key(&self) -> &PublicKey
pub fn ipt_ntor_key(&self) -> &PublicKey
Method borrowing IntroPointDesc::ipt_ntor_key
field.
The key to be used to extend a circuit to the introduction point, using the
sourcepub fn ipt_sid_key(&self) -> &HsIntroPtSessionIdKey
pub fn ipt_sid_key(&self) -> &HsIntroPtSessionIdKey
Method borrowing IntroPointDesc::ipt_sid_key
field.
The key to be used to identify the onion service at this introduction point.
sourcepub fn svc_ntor_key(&self) -> &HsSvcNtorKey
pub fn svc_ntor_key(&self) -> &HsSvcNtorKey
Method borrowing IntroPointDesc::svc_ntor_key
field.
KP_hss_ntor
, the key used to encrypt a handshake _to the onion
source§impl IntroPointDesc
impl IntroPointDesc
sourcepub fn builder() -> IntroPointDescBuilder
pub fn builder() -> IntroPointDescBuilder
Start building a description of an intro point
sourcepub fn link_specifiers(&self) -> &[EncodedLinkSpec]
pub fn link_specifiers(&self) -> &[EncodedLinkSpec]
The list of link specifiers needed to extend a circuit to the introduction point.
These can include public keys and network addresses.
Accessor function.
Trait Implementations§
source§impl Clone for IntroPointDesc
impl Clone for IntroPointDesc
source§fn clone(&self) -> IntroPointDesc
fn clone(&self) -> IntroPointDesc
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for IntroPointDesc
impl Send for IntroPointDesc
impl Sync for IntroPointDesc
impl Unpin for IntroPointDesc
impl UnwindSafe for IntroPointDesc
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more