Struct blst::min_sig::AggregateSignature
source · pub struct AggregateSignature { /* private fields */ }
Implementations§
source§impl AggregateSignature
impl AggregateSignature
pub fn validate(&self) -> Result<(), BLST_ERROR>
pub fn from_signature(sig: &Signature) -> Self
pub fn to_signature(&self) -> Signature
pub fn aggregate( sigs: &[&Signature], sigs_groupcheck: bool, ) -> Result<Self, BLST_ERROR>
pub fn aggregate_with_randomness( sigs: &[Signature], randomness: &[u8], nbits: usize, sigs_groupcheck: bool, ) -> Result<Self, BLST_ERROR>
pub fn aggregate_serialized( sigs: &[&[u8]], sigs_groupcheck: bool, ) -> Result<Self, BLST_ERROR>
pub fn add_aggregate(&mut self, agg_sig: &AggregateSignature)
pub fn add_signature( &mut self, sig: &Signature, sig_groupcheck: bool, ) -> Result<(), BLST_ERROR>
pub fn subgroup_check(&self) -> bool
Trait Implementations§
source§impl Clone for AggregateSignature
impl Clone for AggregateSignature
source§fn clone(&self) -> AggregateSignature
fn clone(&self) -> AggregateSignature
Returns a copy 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 moresource§impl Debug for AggregateSignature
impl Debug for AggregateSignature
impl Copy for AggregateSignature
Auto Trait Implementations§
impl Freeze for AggregateSignature
impl RefUnwindSafe for AggregateSignature
impl Send for AggregateSignature
impl Sync for AggregateSignature
impl Unpin for AggregateSignature
impl UnwindSafe for AggregateSignature
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)