Major code style change to rename all files to lower case.
diff --git a/ndn-cpp/key.cpp b/ndn-cpp/key.cpp
new file mode 100644
index 0000000..41fe8b9
--- /dev/null
+++ b/ndn-cpp/key.cpp
@@ -0,0 +1,34 @@
+/**
+ * @author: Jeff Thompson
+ * See COPYING for copyright and distribution information.
+ */
+
+#include "common.hpp"
+#include "key.hpp"
+
+using namespace std;
+
+namespace ndn {
+
+void KeyLocator::get(struct ndn_KeyLocator &keyLocatorStruct) const
+{
+ keyLocatorStruct.type = type_;
+
+ keyLocatorStruct.keyOrCertificateLength = keyOrCertificate_.size();
+ if (keyOrCertificate_.size() > 0)
+ keyLocatorStruct.keyOrCertificate = (unsigned char *)&keyOrCertificate_[0];
+ else
+ keyLocatorStruct.keyOrCertificate = 0;
+
+ // TODO: Implement keyName.
+}
+
+void KeyLocator::set(const struct ndn_KeyLocator &keyLocatorStruct)
+{
+ type_ = keyLocatorStruct.type;
+ setVector(keyOrCertificate_, keyLocatorStruct.keyOrCertificate, keyLocatorStruct.keyOrCertificateLength);
+ // TODO: Implement keyName.
+}
+
+}
+