pub struct ProofOfPossession {
pub member: String,
pub public_key: Vec<u8>,
pub signature: Vec<u8>,
}Expand description
Proof of possession contributed during DKG: the member’s signature over the session binding (authority id + nonce + its public key). Verifying every contribution against its claimed key is the rogue-key defense.
Fields§
§member: StringContributing member.
public_key: Vec<u8>The member’s public key.
signature: Vec<u8>Signature over the session binding bytes.
Trait Implementations§
Source§impl Clone for ProofOfPossession
impl Clone for ProofOfPossession
Source§fn clone(&self) -> ProofOfPossession
fn clone(&self) -> ProofOfPossession
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 ProofOfPossession
impl Debug for ProofOfPossession
Source§impl<'de> Deserialize<'de> for ProofOfPossession
impl<'de> Deserialize<'de> for ProofOfPossession
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 ProofOfPossession
impl RefUnwindSafe for ProofOfPossession
impl Send for ProofOfPossession
impl Sync for ProofOfPossession
impl Unpin for ProofOfPossession
impl UnsafeUnpin for ProofOfPossession
impl UnwindSafe for ProofOfPossession
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