[−][src]Struct bbs::SignatureProof
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]
fn clone(&self) -> SignatureProof
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SignatureProof
[src]
impl<'a> Deserialize<'a> for SignatureProof
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'a>,
[src]
D: Deserializer<'a>,
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.
fn to_bytes_uncompressed_form(&self) -> Vec<u8>
[src]
fn from_bytes_uncompressed_form<I: AsRef<[u8]>>(
data: I
) -> Result<Self::Output, Self::Error>
[src]
data: I
) -> Result<Self::Output, Self::Error>
impl<'_> TryFrom<&'_ [u8]> for SignatureProof
[src]
type Error = BBSError
The type returned in the event of a conversion error.
fn try_from(value: &[u8]) -> Result<Self, Self::Error>
[src]
impl TryFrom<Vec<u8>> for SignatureProof
[src]
Auto Trait Implementations
impl RefUnwindSafe for SignatureProof
impl Send for SignatureProof
impl Sync for SignatureProof
impl Unpin for SignatureProof
impl UnwindSafe for SignatureProof
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,