7 #ifndef NDN_SECURITY_SIGNATURE_SHA256_WITH_RSA_HPP
8 #define NDN_SECURITY_SIGNATURE_SHA256_WITH_RSA_HPP
10 #include "../data.hpp"
11 #include "../encoding/tlv.hpp"
44 throw Error(
"Incorrect signature type");
63 m_keyLocator = keyLocator;
75 #endif //NDN_SECURITY_SIGNATURE_SHA256_WITH_RSA_HPP
Representing of SHA256-with-RSA signature in a data packet.
Block nonNegativeIntegerBlock(uint32_t type, uint64_t value)
element_const_iterator find(uint32_t type) const
SignatureSha256WithRsa(const Signature &signature)
void wireDecode(const Block &wire)
Error(const std::string &what)
Class representing wire element of the NDN packet.
element_const_iterator elements_end() const
const KeyLocator & getKeyLocator() const
element_container::const_iterator element_const_iterator
void remove(uint32_t type)
void push_back(const Block &element)
void parse() const
Parse wire buffer into subblocks.
void setKeyLocator(const KeyLocator &keyLocator)
size_t wireEncode(EncodingImpl< T > &block) const
A Signature is storage for the signature-related information (info and value) in a Data packet...