26 #ifndef NDN_SECURITY_V1_CERTIFICATE_SUBJECT_DESCRIPTION_HPP 27 #define NDN_SECURITY_V1_CERTIFICATE_SUBJECT_DESCRIPTION_HPP 29 #include "../../common.hpp" 30 #include "../../encoding/oid.hpp" 33 class BufferedTransformation;
58 : m_oid(oid), m_value(value)
63 encode(CryptoPP::BufferedTransformation& out)
const;
66 decode(CryptoPP::BufferedTransformation& in);
71 return m_oid.toString();
88 #ifdef NDN_CXX_KEEP_SECURITY_V1_ALIASES 91 #endif // NDN_CXX_KEEP_SECURITY_V1_ALIASES 95 #endif // NDN_SECURITY_V1_CERTIFICATE_SUBJECT_DESCRIPTION_HPP Copyright (c) 2013-2017 Regents of the University of California.
const std::string & getValue() const
Copyright (c) 2013-2017 Regents of the University of California.
CertificateSubjectDescription(const Oid &oid, const std::string &value)
Create a new CertificateSubjectDescription.
A CertificateSubjectDescription represents the SubjectDescription entry in a Certificate.
std::string getOidString() const
CertificateSubjectDescription(CryptoPP::BufferedTransformation &in)