pub struct KeygenOutput<C: CSCurve> {
pub private_share: C::Scalar,
pub public_key: C::AffinePoint,
}Expand description
Represents the output of the key generation protocol.
This contains our share of the private key, along with the public key.
Fields§
§public_key: C::AffinePointTrait Implementations§
Source§impl<C: Clone + CSCurve> Clone for KeygenOutput<C>
impl<C: Clone + CSCurve> Clone for KeygenOutput<C>
Source§fn clone(&self) -> KeygenOutput<C>
fn clone(&self) -> KeygenOutput<C>
Returns a duplicate 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 moreAuto Trait Implementations§
impl<C> Freeze for KeygenOutput<C>
impl<C> RefUnwindSafe for KeygenOutput<C>where
<C as CurveArithmetic>::Scalar: RefUnwindSafe,
<C as CurveArithmetic>::AffinePoint: RefUnwindSafe,
impl<C> Send for KeygenOutput<C>
impl<C> Sync for KeygenOutput<C>
impl<C> Unpin for KeygenOutput<C>
impl<C> UnwindSafe for KeygenOutput<C>
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