pub struct KeygenOutput {
pub shares: Vec<Vec<u8>>,
pub public_key: Vec<u8>,
}Expand description
Outcome of a single CMP20 DKG run: N share blobs plus the joint public key.
Fields§
One share blob per party, in roster order (0-based index matches
party_idx of the share after subtracting 1).
public_key: Vec<u8>33-byte SEC1 compressed encoding of the joint P-256 public key.
Trait Implementations§
Source§impl Clone for KeygenOutput
impl Clone for KeygenOutput
Source§fn clone(&self) -> KeygenOutput
fn clone(&self) -> KeygenOutput
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 KeygenOutput
impl RefUnwindSafe for KeygenOutput
impl Send for KeygenOutput
impl Sync for KeygenOutput
impl Unpin for KeygenOutput
impl UnsafeUnpin for KeygenOutput
impl UnwindSafe for KeygenOutput
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