Struct tor_hscrypto::pk::HsClientDescEncKey
source · pub struct HsClientDescEncKey(/* private fields */);
Expand description
Second type of client authorization key, used for onion descriptor
decryption. (KP_hsc_desc_enc
)
Any client who knows the secret key corresponding to this key can decrypt the inner layer of the onion service descriptor.
Methods from Deref<Target = PublicKey>§
Trait Implementations§
source§impl AsRef<PublicKey> for HsClientDescEncKey
impl AsRef<PublicKey> for HsClientDescEncKey
source§impl Clone for HsClientDescEncKey
impl Clone for HsClientDescEncKey
source§fn clone(&self) -> HsClientDescEncKey
fn clone(&self) -> HsClientDescEncKey
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 HsClientDescEncKey
impl Debug for HsClientDescEncKey
source§impl Deref for HsClientDescEncKey
impl Deref for HsClientDescEncKey
source§impl From<&HsClientDescEncKeypair> for HsClientDescEncKey
impl From<&HsClientDescEncKeypair> for HsClientDescEncKey
source§fn from(ks: &HsClientDescEncKeypair) -> Self
fn from(ks: &HsClientDescEncKeypair) -> Self
Converts to this type from the input type.
source§impl From<&HsClientDescEncSecretKey> for HsClientDescEncKey
impl From<&HsClientDescEncSecretKey> for HsClientDescEncKey
source§fn from(ks: &HsClientDescEncSecretKey) -> Self
fn from(ks: &HsClientDescEncSecretKey) -> Self
Converts to this type from the input type.
source§impl From<HsClientDescEncKey> for PublicKey
impl From<HsClientDescEncKey> for PublicKey
source§fn from(original: HsClientDescEncKey) -> Self
fn from(original: HsClientDescEncKey) -> Self
Converts to this type from the input type.
source§impl From<PublicKey> for HsClientDescEncKey
impl From<PublicKey> for HsClientDescEncKey
source§fn from(original: PublicKey) -> HsClientDescEncKey
fn from(original: PublicKey) -> HsClientDescEncKey
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for HsClientDescEncKey
impl RefUnwindSafe for HsClientDescEncKey
impl Send for HsClientDescEncKey
impl Sync for HsClientDescEncKey
impl Unpin for HsClientDescEncKey
impl UnwindSafe for HsClientDescEncKey
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