pub struct Attestation<S: Scheme> {
pub signer: u32,
pub signature: S::Signature,
}Expand description
A participant’s attestation for a certificate.
Fields§
§signer: u32Index of the signer inside the participant set.
signature: S::SignatureScheme-specific signature or share produced for a given subject.
Trait Implementations§
Source§impl<S: Clone + Scheme> Clone for Attestation<S>
impl<S: Clone + Scheme> Clone for Attestation<S>
Source§fn clone(&self) -> Attestation<S>
fn clone(&self) -> Attestation<S>
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<S: Scheme> EncodeSize for Attestation<S>
impl<S: Scheme> EncodeSize for Attestation<S>
Source§fn encode_size(&self) -> usize
fn encode_size(&self) -> usize
Returns the encoded size of this value (in bytes).
Source§impl<S: Scheme> Hash for Attestation<S>
impl<S: Scheme> Hash for Attestation<S>
Source§impl<S: Scheme> PartialEq for Attestation<S>
impl<S: Scheme> PartialEq for Attestation<S>
Source§impl<S: Scheme> Read for Attestation<S>
impl<S: Scheme> Read for Attestation<S>
Source§impl<S: Scheme> Write for Attestation<S>
impl<S: Scheme> Write for Attestation<S>
impl<S: Scheme> Eq for Attestation<S>
Auto Trait Implementations§
impl<S> Freeze for Attestation<S>
impl<S> RefUnwindSafe for Attestation<S>
impl<S> Send for Attestation<S>
impl<S> Sync for Attestation<S>
impl<S> Unpin for Attestation<S>
impl<S> UnwindSafe for Attestation<S>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> Encode for Twhere
T: Write + EncodeSize,
impl<T> Encode for Twhere
T: Write + EncodeSize,
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