CatapultServer
v0.5.0.1 (Elephant)
|
Notifies the presence of a signature. More...
Public Types | |
enum | ReplayProtectionMode { ReplayProtectionMode::Enabled, ReplayProtectionMode::Disabled } |
Replay protection modes. More... | |
Public Member Functions | |
SignatureNotification (const Key &signer, const Signature &signature, const RawBuffer &data, ReplayProtectionMode dataReplayProtectionMode=ReplayProtectionMode::Disabled) | |
Public Member Functions inherited from catapult::model::Notification | |
Notification (NotificationType type, size_t size) | |
Creates a new notification with type and size. More... | |
Public Attributes | |
const Key & | Signer |
Signer. More... | |
const catapult::Signature & | Signature |
Signature. More... | |
RawBuffer | Data |
Signed data. More... | |
ReplayProtectionMode | DataReplayProtectionMode |
Replay protection mode applied to data. More... | |
Public Attributes inherited from catapult::model::Notification | |
NotificationType | Type |
Notification type. More... | |
size_t | Size |
Notification size. More... | |
Static Public Attributes | |
static constexpr auto | Notification_Type = Core_Signature_Notification |
Matching notification type. More... | |
Notifies the presence of a signature.
|
inline |
Creates a signature notification around signer, signature and data with optional replay protection mode (dataReplayProtectionMode) applied to data.
RawBuffer catapult::model::SignatureNotification::Data |
Signed data.
ReplayProtectionMode catapult::model::SignatureNotification::DataReplayProtectionMode |
Replay protection mode applied to data.
|
staticconstexpr |
Matching notification type.
const catapult::Signature& catapult::model::SignatureNotification::Signature |
Signature.
const Key& catapult::model::SignatureNotification::Signer |
Signer.