9 #ifndef NDN_SECURITY_CERTIFICATE_SUBJECT_DESCRIPTION_HPP
10 #define NDN_SECURITY_CERTIFICATE_SUBJECT_DESCRIPTION_HPP
12 #include "../common.hpp"
13 #include "../encoding/oid.hpp"
16 class BufferedTransformation;
38 : m_oid(oid), m_value(value)
43 encode(CryptoPP::BufferedTransformation& out)
const;
46 decode(CryptoPP::BufferedTransformation& in);
67 #endif //NDN_SECURITY_CERTIFICATE_SUBJECT_DESCRIPTION_HPP
std::string toString() const
std::string getOidString() const
const std::string & getValue() const
void encode(CryptoPP::BufferedTransformation &out) const
A CertificateSubjectDescription represents the SubjectDescription entry in a Certificate.
CertificateSubjectDescription(CryptoPP::BufferedTransformation &in)
void decode(CryptoPP::BufferedTransformation &in)
CertificateSubjectDescription(const OID &oid, const std::string &value)
Create a new CertificateSubjectDescription.