pub struct CertificateListItemMessage {
pub hash: String,
pub previous_hash: String,
pub epoch: Epoch,
pub signed_entity_type: SignedEntityType,
pub metadata: CertificateListItemMessageMetadata,
pub protocol_message: ProtocolMessage,
pub signed_message: String,
pub aggregate_verification_key: String,
}Expand description
Message structure of a certificate list item
Fields§
§hash: StringHash of the current certificate Computed from the other fields of the certificate aka H(Cp,n))
previous_hash: StringHash of the previous certificate in the chain This is either the hash of the first certificate of the epoch in the chain Or the first certificate of the previous epoch in the chain (if the certificate is the first of its epoch) aka H(FC(n))
epoch: EpochEpoch of the Cardano chain
signed_entity_type: SignedEntityTypeThe signed entity type of the message. aka BEACON(p,n)
metadata: CertificateListItemMessageMetadataCertificate metadata aka METADATA(p,n)
protocol_message: ProtocolMessageStructured message that is used to create the signed message aka MSG(p,n) U AVK(n-1)
signed_message: StringMessage that is signed by the signers aka H(MSG(p,n) || AVK(n-1))
aggregate_verification_key: StringAggregate verification key The AVK used to sign during the current epoch aka AVK(n-2)
Trait Implementations§
Source§impl Clone for CertificateListItemMessage
impl Clone for CertificateListItemMessage
Source§fn clone(&self) -> CertificateListItemMessage
fn clone(&self) -> CertificateListItemMessage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CertificateListItemMessage
impl Debug for CertificateListItemMessage
Source§impl<'de> Deserialize<'de> for CertificateListItemMessage
impl<'de> Deserialize<'de> for CertificateListItemMessage
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>,
Source§impl Dummy for CertificateListItemMessage
impl Dummy for CertificateListItemMessage
Source§fn dummy() -> Self
fn dummy() -> Self
Return a dummy CertificateListItemMessage (test-only).
impl StructuralPartialEq for CertificateListItemMessage
Auto Trait Implementations§
impl Freeze for CertificateListItemMessage
impl RefUnwindSafe for CertificateListItemMessage
impl Send for CertificateListItemMessage
impl Sync for CertificateListItemMessage
impl Unpin for CertificateListItemMessage
impl UnwindSafe for CertificateListItemMessage
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
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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