commit | e64788e1998d648e928aa4e50517f5135dd24958 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Sun Jan 05 22:38:21 2014 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jan 09 15:14:01 2014 -0800 |
tree | b4752def2d3678e8c002f01f534511a9695d1dcb | |
parent | b695b9558346c1e88eb42eb13d5237a9f99b3b7a [diff] |
security: Continue porting security elements to the updated framework Change-Id: I682156142a8714b2756ca429903a19d2b9064e13
diff --git a/include/ndn-cpp/security/certificate/identity-certificate.hpp b/include/ndn-cpp/security/certificate/identity-certificate.hpp index 85c8e72..65b07af 100644 --- a/include/ndn-cpp/security/certificate/identity-certificate.hpp +++ b/include/ndn-cpp/security/certificate/identity-certificate.hpp
@@ -41,6 +41,9 @@ inline void wireDecode(const Block &wire); + + inline void + setName(const Name &name); inline const Name & getPublicKeyName () const; @@ -91,6 +94,13 @@ setPublicKeyName(); } +inline void +IdentityCertificate::setName(const Name &name) +{ + Certificate::setName(name); + setPublicKeyName(); +} + inline const Name & IdentityCertificate::getPublicKeyName () const {