CatapultServer  v0.5.0.1 (Elephant)
catapult::model::VerifiableEntityHeader Struct Reference

Binary layout for a verifiable entity header. More...

Inheritance diagram for catapult::model::VerifiableEntityHeader:
Collaboration diagram for catapult::model::VerifiableEntityHeader:

Public Attributes

catapult::Signature Signature
 Entity signature. More...
 
- Public Attributes inherited from catapult::model::SizePrefixedEntity
uint32_t Size
 Entity size. More...
 

Static Public Attributes

static constexpr size_t Header_Size = sizeof(uint32_t) + Signature_Size + Key_Size
 Size of the VerifiableEntity part that can be skipped when signing/verifying. More...
 

Additional Inherited Members

- Public Member Functions inherited from catapult::model::SizePrefixedEntity
bool operator== (const SizePrefixedEntity &rhs) const
 Returns true if this entity is equal to rhs. More...
 
bool operator!= (const SizePrefixedEntity &rhs) const
 Returns true if this entity is not equal to rhs. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 
- Protected Member Functions inherited from catapult::model::SizePrefixedEntity
const uint8_t * ToBytePointer () const
 Returns byte-based const pointer to this entity. More...
 
uint8_t * ToBytePointer ()
 Returns byte-based pointer to this entity. More...
 
- Static Protected Member Functions inherited from catapult::model::SizePrefixedEntity
template<typename T >
static auto PayloadStart (T &entity)
 Gets the start of the variable data part of entity. More...
 

Detailed Description

Binary layout for a verifiable entity header.

Member Data Documentation

◆ Header_Size

constexpr size_t catapult::model::VerifiableEntityHeader::Header_Size = sizeof(uint32_t) + Signature_Size + Key_Size
staticconstexpr

Size of the VerifiableEntity part that can be skipped when signing/verifying.

◆ Signature

catapult::Signature catapult::model::VerifiableEntityHeader::Signature

Entity signature.


The documentation for this struct was generated from the following file: