commit | 61a25ff697aaf78b043a55559afb225f41a0155b | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Fri Dec 20 10:40:04 2013 -0800 |
committer | Jeff Thompson <jefft0@gmail.com> | Fri Dec 20 10:40:04 2013 -0800 |
tree | d79708eb4667db8dfe6aecc93d3a7bb73cb4b7fc | |
parent | 6c729a23d26fecbc96c73c79a1dbbb5fe0fd1e1f [diff] |
security: In CertificateSubjectDescription, make toDer and getOidString const. Refs #1091.
diff --git a/include/ndn-cpp/security/certificate/certificate-subject-description.hpp b/include/ndn-cpp/security/certificate/certificate-subject-description.hpp index 90ff7fe..30af6bf 100644 --- a/include/ndn-cpp/security/certificate/certificate-subject-description.hpp +++ b/include/ndn-cpp/security/certificate/certificate-subject-description.hpp
@@ -46,10 +46,10 @@ * @return The encoded DER syntax tree. */ ptr_lib::shared_ptr<der::DerNode> - toDer(); + toDer() const; std::string - getOidString() + getOidString() const { return oid_.toString(); }