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; }