[][src]Struct bbs::SignatureProof

pub struct SignatureProof {
    pub revealed_messages: BTreeMap<usize, SignatureMessage>,
    pub proof: PoKOfSignatureProof,
}

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

impl Clone for SignatureProof[src]

impl Debug for SignatureProof[src]

impl<'a> Deserialize<'a> for SignatureProof[src]

impl Serialize for SignatureProof[src]

impl ToVariableLengthBytes for SignatureProof[src]

type Output = SignatureProof

The type that implements this trait

type Error = BBSError

The type of error to return

fn to_bytes_compressed_form(&self) -> Vec<u8>[src]

Convert to raw bytes using compressed form for each element.

fn from_bytes_compressed_form<I: AsRef<[u8]>>(data: I) -> Result<Self, BBSError>[src]

Convert from compressed form raw bytes.

impl<'_> TryFrom<&'_ [u8]> for SignatureProof[src]

type Error = BBSError

The type returned in the event of a conversion error.

impl TryFrom<Vec<u8>> for SignatureProof[src]

type Error = BBSError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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 = Infallible

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<V, T> VZip<V> for T where
    V: MultiLane<T>,