Type Alias massa_models::endorsement::SecureShareEndorsement
source · pub type SecureShareEndorsement = SecureShare<Endorsement, EndorsementId>;Expand description
Wrapped endorsement
Aliased Type§
struct SecureShareEndorsement {
pub content: Endorsement,
pub serialized_data: Vec<u8>,
pub signature: Signature,
pub content_creator_pub_key: PublicKey,
pub content_creator_address: Address,
pub id: EndorsementId,
}Fields§
§content: EndorsementReference contents. Not required for the security protocols.
Use the Lightweight equivalent structures when you need verifiable serialized data, but do not need to read the values directly (such as when sending)
serialized_data: Vec<u8>Content in sharable, deserializable form. Is used in the secure verification protocols.
signature: SignatureA cryptographically generated value using serialized_data and a public key.
content_creator_pub_key: PublicKeyThe public-key component used in the generation of the signature
content_creator_address: AddressDerived from the same public key used to generate the signature
id: EndorsementIdA secure hash of the data. See also massa_hash::Hash