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