pub struct VerifierKey<F: PrimeField, CS: PCS<F>> { /* private fields */ }Implementations§
Source§impl<E: Pairing> VerifierKey<E::ScalarField, KZG<E>>
impl<E: Pairing> VerifierKey<E::ScalarField, KZG<E>>
pub fn from_ring_and_kzg_vk<G: TECurveConfig<BaseField = E::ScalarField>>( ring: &Ring<E::ScalarField, E, G>, kzg_vk: RawKzgVerifierKey<E>, ) -> Self
pub fn from_commitment_and_kzg_vk( commitment: FixedColumnsCommitted<E::ScalarField, KzgCommitment<E>>, kzg_vk: RawKzgVerifierKey<E>, ) -> Self
pub fn commitment( &self, ) -> FixedColumnsCommitted<E::ScalarField, KzgCommitment<E>>
Trait Implementations§
Source§impl<F: PrimeField, CS: PCS<F>> CanonicalDeserialize for VerifierKey<F, CS>
impl<F: PrimeField, CS: PCS<F>> CanonicalDeserialize for VerifierKey<F, CS>
Source§fn deserialize_with_mode<R: Read>(
reader: R,
compress: Compress,
validate: Validate,
) -> Result<Self, SerializationError>
fn deserialize_with_mode<R: Read>( reader: R, compress: Compress, validate: Validate, ) -> Result<Self, SerializationError>
The general deserialize method that takes in customization flags.
fn deserialize_compressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_compressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed<R>(reader: R) -> Result<Self, SerializationError>where
R: Read,
fn deserialize_uncompressed_unchecked<R>(
reader: R,
) -> Result<Self, SerializationError>where
R: Read,
Source§impl<F: PrimeField, CS: PCS<F>> CanonicalSerialize for VerifierKey<F, CS>
impl<F: PrimeField, CS: PCS<F>> CanonicalSerialize for VerifierKey<F, CS>
Source§fn serialize_with_mode<W: Write>(
&self,
writer: W,
compress: Compress,
) -> Result<(), SerializationError>
fn serialize_with_mode<W: Write>( &self, writer: W, compress: Compress, ) -> Result<(), SerializationError>
The general serialize method that takes in customization flags.
fn serialized_size(&self, compress: Compress) -> usize
fn serialize_compressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn compressed_size(&self) -> usize
fn serialize_uncompressed<W>(&self, writer: W) -> Result<(), SerializationError>where
W: Write,
fn uncompressed_size(&self) -> usize
Source§impl<F: Clone + PrimeField, CS: Clone + PCS<F>> Clone for VerifierKey<F, CS>
impl<F: Clone + PrimeField, CS: Clone + PCS<F>> Clone for VerifierKey<F, CS>
Source§fn clone(&self) -> VerifierKey<F, CS>
fn clone(&self) -> VerifierKey<F, CS>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<F: Debug + PrimeField, CS: Debug + PCS<F>> Debug for VerifierKey<F, CS>
impl<F: Debug + PrimeField, CS: Debug + PCS<F>> Debug for VerifierKey<F, CS>
Source§impl<F: PartialEq + PrimeField, CS: PartialEq + PCS<F>> PartialEq for VerifierKey<F, CS>
impl<F: PartialEq + PrimeField, CS: PartialEq + PCS<F>> PartialEq for VerifierKey<F, CS>
Source§impl<F: PrimeField, CS: PCS<F>> Valid for VerifierKey<F, CS>
impl<F: PrimeField, CS: PCS<F>> Valid for VerifierKey<F, CS>
fn check(&self) -> Result<(), SerializationError>
fn batch_check<'a>(
batch: impl Iterator<Item = &'a Self> + Send,
) -> Result<(), SerializationError>where
Self: 'a,
impl<F: Eq + PrimeField, CS: Eq + PCS<F>> Eq for VerifierKey<F, CS>
impl<F: PrimeField, CS: PCS<F>> StructuralPartialEq for VerifierKey<F, CS>
Auto Trait Implementations§
impl<F, CS> Freeze for VerifierKey<F, CS>
impl<F, CS> RefUnwindSafe for VerifierKey<F, CS>where
<<CS as PCS<F>>::Params as PcsParams>::RVK: RefUnwindSafe,
<CS as PCS<F>>::C: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, CS> Send for VerifierKey<F, CS>
impl<F, CS> Sync for VerifierKey<F, CS>
impl<F, CS> Unpin for VerifierKey<F, CS>
impl<F, CS> UnwindSafe for VerifierKey<F, CS>where
<<CS as PCS<F>>::Params as PcsParams>::RVK: UnwindSafe,
<CS as PCS<F>>::C: UnwindSafe,
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
impl<T> CanonicalSerializeHashExt for Twhere
T: CanonicalSerialize,
fn hash<H>(&self) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
fn hash_uncompressed<H>(
&self,
) -> GenericArray<u8, <H as OutputSizeUser>::OutputSize>where
H: Digest,
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more