[][src]Struct dusk_blindbidproof::Verify

pub struct Verify {
    pub proof: R1CSProof,
    pub commitments: Vec<CompressedRistretto>,
    pub t_c: Vec<CompressedRistretto>,
    pub score: Scalar,
    pub z_img: Scalar,
    pub seed: Scalar,
    pub pub_list: Vec<Scalar>,
}

Fields

proof: R1CSProofcommitments: Vec<CompressedRistretto>t_c: Vec<CompressedRistretto>score: Scalarz_img: Scalarseed: Scalarpub_list: Vec<Scalar>

Methods

impl Verify[src]

pub fn new(
    proof: R1CSProof,
    commitments: Vec<CompressedRistretto>,
    t_c: Vec<CompressedRistretto>,
    score: Scalar,
    z_img: Scalar,
    seed: Scalar,
    pub_list: Vec<Scalar>
) -> Self
[src]

pub fn verify(&self) -> Result<(), Error>[src]

pub fn try_from_reader_variables<R: Read>(reader: R) -> Result<Self, Error>[src]

Trait Implementations

impl Clone for Verify[src]

impl Debug for Verify[src]

impl Serialize for Verify[src]

impl<'de> Deserialize<'de> for Verify[src]

Auto Trait Implementations

impl Send for Verify

impl Sync for Verify

impl Unpin for Verify

impl UnwindSafe for Verify

impl RefUnwindSafe for Verify

Blanket Implementations

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

impl<T> From<T> for 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 = !

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.

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

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

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

type Output = T

Should always be Self

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

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 
[src]

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

impl<T, U> IntoBits<U> for T where
    U: FromBits<T>, 
[src]