23 #ifndef NDN_CERTIFICATE_SUBJECT_DESCRIPTION_HPP
24 #define NDN_CERTIFICATE_SUBJECT_DESCRIPTION_HPP
26 #include "../../common.hpp"
27 #include "../../encoding/oid.hpp"
44 : oid_(oid), value_(value)
54 : oid_(oid), value_(value)
62 ptr_lib::shared_ptr<DerNode>
68 return oid_.toString();
Copyright (C) 2013-2016 Regents of the University of California.
Definition: common.hpp:35
A CertificateSubjectDescription represents the SubjectDescription entry in a Certificate.
Definition: certificate-subject-description.hpp:36
CertificateSubjectDescription(OID oid, std::string value)
Create a new CertificateSubjectDescription.
Definition: certificate-subject-description.hpp:53
ptr_lib::shared_ptr< DerNode > toDer() const
Encode the object into a DER syntax tree.
Definition: certificate-subject-description.cpp:31
CertificateSubjectDescription(std::string oid, std::string value)
Create a new CertificateSubjectDescription.
Definition: certificate-subject-description.hpp:43