Struct tor_hscrypto::pk::HsSvcDescEncKey
source · pub struct HsSvcDescEncKey(/* private fields */);
Expand description
Server key, used for diffie hellman during onion descriptor decryption.
(KP_hss_desc_enc
)
This key is created for a single descriptor, and then thrown away.
Methods from Deref<Target = PublicKey>§
Trait Implementations§
source§impl AsRef<PublicKey> for HsSvcDescEncKey
impl AsRef<PublicKey> for HsSvcDescEncKey
source§impl Clone for HsSvcDescEncKey
impl Clone for HsSvcDescEncKey
source§fn clone(&self) -> HsSvcDescEncKey
fn clone(&self) -> HsSvcDescEncKey
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 moresource§impl Debug for HsSvcDescEncKey
impl Debug for HsSvcDescEncKey
source§impl Deref for HsSvcDescEncKey
impl Deref for HsSvcDescEncKey
source§impl From<HsSvcDescEncKey> for PublicKey
impl From<HsSvcDescEncKey> for PublicKey
source§fn from(original: HsSvcDescEncKey) -> Self
fn from(original: HsSvcDescEncKey) -> Self
Converts to this type from the input type.
source§impl From<PublicKey> for HsSvcDescEncKey
impl From<PublicKey> for HsSvcDescEncKey
source§fn from(original: PublicKey) -> HsSvcDescEncKey
fn from(original: PublicKey) -> HsSvcDescEncKey
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HsSvcDescEncKey
impl RefUnwindSafe for HsSvcDescEncKey
impl Send for HsSvcDescEncKey
impl Sync for HsSvcDescEncKey
impl Unpin for HsSvcDescEncKey
impl UnwindSafe for HsSvcDescEncKey
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more