pub struct HqRecipientSecret { /* private fields */ }Expand description
HQ-side private material (core only). Never constructed on C2.
Implementations§
Source§impl HqRecipientSecret
impl HqRecipientSecret
pub fn generate() -> HqRecipientSecret
pub fn from_seed(seed: [u8; 32]) -> HqRecipientSecret
pub fn public_bytes(&self) -> PublicKeyBytes
Sourcepub fn seed_bytes(&self) -> [u8; 32]
pub fn seed_bytes(&self) -> [u8; 32]
Seed used to derive this key (persist on core only; never send to C2 or nodes).
Trait Implementations§
Source§impl Clone for HqRecipientSecret
impl Clone for HqRecipientSecret
Source§fn clone(&self) -> HqRecipientSecret
fn clone(&self) -> HqRecipientSecret
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for HqRecipientSecret
impl RefUnwindSafe for HqRecipientSecret
impl Send for HqRecipientSecret
impl Sync for HqRecipientSecret
impl Unpin for HqRecipientSecret
impl UnsafeUnpin for HqRecipientSecret
impl UnwindSafe for HqRecipientSecret
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