pub struct RingSignature {
pub ring_members: Vec<Vec<u8>>,
pub signature: Vec<u8>,
pub signer_count: u32,
pub auditor_evidence: Option<Vec<u8>>,
}Expand description
A ring signature — anonymous signature on behalf of a ring of eligible signers.
Fields§
§ring_members: Vec<Vec<u8>>All eligible signers’ public keys (the “ring”).
signature: Vec<u8>The signature itself.
signer_count: u32How many ring members collaborated to produce this signature (T).
auditor_evidence: Option<Vec<u8>>Optional auditor-encrypted identity evidence.
Trait Implementations§
Source§impl Clone for RingSignature
impl Clone for RingSignature
Source§fn clone(&self) -> RingSignature
fn clone(&self) -> RingSignature
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RingSignature
impl Debug for RingSignature
Source§impl<'de> Deserialize<'de> for RingSignature
impl<'de> Deserialize<'de> for RingSignature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RingSignature
impl RefUnwindSafe for RingSignature
impl Send for RingSignature
impl Sync for RingSignature
impl Unpin for RingSignature
impl UnsafeUnpin for RingSignature
impl UnwindSafe for RingSignature
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