7 #ifndef NDN_SECURITY_SIGNATURE_SHA256_HPP
8 #define NDN_SECURITY_SIGNATURE_SHA256_HPP
10 #include "../data.hpp"
11 #include "../encoding/tlv.hpp"
43 throw Error(
"Incorrect signature type");
49 #endif //NDN_SECURITY_SIGNATURE_SHA256_HPP
Block nonNegativeIntegerBlock(uint32_t type, uint64_t value)
Representing of SHA256 signature in a data packet.
Class representing wire element of the NDN packet.
Error(const std::string &what)
void push_back(const Block &element)
SignatureSha256(const Signature &signature)
A Signature is storage for the signature-related information (info and value) in a Data packet...