pub struct SignatureProof {
pub revealed_messages: BTreeMap<usize, SignatureMessage>,
pub proof: PoKOfSignatureProof,
}
Expand description
Contains the data from a prover to a verifier
Fields§
§revealed_messages: BTreeMap<usize, SignatureMessage>
The revealed messages as field elements
proof: PoKOfSignatureProof
The signature proof of knowledge
Trait Implementations§
Source§impl Clone for SignatureProof
impl Clone for SignatureProof
Source§fn clone(&self) -> SignatureProof
fn clone(&self) -> SignatureProof
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 SignatureProof
impl Debug for SignatureProof
Source§impl Default for SignatureProof
impl Default for SignatureProof
Source§impl<'a> Deserialize<'a> for SignatureProof
impl<'a> Deserialize<'a> for SignatureProof
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 SignatureProof
impl Serialize for SignatureProof
Source§impl ToVariableLengthBytes for SignatureProof
impl ToVariableLengthBytes for SignatureProof
Source§fn to_bytes_compressed_form(&self) -> Vec<u8> ⓘ
fn to_bytes_compressed_form(&self) -> Vec<u8> ⓘ
Convert to raw bytes using compressed form for each element.
Source§fn from_bytes_compressed_form<I: AsRef<[u8]>>(data: I) -> Result<Self, BBSError>
fn from_bytes_compressed_form<I: AsRef<[u8]>>(data: I) -> Result<Self, BBSError>
Convert from compressed form raw bytes.
Source§type Output = SignatureProof
type Output = SignatureProof
The type that implements this trait
Source§impl TryFrom<&[u8]> for SignatureProof
impl TryFrom<&[u8]> for SignatureProof
Auto Trait Implementations§
impl Freeze for SignatureProof
impl RefUnwindSafe for SignatureProof
impl Send for SignatureProof
impl Sync for SignatureProof
impl Unpin for SignatureProof
impl UnwindSafe for SignatureProof
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