pub struct CeremonyTranscript {
pub ceremony_type: String,
pub participants: Vec<Participant>,
pub quorum: Quorum,
pub payload_hash: [u8; 32],
pub aggregate_signature: Vec<u8>,
pub aggregate_key: Vec<u8>,
pub timestamp: DateTime<Utc>,
pub log_sequence: u64,
}Expand description
A verifiable record of one threshold ceremony.
Fields§
§ceremony_type: StringCeremony type (from the ceremony-type registry): dkg, reshare, sign, revoke, rotation.
participants: Vec<Participant>Participating members with contribution proofs.
quorum: QuorumQuorum parameters of the authority that ran the ceremony.
payload_hash: [u8; 32]The canonical payload hash the ceremony signed.
aggregate_signature: Vec<u8>The aggregate threshold signature produced.
aggregate_key: Vec<u8>The authority’s aggregate public key (verifies the aggregate).
timestamp: DateTime<Utc>When the ceremony concluded.
log_sequence: u64Transparency-log sequence of the artifact/certificate the
ceremony produced (transcript-log-cross-reference).
Implementations§
Source§impl CeremonyTranscript
impl CeremonyTranscript
Sourcepub fn participation_bytes(&self, member_id: &str) -> SignatifResult<Vec<u8>>
pub fn participation_bytes(&self, member_id: &str) -> SignatifResult<Vec<u8>>
The bytes each participant signs to attest participation: ceremony type, member identity, quorum, payload hash, timestamp.
Trait Implementations§
Source§impl Clone for CeremonyTranscript
impl Clone for CeremonyTranscript
Source§fn clone(&self) -> CeremonyTranscript
fn clone(&self) -> CeremonyTranscript
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 CeremonyTranscript
impl Debug for CeremonyTranscript
Source§impl<'de> Deserialize<'de> for CeremonyTranscript
impl<'de> Deserialize<'de> for CeremonyTranscript
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 CeremonyTranscript
impl RefUnwindSafe for CeremonyTranscript
impl Send for CeremonyTranscript
impl Sync for CeremonyTranscript
impl Unpin for CeremonyTranscript
impl UnsafeUnpin for CeremonyTranscript
impl UnwindSafe for CeremonyTranscript
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