commit | 35a2bc15accda7ce799afded1ad1bfe4f5976cfd | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Tue Sep 17 14:23:13 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Tue Sep 17 14:23:13 2013 -0700 |
tree | 8561e61fea3002e7c5cbb06c9fc7c5120b52436c | |
parent | 3776d1c74bb3312e2001811ace93523ab0ff9f68 [diff] [blame] |
security: Added setKeyName
diff --git a/ndn-cpp/key.hpp b/ndn-cpp/key.hpp index 8215905..b918d99 100644 --- a/ndn-cpp/key.hpp +++ b/ndn-cpp/key.hpp
@@ -81,6 +81,8 @@ void setKeyData(const ptr_lib::shared_ptr<std::vector<unsigned char> > &keyData) { keyData_ = keyData; } + void setKeyName(const Name &keyName) { keyName_ = keyName; } + void setKeyNameType(ndn_KeyNameType keyNameType) { keyNameType_ = keyNameType; }