Helper class to decode a certificate bundle. More...
#include <ndn-cxx/security/detail/certificate-bundle-decoder.hpp>
Public Member Functions | |
void | append (const Block &block) |
Append a bundle segment to the internal decoding buffer and trigger decoding. More... | |
bool | hasError () const noexcept |
Whether the decoder has encountered an unrecoverable error. More... | |
Public Attributes | |
util::Signal< CertificateBundleDecoder, Certificate > | onCertDecoded |
Emitted every time a certificate is successfully decoded. More... | |
Helper class to decode a certificate bundle.
Definition at line 34 of file certificate-bundle-decoder.hpp.
void ndn::security::detail::CertificateBundleDecoder::append | ( | const Block & | block | ) |
Append a bundle segment to the internal decoding buffer and trigger decoding.
block | Content element of the segment to be appended |
tlv::Error | When the decoder encounters an unrecognized element with critical type. No longer accepts segments after throwing. |
Definition at line 30 of file certificate-bundle-decoder.cpp.
|
inlinenoexcept |
Whether the decoder has encountered an unrecoverable error.
Definition at line 52 of file certificate-bundle-decoder.hpp.
util::Signal<CertificateBundleDecoder, Certificate> ndn::security::detail::CertificateBundleDecoder::onCertDecoded |
Emitted every time a certificate is successfully decoded.
Definition at line 61 of file certificate-bundle-decoder.hpp.