22 #ifndef NDN_CXX_SECURITY_DETAIL_CERTIFICATE_BUNDLE_DECODER_HPP
23 #define NDN_CXX_SECURITY_DETAIL_CERTIFICATE_BUNDLE_DECODER_HPP
68 std::vector<uint8_t> m_bufferedData;
69 bool m_hasError =
false;
Represents a TLV element of the NDN packet format.
Helper class to decode a certificate bundle.
bool hasError() const noexcept
Whether the decoder has encountered an unrecoverable error.
util::Signal< CertificateBundleDecoder, Certificate > onCertDecoded
Emitted every time a certificate is successfully decoded.
void append(const Block &block)
Append a bundle segment to the internal decoding buffer and trigger decoding.
provides a lightweight signal / event system