pub struct BlindSignatureContext {
pub commitment: Commitment,
pub challenge_hash: ProofChallenge,
pub proof_of_hidden_messages: ProofG1,
}
Expand description
Contains the data used for computing a blind signature and verifying proof of hidden messages from a prover
Fields§
§commitment: Commitment
The blinded signature commitment
challenge_hash: ProofChallenge
The challenge hash for the Fiat-Shamir heuristic
The proof for the hidden messages
Implementations§
Trait Implementations§
Source§impl Clone for BlindSignatureContext
impl Clone for BlindSignatureContext
Source§fn clone(&self) -> BlindSignatureContext
fn clone(&self) -> BlindSignatureContext
Returns a copy 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 Debug for BlindSignatureContext
impl Debug for BlindSignatureContext
Source§impl Default for BlindSignatureContext
impl Default for BlindSignatureContext
Source§impl<'a> Deserialize<'a> for BlindSignatureContext
impl<'a> Deserialize<'a> for BlindSignatureContext
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BlindSignatureContext
impl Serialize for BlindSignatureContext
Source§impl ToVariableLengthBytes for BlindSignatureContext
impl ToVariableLengthBytes for BlindSignatureContext
Source§impl TryFrom<&[u8]> for BlindSignatureContext
impl TryFrom<&[u8]> for BlindSignatureContext
Auto Trait Implementations§
impl Freeze for BlindSignatureContext
impl RefUnwindSafe for BlindSignatureContext
impl Send for BlindSignatureContext
impl Sync for BlindSignatureContext
impl Unpin for BlindSignatureContext
impl UnwindSafe for BlindSignatureContext
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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