[−][src]Trait bls_sigs_ref_rs::BLSSignatureAug
BLS signature with message augmentation
Associated Constants
Loading content...Provided methods
fn pk_bytes(pk: &Self::PKType, size_hint: usize) -> Vec<u8>
turn a public key into a vector
fn sign<B: AsRef<[u8]>>(x_prime: Self::Scalar, msg: B) -> Self
augment message and then invoke coresign
fn verify<B: AsRef<[u8]>>(pk: Self::PKType, sig: Self, msg: B) -> bool
augment message and then invoke coreverify
fn aggregate_verify<B: AsRef<[u8]>>(
pks: &[Self::PKType],
msgs: &[B],
sig: Self
) -> bool
pks: &[Self::PKType],
msgs: &[B],
sig: Self
) -> bool
augment all messages and then invoke coreverify