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 | |
signal::Signal< CertificateBundleDecoder, Certificate > | onCertDecoded |
Emitted every time a certificate is successfully decoded. More... | |
Helper class to decode a certificate bundle.
Definition at line 33 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 28 of file certificate-bundle-decoder.cpp.
|
inlinenoexcept |
Whether the decoder has encountered an unrecoverable error.
Definition at line 51 of file certificate-bundle-decoder.hpp.
signal::Signal<CertificateBundleDecoder, Certificate> ndn::security::detail::CertificateBundleDecoder::onCertDecoded |
Emitted every time a certificate is successfully decoded.
Definition at line 60 of file certificate-bundle-decoder.hpp.