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() -> Self
pub fn from_seed(seed: [u8; 32]) -> Self
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§
Auto 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