9 #ifndef NDN_SECURITY_CERTIFICATE_EXTENSION_HPP 
   10 #define NDN_SECURITY_CERTIFICATE_EXTENSION_HPP 
   12 #include "../common.hpp" 
   13 #include "../encoding/buffer.hpp" 
   14 #include "../encoding/oid.hpp" 
   17 class BufferedTransformation;
 
   28   class Error : 
public std::runtime_error
 
   33       : std::runtime_error(what)
 
   55                        const uint8_t* value, 
size_t valueSize)
 
   69   encode(CryptoPP::BufferedTransformation& out) 
const;
 
   72   decode(CryptoPP::BufferedTransformation& in);
 
  100 #endif //NDN_SECURITY_CERTIFICATE_EXTENSION_HPP 
void decode(CryptoPP::BufferedTransformation &in)
CertificateExtension(CryptoPP::BufferedTransformation &in)
CertificateExtension(const OID &oid, const bool isCritical, const Buffer &value)
Create a new CertificateExtension. 
CertificateExtension(const OID &oid, const bool isCritical, const uint8_t *value, size_t valueSize)
const Buffer & getValue() const 
Error(const std::string &what)
const bool getIsCritical() const 
void encode(CryptoPP::BufferedTransformation &out) const 
virtual ~CertificateExtension()
The virtual destructor. 
A CertificateExtension represents the Extension entry in a certificate. 
Class representing a general-use automatically managed/resized buffer. 
const OID & getOid() const