[−][src]Struct blst::min_pk::Signature
Fields
point: blst_p2_affine
Implementations
impl Signature
[src]
pub fn verify(
&self,
msg: &[u8],
dst: &[u8],
aug: &[u8],
pk: *const PublicKey
) -> BLST_ERROR
[src]
&self,
msg: &[u8],
dst: &[u8],
aug: &[u8],
pk: *const PublicKey
) -> BLST_ERROR
pub fn aggregate_verify(
&self,
msgs: &[&[u8]],
dst: &[u8],
pks: &[&PublicKey]
) -> BLST_ERROR
[src]
&self,
msgs: &[&[u8]],
dst: &[u8],
pks: &[&PublicKey]
) -> BLST_ERROR
pub fn fast_aggregate_verify(
&self,
msg: &[u8],
dst: &[u8],
pks: &[&PublicKey]
) -> BLST_ERROR
[src]
&self,
msg: &[u8],
dst: &[u8],
pks: &[&PublicKey]
) -> BLST_ERROR
pub fn fast_aggregate_verify_pre_aggregated(
&self,
msg: &[u8],
dst: &[u8],
pk: &PublicKey
) -> BLST_ERROR
[src]
&self,
msg: &[u8],
dst: &[u8],
pk: &PublicKey
) -> BLST_ERROR
pub fn verify_multiple_aggregate_signatures(
msgs: &[&[u8]],
dst: &[u8],
pks: &[&PublicKey],
sigs: &[&Signature],
rands: &[blst_scalar],
rand_bits: usize
) -> BLST_ERROR
[src]
msgs: &[&[u8]],
dst: &[u8],
pks: &[&PublicKey],
sigs: &[&Signature],
rands: &[blst_scalar],
rand_bits: usize
) -> BLST_ERROR
pub fn from_aggregate(agg_sig: *const AggregateSignature) -> Self
[src]
pub fn compress(&self) -> [u8; 96]
[src]
pub fn serialize(&self) -> [u8; 192]
[src]
pub fn uncompress(sig_comp: &[u8]) -> Result<Self, BLST_ERROR>
[src]
pub fn deserialize(sig_in: &[u8]) -> Result<Self, BLST_ERROR>
[src]
pub fn from_bytes(sig_in: &[u8]) -> Result<Self, BLST_ERROR>
[src]
pub fn to_bytes(&self) -> [u8; 96]
[src]
Trait Implementations
impl Clone for Signature
[src]
impl Copy for Signature
[src]
impl Debug for Signature
[src]
impl PartialEq<Signature> for Signature
[src]
Auto Trait Implementations
impl RefUnwindSafe for Signature
impl Send for Signature
impl Sync for Signature
impl Unpin for Signature
impl UnwindSafe for Signature
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,