Struct ExpandedKey
pub struct ExpandedKey { /* private fields */ }
Expand description
A set of keys that were HKDF-expanded from an initial call to
NodeSigner::get_inbound_payment_key_material
.
Implementations§
§impl ExpandedKey
impl ExpandedKey
pub fn new(key_material: &KeyMaterial) -> ExpandedKey
pub fn new(key_material: &KeyMaterial) -> ExpandedKey
Create a new ExpandedKey
for generating an inbound payment hash and secret.
It is recommended to cache this value and not regenerate it for each new inbound payment.
Auto Trait Implementations§
impl Freeze for ExpandedKey
impl RefUnwindSafe for ExpandedKey
impl Send for ExpandedKey
impl Sync for ExpandedKey
impl Unpin for ExpandedKey
impl UnwindSafe for ExpandedKey
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request