commit | 9afac399d09fc59600db51552fb6de84a3a5d771 | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Fri Dec 20 10:42:15 2013 -0800 |
committer | Jeff Thompson <jefft0@gmail.com> | Fri Dec 20 10:42:15 2013 -0800 |
tree | 574b5755821ce9378762f1fa8ca862e63c610d92 | |
parent | 61a25ff697aaf78b043a55559afb225f41a0155b [diff] [blame] |
security: In CertificateExtension, make toDer and derDerBlob const. Refs #1091.
diff --git a/include/ndn-cpp/security/certificate/certificate-extension.hpp b/include/ndn-cpp/security/certificate/certificate-extension.hpp index c67434d..b47b880 100644 --- a/include/ndn-cpp/security/certificate/certificate-extension.hpp +++ b/include/ndn-cpp/security/certificate/certificate-extension.hpp
@@ -56,10 +56,10 @@ * @return the encoded DER syntax tree */ ptr_lib::shared_ptr<der::DerNode> - toDer(); + toDer() const; Blob - toDerBlob(); + toDerBlob() const; inline const OID& getOid() const { return extensionId_; }