pub struct PresignArguments<C: CSCurve> {
pub triple0: (TripleShare<C>, TriplePub<C>),
pub triple1: (TripleShare<C>, TriplePub<C>),
pub keygen_out: KeygenOutput<C>,
pub threshold: usize,
}Expand description
The arguments needed to create a presignature.
Fields§
§triple0: (TripleShare<C>, TriplePub<C>)The first triple’s public information, and our share.
triple1: (TripleShare<C>, TriplePub<C>)Ditto, for the second triple.
keygen_out: KeygenOutput<C>The output of key generation, i.e. our share of the secret key, and the public key.
threshold: usizeThe desired threshold for the presignature, which must match the original threshold
Trait Implementations§
Source§impl<C: Clone + CSCurve> Clone for PresignArguments<C>
impl<C: Clone + CSCurve> Clone for PresignArguments<C>
Source§fn clone(&self) -> PresignArguments<C>
fn clone(&self) -> PresignArguments<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 PresignArguments<C>
impl<C> RefUnwindSafe for PresignArguments<C>where
<C as CurveArithmetic>::Scalar: RefUnwindSafe,
<C as CurveArithmetic>::AffinePoint: RefUnwindSafe,
impl<C> Send for PresignArguments<C>
impl<C> Sync for PresignArguments<C>
impl<C> Unpin for PresignArguments<C>
impl<C> UnwindSafe for PresignArguments<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