Type Alias BatchVerifyingKey

Source
pub type BatchVerifyingKey = VerifyingKey<Bls12>;
Expand description

The type of a raw verifying key. This is the key used to verify batches.

Aliased Type§

struct BatchVerifyingKey {
    pub alpha_g1: G1Affine,
    pub beta_g1: G1Affine,
    pub beta_g2: G2Affine,
    pub gamma_g2: G2Affine,
    pub delta_g1: G1Affine,
    pub delta_g2: G2Affine,
    pub ic: Vec<G1Affine>,
}

Fields§

§alpha_g1: G1Affine§beta_g1: G1Affine§beta_g2: G2Affine§gamma_g2: G2Affine§delta_g1: G1Affine§delta_g2: G2Affine§ic: Vec<G1Affine>

Implementations

§

impl<E> VerifyingKey<E>
where E: Engine,

pub fn write<W>(&self, writer: W) -> Result<(), Error>
where W: Write,

pub fn read<R>(reader: R) -> Result<VerifyingKey<E>, Error>
where R: Read,

Trait Implementations

§

impl<E> Clone for VerifyingKey<E>
where E: Clone + Engine, <E as Engine>::G1Affine: Clone, <E as Engine>::G2Affine: Clone,

§

fn clone(&self) -> VerifyingKey<E>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl<E> PartialEq for VerifyingKey<E>
where E: Engine,

§

fn eq(&self, other: &VerifyingKey<E>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.