[][src]Struct blst::min_pk::Signature

pub struct Signature {
    pub point: blst_p2_affine,
}

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]

pub fn aggregate_verify(
    &self,
    msgs: &[&[u8]],
    dst: &[u8],
    pks: &[&PublicKey]
) -> BLST_ERROR
[src]

pub fn fast_aggregate_verify(
    &self,
    msg: &[u8],
    dst: &[u8],
    pks: &[&PublicKey]
) -> BLST_ERROR
[src]

pub fn fast_aggregate_verify_pre_aggregated(
    &self,
    msg: &[u8],
    dst: &[u8],
    pk: &PublicKey
) -> BLST_ERROR
[src]

pub fn verify_multiple_aggregate_signatures(
    msgs: &[&[u8]],
    dst: &[u8],
    pks: &[&PublicKey],
    sigs: &[&Signature],
    rands: &[blst_scalar],
    rand_bits: usize
) -> BLST_ERROR
[src]

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.